CN116456224A - Data stream transmission method, optical communication system and related device - Google Patents

Data stream transmission method, optical communication system and related device Download PDF

Info

Publication number
CN116456224A
CN116456224A CN202210009362.1A CN202210009362A CN116456224A CN 116456224 A CN116456224 A CN 116456224A CN 202210009362 A CN202210009362 A CN 202210009362A CN 116456224 A CN116456224 A CN 116456224A
Authority
CN
China
Prior art keywords
data stream
optical communication
communication device
transmission frame
bandwidth
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
CN202210009362.1A
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 CN202210009362.1A priority Critical patent/CN116456224A/en
Priority to PCT/CN2023/070247 priority patent/WO2023131138A1/en
Publication of CN116456224A publication Critical patent/CN116456224A/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
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/03Arrangements for fault recovery
    • H04B10/032Arrangements for fault recovery using working and protection systems
    • 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
    • H04Q2011/0081Fault tolerance; Redundancy; Recovery; Reconfigurability

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The embodiment of the invention discloses a data stream transmission method, an optical communication system and a related device. The method is used for improving the utilization rate of bandwidth resources and hardware resources in the backup data transmission process. The method comprises the following steps: first, a first device acquires a first data stream. Second, the first device receives a second data stream from the second device. The second data stream is a backup of at least part of the data stream carried by the first transmission frame sent by the second device. Again, the first device transmits a second transmission frame to the optical communication device. The second transport frame is for carrying the first data stream and the second data stream.

Description

Data stream transmission method, optical communication system and related device
Technical Field
The present disclosure relates to the field of optical communications technologies, and in particular, to a data stream transmission method, an optical communications system, and a related device.
Background
In an optical communication system, a convergence device is connected to a plurality of terminal devices. The convergence device and the terminal device comprise a main transmission path and a standby transmission path. The data transmitted by the primary transmission path and the backup transmission path are the same. Under the condition that the main transmission path is normal, the aggregation device and the terminal device process the data from the main transmission path. However, if the primary transmission path fails, the sink device and the terminal device process the data from the backup transmission path.
The backup transmission path is used only for backing up the data transmitted by the primary transmission path. The alternate transmission path occupies an independent bandwidth resource and an independent hardware resource. And in the normal state of the main transmission path, the bandwidth resources occupied by the standby transmission path and the hardware resources are in an idle state. It can be seen that doing so wastes resources, making bandwidth resources and hardware resources less available.
Disclosure of Invention
The embodiment of the application provides a data stream transmission method, an optical communication system and a related device. The method is used for improving the utilization rate of bandwidth resources and hardware resources in the backup data transmission process.
The first aspect of the embodiment of the invention provides a data stream transmission method. The method comprises the following steps: first, a first device acquires a first data stream. Second, the first device receives a second data stream from the second device. The second data stream is a backup of at least a portion of the data stream carried by the first transmission frame sent by the second device. Again, the first device transmits a second transmission frame to the optical communication device. The second transport frame is for carrying the first data stream and the second data stream.
In this aspect, the hardware resources for transmitting the second data stream for backup are multiplexed with the hardware resources for transmitting the first data stream. The utilization rate of the hardware resources of the first device is improved. And a link between the first device and the first optical communication device is used not only for transmitting the second data stream for backup but also for transmitting the first data stream. The utilization rate of bandwidth resources is improved.
Based on the first aspect, in an optional implementation manner, after the first device acquires the first data stream, the method further includes: the first device transmits a third data stream to the second device. The third data stream is a backup of the first data stream. In the implementation manner, the mutual backup between the first device and the second device can be realized. The backup efficiency is improved.
Based on the first aspect, in an optional implementation manner, before the first device sends the third data stream to the second device, the method further includes: the first device obtains a plurality of data streams. The first device determines a first data stream from the plurality of data streams based on the backup identification. The first device replicates the first data stream to obtain a third data stream. In this implementation manner, the first device can backup a part of the data streams in the plurality of data streams based on the backup identifier. The backup efficiency is effectively improved.
Based on the first aspect, in an optional implementation manner, before the first device receives the second data stream from the second device, the method further includes: the first device establishes a connection with the second device. The first device sends a first negotiation message to the second device over the connection. The first device receives a second negotiation message from the second device over the connection. The first negotiation message and the second negotiation message are used to negotiate that the first device and the second device transmit data streams over the connection. The data stream is used for backup. In this implementation, based on the connection, the first device and the second device can interact with a data stream for backup, so as to realize backup of the data stream.
Based on the first aspect, in an optional implementation manner, the first device is a terminal device. The first device transmits a second transmission frame to the optical communication device, the method further comprising: the first device sends a bandwidth request message to the optical communication device. The bandwidth request message is used to request acquisition of a transmission bandwidth. The transmission bandwidth is used for transmitting the first data stream and the second data stream. The first device receives a bandwidth allocation message from the optical communication device. The bandwidth allocation message is used to indicate the transmission bandwidth. In this implementation, the first device may be capable of transmitting the second transmission frame according to a bandwidth allocation message from the optical communication device. The first device is effectively ensured to successfully send the second data stream for backup to the optical communication device.
Based on the first aspect, in an optional implementation manner, the bandwidth allocation message is used to indicate a position of the first data stream in the transmission bandwidth. The bandwidth allocation message is also used to indicate a location of the second data stream in the transmission bandwidth. This ensures that the optical communication device is able to accurately distinguish between the first data stream and the second data stream in the second transmission frame.
Based on the first aspect, in an optional implementation manner, the first device is a convergence device. The first device transmits a bandwidth allocation message to the optical communication device. The bandwidth allocation message is used to indicate a location of the first data stream in the transmission bandwidth. The bandwidth allocation message is also used to indicate a location of the second data stream in the transmission bandwidth. In the implementation manner, the first device is effectively ensured to successfully send the second data stream for backup to the optical communication device.
The second aspect of the embodiment of the invention provides a data stream transmission method. The method comprises the following steps: first, the first optical communication apparatus receives a second transmission frame from the first apparatus. The first optical communication device acquires a first data stream and a second data stream carried by the second transmission frame. The first data stream is from the first device. The second data stream is a backup of at least a portion of the data stream carried by the first transmission frame sent by the second device. The first optical communication device transmits the second data stream to a second optical communication device. For a description of the execution flow and the beneficial effects in this aspect, please refer to the first aspect, and detailed description is omitted.
Based on the second aspect, in an optional implementation manner, the method further includes: the first optical communication device receives a third data stream from the second optical communication device. The third data stream is a backup of the first data stream. The first optical communication device processes the first data stream or the third data stream.
Based on the second aspect, in an optional implementation manner, the processing, by the first optical communication device, the first data stream or the third data stream includes: the first optical communication device obtains a first error rate of the first data stream. The first optical communication device obtains a second error rate of the third data stream. If the first error rate is greater than the second error rate, the first optical communication device processes the third data stream. If the first error rate is less than or equal to the second error rate. The first optical communication device processes the first data stream. In the implementation manner, the first optical communication device determines the processed data stream based on the bit error rate, so that the success rate of acquiring the service borne by the processor is improved.
In an optional implementation manner, the first optical communication apparatus is a convergence device. The method further comprises, before the first optical communication device receives the second transmission frame from the first device: the first optical communication device receives a bandwidth request message from the first device. The bandwidth request message is used to request acquisition of a transmission bandwidth. The transmission bandwidth is used for transmitting the first data stream and the second data stream. The first optical communication device transmits a bandwidth allocation message to the first device. The bandwidth allocation message is used to indicate the transmission bandwidth.
Based on the second aspect, in an optional implementation manner, the bandwidth allocation message is used to indicate a position of the first data stream in the transmission bandwidth. The bandwidth allocation message is also used to indicate a location of the second data stream in the transmission bandwidth.
Based on the second aspect, in an optional implementation manner, the acquiring, by the first optical communication device, the first data stream and the second data stream carried by the second transmission frame includes: the first optical communication device obtains the first data stream and the second data stream from the second transmission frame according to the bandwidth allocation message.
Based on the second aspect, in an optional implementation manner, the first optical communication apparatus is a terminal device. Before the first optical communication device obtains the first data stream and the second data stream carried by the second transmission frame, the method further includes: the first optical communication device receives a bandwidth allocation message from the first device. The bandwidth allocation message is used to indicate a location of the first data stream in the transmission bandwidth. The bandwidth allocation message is also used to indicate a location of the second data stream in the transmission bandwidth.
A third aspect of the embodiment of the present invention provides a data stream transmission method. The method is applied to an optical communication system. The optical communication system includes a first optical communication device, a second optical communication device, a first device, and a second device. The first optical communication device is connected to the second optical communication device and the first optical communication device, respectively. The first device is connected with the second device. For a description of the data stream transmission method procedure and advantageous effects performed by the optical communication system shown in this aspect, please refer to the first to second aspects.
In a fourth aspect, an apparatus is provided. The device comprises: a processor and a transceiver. The processor and the transceiver are interconnected by a wire. The processor is configured to obtain a first data stream. The transceiver is used for: a second data stream is received from a second device. The second data stream is a backup of at least a portion of the data stream carried by the first transmission frame sent by the second device. The transceiver is also configured to transmit a second transmission frame to the optical communication device. The second transport frame is for carrying the first data stream and the second data stream. The description of the data stream transmission method and the beneficial effects performed by the apparatus shown in this aspect is shown in the first aspect, and will not be repeated.
A fifth aspect of an embodiment of the present invention provides an optical communication apparatus. An optical communication device includes: a processor and a transceiver. The processor and the transceiver are interconnected by a wire. The transceiver receives a second transmission frame from the first device. The processor is used for acquiring a first data stream and a second data stream carried by the second transmission frame. The first data stream is from a first device. The second data stream is a backup of at least a portion of the data stream carried by the first transmission frame sent by the second device. The transceiver is also configured to transmit a second data stream to a second optical communication device. The optical communication device shown in the present aspect is used for executing a transmission method of a data stream, and a specific execution process and description of beneficial effects are shown in the first aspect, which is not repeated.
A sixth aspect of an embodiment of the present invention provides an optical communication system. The optical communication system includes a first optical communication device, a second optical communication device, a first device, and a second device. The optical communication system shown in this aspect performs the execution of the data stream transmission method and the explanation of the advantageous effects, please refer to the third aspect.
Drawings
Fig. 1 is a diagram illustrating a structure of an optical communication system provided in the present application;
Fig. 2 is a diagram illustrating a structure of a first optical communication system according to an embodiment of the present application;
fig. 3 is a flowchart illustrating steps of a first data stream transmission method according to an embodiment of the present application;
fig. 4 is a flowchart illustrating steps of a second method for transmitting a data stream according to an embodiment of the present application;
fig. 5 is a diagram illustrating a structure of a second optical communication system according to an embodiment of the present application;
fig. 6 is a flowchart illustrating steps of a third method for transmitting a data stream according to an embodiment of the present application;
fig. 7 is a flowchart illustrating steps of a fourth method for transmitting a data stream according to an embodiment of the present application;
fig. 8 is a diagram illustrating a structure of a communication device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to fall within the scope of the invention.
Fig. 1 is a diagram illustrating a structure of an optical communication system provided in the present application. The optical communication system includes at least one aggregation device. Fig. 1 illustrates an example in which an optical communication system includes two aggregation devices. The optical communication system further includes a plurality of terminal devices. An optical communication system is exemplified as a passive optical network (passive optical network, PON). Then, the convergence device 101 and the convergence device 102 are optical line terminals (optical line terminal, OLT), respectively. The terminal device 130 is an optical network unit (optical network unit, ONU). The convergence device 101 shown in fig. 1 is connected to at least one terminal device 130 through an optical distribution network (optical distribution network, ODN) 111. The convergence device 102 is connected to at least one terminal device 130 through the ODN 112. In the case of the sink device 101, the transmission direction of the optical signal from the sink device 101 to the terminal device 130 is referred to as a downlink direction. The direction in which the optical signals are transmitted from the terminal device 130 to the sink device 101 is referred to as the upstream direction.
Fig. 1 illustrates an example of an ODN connection between a convergence device and a terminal device. When the optical communication system is of other network types, the convergence device and the terminal device may be directly connected or connected through a point-to-multipoint optical splitting device or another convergence device, which is not particularly limited. The specific type of optical communication system is not limited in this application. So long as the aggregation device 101 is capable of data interaction with a plurality of terminal devices 130. For example, in other examples, the network type of the optical communication system may also be an industrial optical network, a data center network, a wavelength division multiplexing network, or an optical transport network (optical transport network, OTN), or the like.
Based on the optical communication system shown in fig. 1, the embodiment of the application provides a method for sending an uplink data stream to a convergence device by a terminal device. First, each execution body according to the present embodiment will be described with reference to fig. 2. Fig. 2 is a schematic diagram of a first optical communication system according to an embodiment of the present application. The first optical communication apparatus 201 and the second optical communication apparatus 202 shown in fig. 2 may be any examples as shown below.
Example 1, the first optical communication apparatus 201 and the second optical communication apparatus 202 may be two different convergence devices shown in fig. 1. The first optical communication apparatus 201 and the second optical communication apparatus 202 of this example may be connected by a network cable or wireless. Example 2 the first optical communication device 201 and the second optical communication device 202 may also be two different circuit boards within the same convergence device shown in fig. 1. The first optical communication device 201 and the second optical communication device 202 of this example may be connected by wiring of two circuit boards. Example 3, the first optical communication apparatus 201 and the second optical communication apparatus 202 may be the same circuit board within the same convergence device. The first optical communication device 201 and the second optical communication device 202 on the same circuit board respectively perform data interaction with the terminal equipment based on different optical transmission channels. The first optical communication device 201 and the second optical communication device 202 may be connected by a trace of the circuit board.
The first means 203 and the second means 204 shown in fig. 2 may be two different terminal devices shown in fig. 1, two different circuit boards within the same terminal device, or the same circuit board within the same terminal device. For a specific description, please refer to the descriptions of the first optical communication device 201 and the second optical communication device 202, and detailed descriptions thereof are omitted.
Fig. 3 is a flowchart illustrating steps of a first data stream transmission method according to an embodiment of the present application. The description of each execution body shown in fig. 3 is shown in fig. 2, and details thereof will not be described in detail. In this embodiment, the first optical communication device and the second optical communication device are two different aggregation devices.
Step 301, a first device and a second device create a first connection.
To achieve backup of upstream data, a first connection needs to be created between a first device and a second device. The first connection is an electrical domain path connected between the first device and the second device. The electrical domain channel is used to transmit electrical signals between the first device and the second device. For example, the first connection is a network cable connected between the first device and the second device. As another example, the first connection is a wireless channel connected between a wireless module of the first device and a wireless module of the second device. The wireless channel may be based on wireless fidelity technology (wireless fidelity, wi-Fi), bluetooth technology, narrowband internet of things (narrow band internet of things, NB-IoT), zigbee (Zigbee), ultra Wideband (UWB), radio frequency identification (radio frequency identification, RFID), or near field communication (near field communication, NFC), among others.
If the first connection is a network cable connected between the first device and the second device, the first device may send probe information to the network cable. The probe information is transmitted to the second device via the network cable. The second device sends a response message to the first device according to the probe information. The first device determines from the response message that the first device and the second device have been connected by the network cable.
Step 302, the first device sends a first negotiation message to the second device over the first connection.
Step 303, the second device sends a second negotiation message to the first device via the first connection.
The execution timing between steps 302-303 is not limited in this embodiment. The first device and the second device negotiate upstream backups sent by the first device for the second device by means of interactive negotiation messages. The first negotiation message carries an address of the first device, an address of the first optical communication device and an address of the second optical communication device. The second negotiation message carries an address of the second device, the first backup bandwidth and an address of the second optical communication device. The address of the first device, the address of the second device, the address of the first optical communication device and the address of the second optical communication device are all media access control (media access control, MAC) addresses. The first backup bandwidth is the bandwidth of the upstream data stream from the second device that needs to be backed up. Optionally, if the second device determines that the upstream from the network node is a data stream that needs to be backed up, the second device obtains the address of the network node. The second negotiation message sent by the second device to the first device carries the address of the network node.
In the event that the second device successfully sent the second negotiation message to the first device and received the first negotiation message from the first device, the second device determines that the first device is capable of backing up the upstream sent by the second device. In the event that the first device successfully sent the first negotiation message to the second device and received the second negotiation message from the second device, the first device determines that the first device is capable of backing up the upstream sent by the second device.
Steps 301 to 303 in this embodiment are optional steps, and are not limited. In other examples, it may also be determined between the first device and the second device that the first device is capable of backing up the upstream sent by the second device according to the indication of the network management device.
Step 304, the first device sends a first bandwidth request message to the first optical communication device.
The first bandwidth request message carries an address of the first device, a bandwidth of the first upstream, a first backup bandwidth, and an address of the second optical communication device. The first upstream is a data stream that the first device needs to send to the first optical communication device. The first bandwidth request message is for requesting a first transmission bandwidth. The first transmission bandwidth is used for transmitting a second uplink transmission frame from the first device. The second uplink transmission frame is used for bearing the first uplink data stream and the uplink data stream which is from the second device and needs to be backed up.
Step 305, the second device sends a second bandwidth request message to the second optical communication device.
The second bandwidth request message carries an address of the second device, the request bandwidth and the address of the first optical communication device. The request bandwidth is a bandwidth of an upstream data stream transmitted from the first device to the first optical communication device. The second bandwidth request message is for requesting a second transmission bandwidth. The second transmission bandwidth is used for transmitting the first uplink transmission frame from the second device.
Step 306, the first optical communication device sends a first bandwidth allocation message to the first device.
Step 307, the second optical communication device sends a second bandwidth allocation message to the second device.
The first optical communication device and the second optical communication device negotiate with each other as to whether the first device is allowed to back up the upstream data stream transmitted by the second device. For example, the first optical communication apparatus determines, according to the first backup bandwidth carried by the first bandwidth request message, that bandwidth resources of the first optical communication apparatus can be allocated for the second upstream. The first optical communication apparatus transmits a first backup instruction message to the second optical communication apparatus. The second optical communication apparatus transmits a second backup instruction message to the first optical communication apparatus. The second backup indication message is used for indicating that the first device is allowed to backup the upstream data stream sent by the second device. The first optical communication device and the second optical communication device determine that the first device is an uplink data stream backup sent by the second device according to the first backup indication message and the second backup indication message respectively.
The first bandwidth allocation message is used to indicate a first transmission bandwidth. The first device transmits a second uplink transmission frame to the first optical communication device over the first transmission bandwidth. The second bandwidth allocation message is used to indicate a second transmission bandwidth. The second device transmits the first uplink transmission frame to the second optical communication device through the second transmission bandwidth. The first bandwidth allocation message and the second bandwidth allocation message are further used for indicating that the first device is allowed to backup the upstream data stream sent by the second device.
Steps 304-307 of this embodiment are shown as optional examples, not limited, as long as the first device can determine the first transmission bandwidth and the second device can determine the second transmission bandwidth.
Step 308, the first device obtains a first upstream.
The first device receives a first upstream from a network node. The network node may be a switch, a router, a broadband remote access server (broadband remote access server, BRAS), a broadband network gateway (broadband network gateway, BNG) or an internetworking protocol (internet protocol, IP) node, etc., without limitation in particular. The first device is capable of transmitting the first upstream to the first optical communication device.
Step 309, the second device obtains a fourth upstream.
The second device determines a fourth upstream to be backed up. Specifically, the second device receives N upstream data streams. The second device determines that each uplink data stream in the N uplink data streams is an uplink data stream needing backup. As another example, the second device may determine that the fourth upstream data stream is a high priority data stream of the N upstream data streams. The N is any positive integer greater than 1. Specifically, the second device determines the fourth upstream from the N upstream according to the backup identifier. For example, the second device determines that, of the N upstream, the upstream carrying the backup identifier is the fourth upstream with high priority. The fourth upstream with high priority may be an upstream with an error rate lower than a threshold. As another example, the fourth uplink data stream with high priority may also be an uplink data stream carrying a service that cannot be retransmitted, which is not limited in this embodiment. As another example, the backup identification may also be a port number of the second device. The second device determines the data stream input from the port with the backup identification as a fourth upstream data stream that needs to be backed up.
Step 310, the second device sends a second upstream to the first device.
The second device determines that the first device is capable of backing up a fourth upstream of the second device based on a second bandwidth allocation message from the second optical communication device. For this reason, after the second device obtains the fourth upstream that needs to be backed up, the second device copies the fourth upstream to obtain the second upstream. The second device is capable of transmitting the second upstream to the first device based on the created first connection.
The second upstream data stream sent by the second device to the first device may be several possibilities as follows. Possibly 1, the second device determines a fourth upstream from the N upstream. The second device directly replicates the fourth upstream to obtain the second upstream. Possibly 2, the second device encodes the fourth upstream to obtain an encoded fourth upstream. The second device copies the encoded fourth upstream to obtain the second upstream. In this manner, the second upstream received by the first device is the encoded upstream. Possibly 3, the second device encodes the fourth upstream to obtain an encoded fourth upstream. Then, the second device maps the encoded fourth uplink data stream to the second uplink transmission frame. For example, as shown in fig. 2, the second device maps the encoded fourth uplink data stream into the first uplink transmission frame 222. The second device duplicates the first uplink transmission frame 222 to obtain the second uplink transmission frame 212. In this manner, the first device receives the second uplink transmission frame 212 carrying the second uplink data stream. The description of the second upstream data stream sent by the second device in this embodiment is an optional example, and is not limited. As long as the second device transmits the second upstream to the first device, the first device can continue to process the second upstream until it is transmitted to the first optical communication device.
Step 311, the second device transmits the first uplink transmission frame to the second optical communication device.
The second device in this embodiment sends the first uplink transmission frame to the second optical communication device according to the second bandwidth allocation message. The first uplink transmission frame is used for bearing a fourth uplink data stream and a fifth uplink data stream. The fifth upstream is a data stream that does not need backup. The frame type of the first uplink transmission frame may be a gigabit-capable passive optical network encapsulation mode (GPON encapsulation mode, GEM) frame or a transmission container (transmission container, T-CONT). The description of the frame type of the first uplink transmission frame in this embodiment is an optional example, and is not limited.
The second bandwidth allocation message sent by the second optical communication apparatus to the second apparatus may be used to indicate a location of the fourth upstream in the second transmission bandwidth. The second bandwidth allocation message is further used to indicate a location of the fifth upstream in the second transmission bandwidth.
For example, the second bandwidth allocation message is used to indicate a first time slot and a second time slot. The first time slot is a time slot occupied by a first uplink transmission frame for carrying a fourth uplink data stream in the second transmission bandwidth. The second time slot is a time slot occupied by the first uplink transmission frame for carrying the fifth uplink data stream in the second transmission bandwidth. As another example, the second bandwidth allocation message is used to indicate the first frequency band and the second frequency band. The first frequency band is a frequency band occupied by a first uplink transmission frame carrying a fourth uplink data stream in the second transmission bandwidth. The second frequency band is the frequency band occupied by the first uplink transmission frame carrying the fifth uplink data stream in the second transmission bandwidth. As another example, the second bandwidth allocation message is used to indicate a first frame number and a second frame number. The first frame number is the frame number of the first uplink transmission frame carrying the fourth uplink data stream in the plurality of first uplink transmission frames. The second frame number is the frame number of the first uplink transmission frame carrying the fifth uplink data stream among the plurality of first uplink transmission frames. As another example, the second bandwidth allocation message is used to indicate the first codeword and the second codeword. The first codeword is a codeword occupied by a first uplink transmission frame for carrying a fourth uplink data stream in the second transmission bandwidth. The second codeword is a codeword occupied by the first uplink transmission frame for carrying the fifth uplink data stream in the second transmission bandwidth.
In connection with the example shown in fig. 2, the plurality of first uplink transmission frames transmitted by the second device to the second optical communication device include a first uplink transmission frame 221 for carrying a fourth uplink data stream and a first uplink transmission frame 222 for carrying a fifth uplink data stream. Fig. 2 illustrates an example in which positions between the plurality of first uplink transmission frames 221 are continuous and positions between the plurality of first uplink transmission frames 222 are continuous. In other examples, the positions of the first uplink transmission frame 221 and the first uplink transmission frame 222 may be arranged at intervals, which is not limited in particular.
Step 312, the first device transmits the second uplink transmission frame to the first optical communication device.
The first device in this embodiment sends the second uplink transmission frame to the first optical communication device according to the first bandwidth allocation message. The second uplink transmission frame is used for bearing the first uplink data stream and the second uplink data stream. In connection with the example shown in fig. 2, the plurality of second uplink transmission frames transmitted by the first device to the first optical communication device include a second uplink transmission frame 211 for carrying the first uplink data stream and a second uplink transmission frame 212 for carrying the second uplink data stream. For the description of the second uplink transmission frame 211 and the second uplink transmission frame 212, please refer to the description of the first uplink transmission frame 221 and the first uplink transmission frame 222, and detailed descriptions thereof are omitted.
The first device acquires a second uplink transmission frame 211 for carrying the first uplink data stream, and the first device may sequentially encode, map, and electro-optically convert the first uplink data stream. For a description of encoding and mapping the first upstream, please refer to a description of encoding and mapping the fourth upstream shown in step 310, which is not repeated.
Step 313, the first optical communication apparatus transmits a second upstream to the second optical communication apparatus.
The first optical communication apparatus shown in this embodiment can acquire the address of the second optical communication apparatus by the first bandwidth request message from the first apparatus. The first optical communication apparatus transmits the second upstream data stream to the second optical communication apparatus according to the address of the second optical communication apparatus. Referring to fig. 2, the first optical communication apparatus identifies, in the first transmission bandwidth, a second uplink transmission frame 211 carrying the first uplink data stream according to the first bandwidth allocation message. The first optical communication apparatus is further capable of identifying, in the first transmission bandwidth, a second uplink transmission frame 212 carrying a second uplink data stream according to the first bandwidth allocation message.
The first optical communication device can process a second uplink transmission frame carrying the first uplink data stream to obtain a service carried by the first uplink data stream. As shown in fig. 2, the first optical communication apparatus performs photoelectric conversion, decapsulation, and decoding processing on the second uplink transmission frame 211 in sequence, so as to obtain a service carried by the first uplink data stream. The first optical communication apparatus performs photoelectric conversion, decapsulation and decoding processing on the second uplink transmission frame 212 in order to obtain a second uplink data stream carried by the second uplink transmission frame 212. It should be noted that, in this example, the first optical communication apparatus transmits the decoded second upstream to the second optical communication apparatus. In other examples, the first optical communication device may send the second upstream transmission frame 212 directly to the second optical communication device. The first optical communication apparatus may further send the second upstream data after the photoelectric conversion or after the decapsulation to the second optical communication apparatus, which is not specifically limited.
The first optical communication device transmits a second upstream data stream to the second optical communication device over the created second connection. The second connection shown in this embodiment is an electrical domain path connected between the first optical communication device and the second optical communication device. For a description of creating the second connection between the first optical communication device and the second optical communication device, please refer to a description of creating the first connection between the first device and the second device in step 301, which is not described in detail. The present embodiment is exemplified by the first optical communication apparatus transmitting the second upstream data stream to the second optical communication apparatus based on the electrical domain channel. In other examples, the first optical communication device identifies a second upstream transmission frame that already carries a second upstream data stream. The first optical communication apparatus directly transmits a second uplink transmission frame in an optical signal state to the second optical communication apparatus. And performing photoelectric conversion, decapsulation and decoding processing on the received second uplink transmission frame by the second optical communication device to obtain a second uplink data stream.
Step 314, the second optical communication apparatus processes the first target upstream.
The first target upstream shown in this embodiment is the second upstream or the fourth upstream. The second optical communication device obtains the fourth uplink data stream according to the received first uplink transmission frame. In the process of the second optical communication apparatus obtaining the fourth upstream, please refer to the process of the first optical communication apparatus obtaining the first upstream shown in step 313, which is not described in detail. Several alternative scenarios for determining the first target upstream by the second optical communication device are described below.
Case 1, at least one of the optical path between the first device and the first optical communication device or the second connection between the first optical communication device and the second optical communication device shown in the present case fails. In this case, the second upstream from the first device cannot be successfully transmitted to the second optical communication device via the first optical communication device. And the optical path between the second device and the second optical communication device shown in this case is normal. It is known that the fourth upstream data stream from the second device can be successfully transmitted to the second optical communication device. In the case that the second optical communication apparatus has successfully received the fourth upstream data stream but not the second upstream data stream, the second optical communication apparatus determines that the first target upstream data stream is the second upstream data stream. The second optical communication device processes the second uplink data stream to obtain the service carried by the second uplink data stream.
Case 2, the optical path between the second device and the second optical communication device shown in this case fails. It can be seen that in this case, the fourth upstream from the second device cannot be successfully transmitted to the second optical communication device. The optical path between the first device and the first optical communication device shown in this case is normal, and the second connection between the first optical communication device and the second optical communication device is also normal. Then, the second upstream data stream from the first device can be successfully transmitted to the second optical communication device via the first optical communication device. And when the second optical communication device successfully receives the second uplink data stream and does not receive the fourth uplink data stream, the second optical communication device determines that the first target uplink data stream is the fourth uplink data stream. The second optical communication device processes the fourth uplink data stream to obtain the service carried by the fourth uplink data stream.
In case 3, the second optical communication apparatus in this case has successfully received the fourth upstream and the second upstream. The second optical communication apparatus selects one of the fourth upstream and the second upstream to obtain a service. For example, the second optical communication device defaults to processing a fourth upstream from the second device. As another example, the second optical communication apparatus may obtain the third error rate and the fourth error rate. The third error rate is the error rate of the fourth uplink data stream. The fourth error rate is the error rate of the second upstream. If the third error rate is greater than the fourth error rate, the second optical communication device determines that the first target upstream is the second upstream. If the third error rate is less than or equal to the fourth error rate, the second optical communication device determines that the first target uplink data stream is the fourth uplink data stream.
The second upstream for backup shown in this embodiment is only sent to one first device for exemplary explanation. In other examples, the second device may send the second upstream data stream to a plurality of different first devices, respectively. The process of implementing backup by each first device is shown in the corresponding embodiment of fig. 3, which is not described in detail.
With the method shown in this embodiment, the at least one second uplink transmission frame sent by the first device includes a first uplink data stream that the first device itself needs to transmit and a second uplink data stream from the second device. Hardware resources (e.g., encoder, laser, processor, etc.) that send the second upstream for backup are multiplexed with hardware resources that send the first upstream. I.e. the hardware resources for transmitting the first upstream data stream are identical to the hardware resources for transmitting the second upstream data stream. No separate hardware resources are set for sending the second upstream for backup. The utilization rate of the hardware resources of the first device is improved.
Because the first device does not set independent hardware resources for sending the second uplink data stream, the current network is changed less in the backup process, and the backup cost is reduced.
And the link between the first device and the first optical communication device is not only used for transmitting the second upstream for backup. The link is also used to transmit the first upstream. Because no independent bandwidth resource is needed to be configured and only the second uplink data stream is transmitted, the waste of the bandwidth resource is avoided, and the utilization rate of the bandwidth resource is improved.
The method provided by the application can also realize mutual backup of the terminal equipment side. The mutual backup at the terminal device side refers to the backup of the uplink data stream sent by the first device for the second device. And the second device backs up the upstream sent by the first device. The terminal-side mutual backup will be described below with reference to fig. 4. For the description of each execution body shown in fig. 4, please refer to fig. 2, and detailed description thereof is omitted. Fig. 4 is a flowchart of execution steps of a second data stream transmission method according to an embodiment of the present application.
Step 401, a first device and a second device create a first connection.
Step 402, the first device sends a first negotiation message to the second device via the first connection.
Step 403, the second device sends a second negotiation message to the first device via the first connection.
The first negotiation message and the second negotiation message shown in this embodiment are used to negotiate that the first device backs up the data stream sent by the second device. For a specific description, please refer to steps 302-303 corresponding to fig. 3, which will not be repeated. The first negotiation message and the second negotiation message shown in this embodiment are further used to negotiate that the second device backs up the data stream sent by the first device. It is known that the first negotiation message also carries the second backup bandwidth. The second backup bandwidth is an upstream data stream from the first device that needs to be backed up.
Step 404, the first device sends a first bandwidth request message to the first optical communication device.
Step 405, the second device sends a second bandwidth request message to the second optical communication device.
The first bandwidth request message and the second bandwidth request message shown in this embodiment are used to request an upstream backup sent by the first device for the second device. For specific illustration, please refer to steps 304-305 corresponding to fig. 3, which will not be described in detail. The first bandwidth request message and the second bandwidth request message shown in this embodiment are further used to request an upstream backup sent by the second device for the first device. Specifically, the second bandwidth request message also carries a second backup bandwidth.
Step 406, the first optical communication device sends a first bandwidth allocation message to the first device.
Step 407, the second optical communication device sends a second bandwidth allocation message to the second device.
The first optical communication device and the second optical communication device negotiate with each other as to whether the first device is allowed to back up the upstream data stream transmitted by the second device, and whether the second device is allowed to back up the upstream data stream transmitted by the first device. The specific negotiation process is shown in step 307 corresponding to fig. 3, and will not be described in detail.
Step 408, the first device obtains a first upstream.
The execution of step 408 is shown in step 308 of fig. 3, and is not described in detail.
Step 409, the first device sends the third upstream to the second device.
The first device determines a first upstream that needs to be backed up. The first device replicates the first upstream to obtain a third upstream. It can be seen that the third upstream is a backup of the first upstream. The first device sends the third upstream to the second device over the first connection. The process of the first device acquiring the third uplink data stream shown in the embodiment may refer to the process of the second device acquiring the second uplink data stream shown in step 310 corresponding to fig. 3, which is not described in detail.
Step 410, the second device obtains a fourth upstream.
Step 411, the second device sends a second upstream to the first device.
For a description of the execution process of steps 410-411, please refer to steps 309-310 corresponding to fig. 3, which will not be described in detail.
Step 412, the second device sends the first uplink transmission frame to the second optical communication device.
The first uplink transmission frame sent by the second device to the second optical communication device includes the first uplink transmission frame carrying the fourth uplink data stream and the first uplink transmission frame carrying the fifth uplink data stream. For a specific description, please refer to step 311 in fig. 3, and detailed description thereof is omitted. The first uplink transmission frame in this embodiment is different from the first uplink transmission frame in fig. 3 in that the second device also transmits the first uplink transmission frame carrying the third uplink data stream to the second optical communication device. For a description of the process of the first uplink transmission frame carrying the third uplink data stream, please refer to the second uplink transmission frame carrying the second uplink data stream shown in step 312 corresponding to fig. 3, which is not repeated.
Step 413, the first device sends the second uplink transmission frame to the first optical communication device.
For a description of the execution of step 413, please refer to step 312 corresponding to fig. 3, which is not described in detail.
Step 414, the first optical communication apparatus transmits the second upstream to the second optical communication apparatus.
Step 415, the second optical communication device processes the first target upstream.
For a description of the execution of steps 414-415, please refer to steps 313-314 corresponding to fig. 3, which will not be described in detail.
Step 416, the second optical communication apparatus transmits the third upstream to the first optical communication apparatus.
For a description of the second optical communication apparatus sending the third uplink data stream to the first optical communication apparatus, please refer to a process of the first optical communication apparatus sending the second uplink data stream to the second optical communication apparatus shown in step 313 corresponding to fig. 3, which is not described in detail.
Step 417, the first optical communication device processes the second target upstream.
The second target upstream is the first upstream or the third upstream. For a description of the procedure of the first optical communication device processing the second target upstream, please refer to the second optical communication device processing the first target upstream shown in step 314 corresponding to fig. 3, which is not described in detail.
The method in this embodiment uses the hardware resources of the first upstream to send the second upstream for backup, without configuring separate hardware resources for the second upstream for backup. Similarly, the method utilizes hardware resources that transmit the fourth upstream to transmit the third upstream for backup. Doing so effectively improves resource utilization.
The corresponding embodiments of fig. 3 and fig. 4 illustrate how the uplink data stream from the terminal device is backed up, and how the backed up uplink data stream is sent to the aggregation device. The embodiment of the application also provides a transmission method for explaining how the downlink data stream from the convergence device is backed up and how the backed up downlink data stream is sent to the terminal device. The respective execution processes according to the present embodiment are described below with reference to fig. 5. Fig. 5 is a schematic diagram of a second optical communication system according to an embodiment of the present application.
The first optical communication apparatus 502 and the second optical communication apparatus 503 shown in fig. 5 are located on the terminal device side. The specific description refers to the descriptions of the first device and the second device corresponding to fig. 2, and details are not repeated. The first means 501 and the second means 504 are located on the sink device side. For a specific description, please refer to the description of the first optical communication device and the second optical communication device corresponding to fig. 2, and detailed description is omitted. Fig. 6 is a flowchart illustrating steps of a third data stream transmission method according to an embodiment of the present application. For the description of each execution body shown in fig. 6, please refer to fig. 5, and detailed description thereof is omitted.
Step 601, a first device and a second device create a first connection.
Step 602, the first device sends a first negotiation message to the second device over the first connection.
Step 603, the second device sends a second negotiation message to the first device via the first connection.
The execution of steps 601-603 is shown in steps 301-303 corresponding to fig. 3, and detailed descriptions thereof are omitted.
Step 604, the first device sends a third bandwidth allocation message to the first optical communication device.
Step 605, the second device sends a fourth bandwidth allocation message to the second optical communication device.
The first device and the second device negotiate with each other as to whether the first device is allowed to back up the downstream data stream sent by the second device. The specific negotiation process may be shown in step 307 corresponding to fig. 3, which is not described in detail. The third bandwidth allocation message is used to indicate a third transmission bandwidth if the negotiation is successful. The second bandwidth allocation message is used to indicate a fourth transmission bandwidth. The third transmission bandwidth is used for transmitting a second downlink transmission frame from the first device. The fourth transmission bandwidth is used for transmitting the first downlink transmission frame from the second device.
Step 606, the first device obtains a first downlink data stream.
Step 607, the second device obtains a fourth downstream.
Step 608, the second device sends the second downstream data stream to the first device.
Steps 606-608 are shown, please refer to steps 308-310 corresponding to fig. 3, and detailed description thereof is omitted.
Step 609, the second device sends the first downlink transmission frame to the second optical communication device.
The first uplink transmission frame sent by the second device to the second optical communication device in this embodiment is a first downlink transmission frame that already carries the fourth downlink data stream and a first downlink transmission frame that already carries the fifth downlink data stream. For the description of the fourth downstream and the fifth downstream, refer to the description of the fourth upstream and the fifth upstream shown in step 311 corresponding to fig. 3, which are not described in detail.
As shown in the example of fig. 5, the first downlink transmission frame sent by the second apparatus 504 to the second optical communication apparatus 503 includes a first downlink transmission frame 521 that has carried the fourth downlink data stream and a first downlink transmission frame 522 that has carried the fifth downlink data stream. For the description of the first downlink frame 521 and the first downlink frame 522, please refer to the description of the first downlink frame 221 and the first downlink frame 222 corresponding to fig. 2, which are not described in detail.
Step 610, the first device sends a second downlink transmission frame to the first optical communication device.
The second downlink transmission frame includes a second downlink transmission frame for carrying the first downlink data stream and a second downlink transmission frame for carrying the second downlink data stream. For example, as shown in fig. 5, the first device 501 sends a second downlink frame 511 that already carries the first downlink data stream and a second downlink transmission frame 512 that is used to carry the second downlink data stream to the first optical communication device 502. For a description of the positional relationship between the second downlink transmission frame 511 and the second downlink frame 512, refer to the description of the positions between the second downlink transmission frame 211 and the second downlink transmission frame 212 shown in fig. 2, which is not described in detail.
Step 611, the first optical communication apparatus transmits the second downstream data stream to the second optical communication apparatus.
The third bandwidth allocation message sent by the first device to the first optical communication device in this embodiment is further used to indicate the position of the first downlink data stream in the second downlink transmission frame. The third bandwidth allocation message is further used to indicate a location of the second downstream data stream in the second downstream transmission frame. As can be seen, the first optical communication apparatus is capable of determining, from the second downlink transmission frames, the second downlink transmission frames that have carried the first downlink data stream and the second downlink transmission frames that have carried the second downlink data stream according to the third bandwidth allocation message from the first apparatus. For a specific description, please refer to step 311 of fig. 3, which is not described in detail.
Step 612, the second optical communication apparatus processes the first target downstream.
The first target downstream shown in this embodiment is the second downstream or the fourth downstream. The specific process is shown in step 314 of fig. 3, and detailed description thereof is omitted.
The present embodiment may combine and execute the embodiment corresponding to fig. 3 or fig. 6, so as to implement backup of the downstream data stream at the convergence device side and backup of the upstream data stream at the terminal device side.
By adopting the method shown in this embodiment, the hardware resource for the backup second downstream is sent and multiplexed with the hardware resource for the first downstream. I.e. the hardware resources for transmitting the first downstream data stream are identical to the hardware resources for transmitting the second downstream data stream. No separate hardware resources are set for sending the second downstream for backup. The utilization rate of the hardware resources of the first device is improved.
Because the first device does not set independent hardware resources for sending the second downlink data stream, the current network is changed less in the backup process, and the backup cost is reduced.
And the link between the first device and the first optical communication device is not used only for transmitting the second downstream for backup. The link is also used for transmitting the first downlink data stream. Because no independent bandwidth resource is needed to be configured and only the second downlink data stream is transmitted, the waste of the bandwidth resource is avoided, and the utilization rate of the bandwidth resource is improved.
The method provided by the application can also realize mutual backup of the aggregation equipment side. The mutual backup of the convergence device side refers to that the first device performs backup for the downlink data stream sent by the second device. And the second device performs backup for the downlink data stream sent by the first device. Fig. 7 is a flowchart illustrating steps of a fourth method for transmitting a downlink data stream according to an embodiment of the present application. For the description of each execution body shown in fig. 7, please refer to fig. 5, and detailed description thereof is omitted.
Step 701, a first device and a second device create a first connection.
Step 702, the first device sends a first negotiation message to the second device over a first connection.
Step 703, the second device sends a second negotiation message to the first device over the first connection.
Step 704, the first device sends a third bandwidth allocation message to the first optical communication device.
Step 705, the second device sends a fourth bandwidth allocation message to the second optical communication device.
Step 706, the first device obtains a first downlink data stream.
The execution of steps 701-706 is shown in steps 601-606 corresponding to fig. 6, and detailed description thereof will be omitted.
Step 707, the first device sends the third downstream data stream to the second device.
The first device determines a first downstream data stream that needs to be backed up. The first device replicates the first downstream to obtain a third downstream. It can be seen that the third downstream is a backup of the first downstream. The first device sends the third downstream to the second device over the first connection. The process of the first device acquiring the third downlink data stream shown in the embodiment may refer to the process of the first device acquiring the third downlink data stream shown in step 409 corresponding to fig. 4, which is not described in detail.
Step 708, the second device obtains a fourth downstream.
Step 709, the second device sends the second downstream data stream to the first device.
The execution of steps 708-709 may be described with reference to steps 607-608 of fig. 6, and detailed description thereof is omitted.
Step 710, the second device sends a first downlink transmission frame to the second optical communication device.
The first downlink transmission frame sent by the second device to the second optical communication device includes a first downlink transmission frame carrying the fourth downlink data stream and a first downlink transmission frame carrying the fifth downlink data stream. For a specific description, please refer to step 609 in fig. 6, which is not repeated.
The first downlink frame in this embodiment is different from the first downlink frame in fig. 6 in that the second device further transmits the first downlink frame carrying the third downlink data stream to the second optical communication device. For a description of the process of the first downlink transmission frame carrying the third downlink data stream, please refer to the description of the second downlink transmission frame carrying the second downlink data stream shown in step 610 corresponding to fig. 6, which is not repeated in detail.
Step 711, the first device transmits the second downlink transmission frame to the first optical communication device.
Step 712, the first optical communication device transmits the second downstream data stream to the second optical communication device.
Step 713, the second optical communication device processes the first target downstream.
For a description of the execution of steps 711-713, please refer to steps 610-612 corresponding to fig. 6, which will not be described in detail.
Step 714, the second optical communication apparatus transmits the third downstream data stream to the first optical communication apparatus.
For a description of the second optical communication apparatus sending the third downlink data stream to the first optical communication apparatus, please refer to a process of the first optical communication apparatus sending the second downlink data stream to the second optical communication apparatus shown in step 611 corresponding to fig. 6, which is not described in detail.
Step 715, the first optical communication device processes the second target downstream.
The second target downstream is the first downstream or the third downstream. For a description of the process of processing the second target downstream by the first optical communication device shown in the embodiment, please refer to the second optical communication device shown in step 612 corresponding to fig. 6, which is not described in detail.
The method in this embodiment uses the hardware resource for transmitting the first downstream to transmit the second downstream for backup, and does not need to configure an independent hardware resource for the second downstream for backup separately. Similarly, the method utilizes hardware resources for transmitting the fourth downstream to transmit the third downstream for backup. This effectively improves hardware resources and bandwidth utilization.
Fig. 8 is a diagram illustrating a structure of a communication device according to an embodiment of the present application. The communication device 800 comprises a processor 801, a transceiver 802 and a memory 803. The processor 801 is interconnected by wires with a memory 803 and a transceiver 802, respectively. The processor 801 reads and executes a computer program stored in the memory 803 to execute a corresponding process. The functions of the processor 801 may be partially or wholly implemented by hardware. The processor 801 may be one or more chips or one or more integrated circuits. For example, the processor 801 may be one or more field-programmable gate arrays (FPGAs), application specific integrated chips (application specific integrated circuit, ASICs), system on chips (socs), central processing units (central processor unit, CPUs), network processors (network processor, NPs), digital signal processing circuits (digital signal processor, DSPs), microcontrollers (micro controller unit, MCUs), programmable controllers (programmable logic device, PLDs) or other integrated chips, or any combination of the above chips or processors, or the like. It should be appreciated that the memory is an optional component when the processor is implemented in hardware.
The communication device 800 may be a first apparatus as shown in fig. 3. If the first device is used to execute the embodiment corresponding to fig. 3, the processor 801 is used to execute step 301 and step 308. Transceiver 802 is used to perform steps 302, 304, and 312. If the first device is used to execute the embodiment corresponding to fig. 4, the processor 801 is used to execute step 401 and step 408. Transceiver 802 is used to perform steps 402, 404, 409 and 413. If the first device is used to execute the embodiment corresponding to fig. 6, the processor 801 is used to execute step 601 and step 606. Transceiver 802 is configured to perform step 602, step 604, and step 610. If the first device is used to execute the embodiment corresponding to fig. 7, the processor 701 is used to execute step 701 and step 706. Transceiver 802 is used to perform steps 703, 704, 707, and 711.
The communication apparatus 800 may be a second device as shown in fig. 3. If the second device is used to execute the embodiment corresponding to fig. 3, the processor 801 is used to execute step 301 and step 309. Transceiver 802 is used to perform steps 303, 305, 310 and 311. If the second device is used to execute the embodiment corresponding to fig. 4, the processor 801 is used to execute step 401 and step 410. Transceiver 802 is used to perform steps 403, 405 and 412. If the second device is used to execute the embodiment corresponding to fig. 6, the processor 801 is configured to execute step 601 and step 607. Transceiver 802 is used to perform steps 603, 605 and 609. If the second device is used to execute the embodiment corresponding to fig. 7, the processor 701 is used to execute the steps 701 and 708. Transceiver 802 is used to perform step 703, step 705, and step 710.
The communication apparatus 800 may be a first optical communication device as shown in fig. 3. If the first optical communication device is used to implement the embodiment corresponding to fig. 3, the transceiver 802 is used to implement step 306 and step 313. If the first optical communication device is used to implement the embodiment corresponding to fig. 4, the transceiver 802 is used to implement step 406 and step 414. The processor 801 is configured to perform step 417. If the first optical communication device is used to implement the embodiment corresponding to fig. 6, the transceiver 802 is used to implement step 611. If the first optical communication apparatus is used to implement the embodiment corresponding to fig. 7, the transceiver is used to implement step 712. The processor 801 is configured to perform step 715.
The communication apparatus 800 may be a second optical communication device as shown in fig. 3. If the second optical communication device is used to implement the corresponding embodiment of fig. 3, then the transceiver 802 is used to implement step 307. The processor 801 is configured to execute step 314. If the second optical communication apparatus is used to implement the embodiment corresponding to fig. 4, the transceiver 802 is used to implement step 407 and step 416. The processor 801 is configured to perform step 415. If the second optical communication apparatus is used for executing the embodiment corresponding to fig. 6, the processor 801 is configured to execute step 612. If the second optical communication apparatus is used to execute the embodiment corresponding to fig. 7, the processor 801 is configured to execute step 713. Transceiver 802 is configured to perform step 714.
An optical communication system is provided. The structure of the first embodiment of the optical communication system can be seen in fig. 2. The optical communication system is used to perform the embodiment shown in fig. 3 or fig. 4. The structure of the second embodiment of the optical communication system can be seen in fig. 5. The optical communication system is used to perform the embodiment shown in fig. 6 or fig. 7.
The above embodiments are only for illustrating the technical solution of the present invention, and are not limiting. Although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some of the technical features thereof can be replaced by equivalents. Such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (21)

1. A method of transmitting a data stream, the method comprising:
the first device acquires a first data stream;
the first device receives a second data stream from a second device, wherein the second data stream is a backup of at least part of the data stream carried by a first transmission frame sent by the second device;
The first device sends a second transmission frame to the optical communication device, where the second transmission frame is used to carry the first data stream and the second data stream.
2. The method of claim 1, wherein after the first device obtains the first data stream, the method further comprises:
the first device sends a third data stream to the second device, the third data stream being a backup of the first data stream.
3. The method of claim 2, wherein before the first device sends a third data stream to the second device, the method further comprises:
the first device acquires a plurality of data streams;
the first device determines the first data stream from the plurality of data streams according to the backup identification;
the first device replicates the first data stream to obtain the third data stream.
4. A method according to any one of claims 1 to 3, wherein before the first device receives the second data stream from the second device, the method further comprises:
the first device establishing a connection with the second device;
the first device sending a first negotiation message to the second device over the connection;
The first device receives a second negotiation message from the second device over the connection, the first and second negotiation messages being used to negotiate that the first and second devices transmit a data stream over the connection, the data stream being used for backup.
5. The method according to any one of claims 1 to 4, wherein the first device is a terminal equipment, and wherein before the first device sends the second transmission frame to the optical communication device, the method further comprises:
the first device sends a bandwidth request message to the optical communication device, wherein the bandwidth request message is used for requesting to acquire a transmission bandwidth, and the transmission bandwidth is used for transmitting the first data stream and the second data stream;
the first device receives a bandwidth allocation message from the optical communication device, the bandwidth allocation message indicating the transmission bandwidth.
6. The method of claim 5, wherein the bandwidth allocation message is used to indicate a location of the first data stream in a transmission bandwidth, and wherein the bandwidth allocation message is further used to indicate a location of the second data stream in the transmission bandwidth.
7. The method of any one of claims 1 to 4, wherein the first device is a convergence device, and wherein before the first device sends the second transmission frame to the optical communication device, the method further comprises:
the first device sends a bandwidth allocation message to the optical communication device, the bandwidth allocation message being used to indicate a position of the first data stream in the transmission bandwidth, the bandwidth allocation message also being used to indicate a position of the second data stream in the transmission bandwidth.
8. A method of transmitting a data stream, the method comprising:
the method comprises the steps that a first optical communication device receives a second transmission frame from a first device, the first optical communication device obtains a first data stream and a second data stream carried by the second transmission frame, the first data stream is from the first device, and the second data stream is a backup of at least part of the data stream carried by the first transmission frame sent by the second device;
the first optical communication device transmits the second data stream to the second optical communication device.
9. The method of claim 8, wherein the method further comprises:
the first optical communication device receives a third data stream from the second optical communication device, wherein the third data stream is a backup of the first data stream;
The first optical communication device processes the first data stream or the third data stream.
10. The method of claim 9, wherein the first optical communication device processing the first data stream or the third data stream comprises:
the first optical communication device obtains a first error rate of the first data stream;
the first optical communication device obtains a second error rate of the third data stream;
if the first error rate is greater than the second error rate, the first optical communication device processes the third data stream;
and if the first error rate is smaller than or equal to the second error rate, the first optical communication device processes the first data stream.
11. The method according to any one of claims 8 to 10, wherein the first optical communication device is a convergence device, and wherein before the first optical communication device receives the second transmission frame from the first device, the method further comprises:
the first optical communication device receives a bandwidth request message from the first device, wherein the bandwidth request message is used for requesting to acquire a transmission bandwidth, and the transmission bandwidth is used for transmitting the first data stream and the second data stream;
The first optical communication apparatus transmits a bandwidth allocation message to the first apparatus, the bandwidth allocation message indicating the transmission bandwidth.
12. The method of claim 11, wherein the bandwidth allocation message is used to indicate a location of the first data stream in the transmission bandwidth, and wherein the bandwidth allocation message is further used to indicate a location of the second data stream in the transmission bandwidth.
13. The method according to claim 11 or 12, wherein the first optical communication device obtaining the first data stream and the second data stream carried by the second transmission frame comprises:
the first optical communication device acquires the first data stream and the second data stream from the second transmission frame according to the bandwidth allocation message.
14. The method according to any one of claims 8 to 10, wherein the first optical communication device is a terminal device, and before the first optical communication device obtains the first data stream and the second data stream carried by the second transmission frame, the method further comprises:
the first optical communication device receives a bandwidth allocation message from the first device, the bandwidth allocation message indicating a location of the first data stream in a transmission bandwidth, the bandwidth allocation message also indicating a location of the second data stream in the transmission bandwidth.
15. A method of transmitting a data stream, the method being applied to an optical communication system including a first optical communication device, a second optical communication device, a first device and a second device, the first optical communication device being connected to the second optical communication device and the first device, respectively, the first device being connected to the second device, the method comprising:
the first device acquires a first data stream;
the first device receives a second data stream from the second device, wherein the second data stream is a backup of at least part of the data stream carried by a first transmission frame sent by the second device;
the first device sends a second transmission frame to the first optical communication device, wherein the second transmission frame is used for bearing the first data stream and the second data stream;
the first optical communication device receives the second transmission frame from the first device, and acquires the first data stream and the second data stream carried by the second transmission frame;
the first optical communication device transmits the second data stream to the second optical communication device.
16. The method of claim 15, wherein the second optical communication device is coupled to the second device, and wherein after the first device obtains the first data stream, the method further comprises:
the first device sends a third data stream to the second device, wherein the third data stream is a backup of the first data stream;
the second device obtains a fourth data stream, and the second data stream is a backup of the fourth data stream;
the second device sends the first transmission frame to the second optical communication device, wherein the first transmission frame is used for bearing the third data stream and the fourth data stream;
the second optical communication device receives the first transmission frame from the second device, and the second optical communication device acquires the third data stream and the fourth data stream carried by the first transmission frame;
the second optical communication device transmits the third data stream to the first optical communication device.
17. An apparatus, the apparatus comprising: the device comprises a processor and a transceiver, wherein the processor and the transceiver are interconnected through a line;
the processor is used for acquiring a first data stream;
The transceiver is used for:
receiving a second data stream from a second device, wherein the second data stream is a backup of at least part of the data stream carried by a first transmission frame sent by the second device;
and sending a second transmission frame to the optical communication device, wherein the second transmission frame is used for bearing the first data stream and the second data stream.
18. The apparatus of claim 17, wherein the transceiver is further configured to send a third data stream to the second apparatus, the third data stream being a backup of the first data stream.
19. An optical communication apparatus, comprising: the device comprises a processor and a transceiver, wherein the processor and the transceiver are interconnected through a line;
the transceiver receiving a second transmission frame from the first device;
the processor is configured to obtain a first data stream and a second data stream carried by the second transmission frame, where the first data stream is from the first device, and the second data stream is a backup of at least a part of the data stream carried by the first transmission frame sent by the second device;
the transceiver is also configured to transmit the second data stream to a second optical communication device.
20. The optical communication device of claim 19, wherein the transceiver is further configured to receive a third data stream from the second optical communication device, the third data stream being a backup of the first data stream;
the processor is further configured to process the first data stream or the third data stream.
21. An optical communication system comprising a first optical communication device, a second optical communication device, a first device and a second device, wherein:
the first optical communication device is connected with the second optical communication device and the first device respectively, and the first device is connected with the second device;
the first device is used for acquiring a first data stream;
the first device is configured to receive a second data stream from the second device, where the second data stream is a backup of at least a portion of a data stream carried by a first transmission frame sent by the second device;
the first device is configured to send a second transmission frame to the first optical communication device, where the second transmission frame is configured to carry the first data stream and the second data stream;
the first optical communication device is configured to receive the second transmission frame from the first device, and the first optical communication device is further configured to acquire the first data stream and the second data stream carried by the second transmission frame;
The first optical communication device is configured to send the second data stream to the second optical communication device.
CN202210009362.1A 2022-01-05 2022-01-05 Data stream transmission method, optical communication system and related device Pending CN116456224A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210009362.1A CN116456224A (en) 2022-01-05 2022-01-05 Data stream transmission method, optical communication system and related device
PCT/CN2023/070247 WO2023131138A1 (en) 2022-01-05 2023-01-04 Data stream transmission method, optical communication system, and related apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210009362.1A CN116456224A (en) 2022-01-05 2022-01-05 Data stream transmission method, optical communication system and related device

Publications (1)

Publication Number Publication Date
CN116456224A true CN116456224A (en) 2023-07-18

Family

ID=87073208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210009362.1A Pending CN116456224A (en) 2022-01-05 2022-01-05 Data stream transmission method, optical communication system and related device

Country Status (2)

Country Link
CN (1) CN116456224A (en)
WO (1) WO2023131138A1 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2760157B1 (en) * 2012-11-22 2016-04-06 Huawei Technologies Co., Ltd. Method, device and system for backing up device information
US11671396B2 (en) * 2015-03-20 2023-06-06 Royal Bank Of Canada System and methods for message redundancy
CN107404404B (en) * 2017-07-29 2021-05-28 深圳市盛路物联通讯技术有限公司 Terminal routing method based on Internet of things and Internet of things terminal
CN107465609B (en) * 2017-07-31 2020-05-19 深圳市盛路物联通讯技术有限公司 Terminal routing method based on Internet of things and Internet of things terminal
CN110661702B (en) * 2018-06-28 2022-09-13 中兴通讯股份有限公司 Link backup method and device and computer readable storage medium
CN113746655B (en) * 2020-05-30 2022-10-04 华为技术有限公司 Backup state determination method, device and system

Also Published As

Publication number Publication date
WO2023131138A1 (en) 2023-07-13

Similar Documents

Publication Publication Date Title
US9391693B2 (en) Protection for distributed radio access networks
CN106255226B (en) Network connection processing method and device
JP2011130179A (en) Relay device
JP2010028696A (en) Optical access system, optical switching unit, and optical line device
RU2765991C1 (en) Communication network and associated apparatuses
CN109936781B (en) Data transmission method, equipment and system
WO2014187070A1 (en) Data transmission method, device and system
CN112019299A (en) Data transmission method and related equipment
CN113824576A (en) Slice data transmission method and device, electronic equipment and readable medium
WO2022001540A1 (en) Configuration method and apparatus, binding method and apparatus, and device, sending node, receiving node and medium
US10972309B2 (en) Method and device for automatically discovering cross-node service topology on transoceanic multiple section shared protection ring
CN116456224A (en) Data stream transmission method, optical communication system and related device
JP2022539729A (en) Packet processing method and device
EP2515596A1 (en) Configuration method and system for transmission bearer mode with enhanced dedicated channel
CN112351355B (en) Management method and system of ONU channel based on gPC
CN111934841B (en) Method and device for determining reference clock, system, storage medium and electronic device
CN113438606B (en) Message transmission method, device, related equipment and storage medium
US11611470B2 (en) Communication apparatus and communication method
CN111030775B (en) Data transmission method, device and equipment
CN114531622A (en) Multi-stage PON (passive optical network) management method and related device
CN112087678A (en) Bandwidth allocation method and device and bandwidth checking method and device
CN111245577B (en) Data transmission method, system and related equipment
JP2014135679A (en) Terminal-side communication device, station-side device and communication failure restoration method
KR101115631B1 (en) The SMCT exchange unit which uses mobile to mobile line service and the service method of mobile communication system
CN115842974A (en) Message transmission method and related equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination