SINGLE-FIBER BIDIRECTIONAL COMMUNICATION METHOD, COMMUNICATION APPARATUS, AND SYSTEM

Information

  • Patent Application
  • 20250184006
  • Publication Number
    20250184006
  • Date Filed
    January 16, 2025
    6 months ago
  • Date Published
    June 05, 2025
    a month ago
Abstract
A single-fiber bidirectional communication method, a communication apparatus, and a system, related to the field of optical communication technologies. A first node may implement, through a first laser, functions of sending a first optical signal and receiving a second optical signal, and a second node may implement, through a second laser, functions of sending the second optical signal and receiving the first optical signal. Based on the method, the first node and the second node each can implement single-fiber bidirectional communication by using only one laser, so that costs of optical communication can be effectively reduced, and sizes of optical modules can be reduced.
Description
TECHNICAL FIELD

The embodiments relate to the field of optical communication technologies, and to a single-fiber bidirectional communication method, a communication apparatus, and a system.


BACKGROUND

Most communication in an optical fiber communication system is bidirectional communication, and both communication parties can perform sending and receiving at the same time. Currently, in an optical fiber communication system, bidirectional communication may be implemented based on a single fiber or may be implemented based on two fibers. If bidirectional communication is implemented based on two fibers, received and sent signals in the bidirectional communication may be carried on different optical fibers. If bidirectional communication is implemented based on a single fiber, received and sent signals in the bidirectional communication may be carried on different wavelengths of one optical fiber.


Compared with an implementation of two-fiber communication, single-fiber bidirectional communication can use only one optical fiber to complete work that originally needs to be completed by two optical fibers, so that optical fiber resources can be saved.


However, in a single-fiber bidirectional communication system, optical modules of both communication parties need to receive and send signals of different wavelengths. Therefore, two lasers of different wavelengths need to be used. This increases sizes and costs of the optical modules.


SUMMARY

The embodiments provide a single-fiber bidirectional communication method, a communication apparatus, and a system, to resolve a problem that sizes and costs of optical modules cannot be reduced because different lasers need to be used in a single-fiber bidirectional communication system to receive and send signals of different wavelengths.


To achieve the foregoing objectives, the following solutions are used.


According to a first aspect, the embodiments provide a single-fiber bidirectional communication method. The single-fiber bidirectional communication method may be applied to a first node. The first node includes a first optical module. The first optical module may include a first laser, a first connection unit, a first coherent receiver, a first laser modulator, and a second connection unit. The first laser is separately connected to the first laser modulator and the first coherent receiver by the first connection unit. The first coherent receiver and the first laser modulator are connected to a same optical fiber by the second connection unit. The single-fiber bidirectional communication method may include: the first node sends a first optical signal to a second node through the first laser modulator. The first optical signal is obtained by modulating laser light emitted by the first laser. The first node receives a second optical signal from the second node through the first coherent receiver. The first laser is configured to generate local oscillator light required by the first coherent receiver. A center frequency of the first optical signal is f1, a center frequency of the second optical signal is f2, f1 is different from f2, and |f1−f2| is less than a first threshold. In this solution, each of the first node and the second node only needs to use one laser. This solution can effectively reduce costs of optical communication, and can reduce sizes of optical modules.


With reference to the first aspect, in a possible implementation, a frequency range of the first optical signal and a frequency range of the second optical signal do not overlap or partially overlap.


With reference to the first aspect, in a possible implementation,









"\[LeftBracketingBar]"



f
1

-

f
2




"\[RightBracketingBar]"






w
1

2



or





"\[LeftBracketingBar]"



f
1

-

f
2




"\[RightBracketingBar]"







w
2

2

.





w1 is a maximum frequency band width of the first optical signal, and w2 is a maximum frequency band width of the second optical signal.


With reference to the first aspect, in a possible implementation, if an output frequency of the first laser is f3,









f
1

-


w
1

2


<

f
3

<


f
2

+


w
2

2



,



or



f
2


-


w
2

2


<

f
3

<


f
1

+



w
1

2

.







w1 is the maximum frequency band width of the first optical signal, and w2 is the maximum frequency band width of the second optical signal.


With reference to the first aspect, in a possible implementation, the output frequency of the first laser is f3, and f3=f1.


With reference to the first aspect, in a possible implementation, if the output frequency of the first laser is f3, a frequency range of receiving the second optical signal by the first coherent receiver is (f3−Δx) to f3 and f3 to (f3+Δx), and







Δ

x






"\[LeftBracketingBar]"



f
3

-

f
2




"\[RightBracketingBar]"


+



w
2

2

.






w2 is the maximum frequency band width of the second optical signal.


With reference to the first aspect, in a possible implementation, the single-fiber bidirectional communication method may further include: the first node may send, to the second node, a first parameter for adjusting the first optical signal. Then, the first node may receive first indication information from the second node. The first indication information indicates that the second node agrees to adjust the first optical signal based on the first parameter. Subsequently, the first node may send second indication information to the second node. The second indication information indicates that the first node starts to adjust the first optical signal. In addition, the first node adjusts the maximum frequency band width of the first optical signal to w′1, and/or adjusts the center frequency of the first optical signal to f′1. Further, the first node may send third indication information to the second node. The third indication information indicates that the first node has completed adjustment of the first optical signal.


With reference to the first aspect, in a possible implementation, the first parameter includes w′1 and/or f′1, or Δw1 and/or f′1. Δw1=w′1−w1.


With reference to the first aspect, in a possible implementation, the single-fiber bidirectional communication method may further include: first, the first node may send, to the second node, a second parameter for adjusting the second optical signal. Then, the first node receives fourth indication information from the second node. The fourth indication information indicates that the second node agrees to adjust the second optical signal based on the second parameter. Subsequently, the first node may send fifth indication information to the second node. The fifth indication information indicates the second node to start to adjust the second optical signal. Further, the first node may receive sixth indication information from the second node. The sixth indication information indicates that the second node has completed adjustment of the second optical signal.


With reference to the first aspect, in a possible implementation, the first parameter includes w′2 and/or f′2, or Δw2 and/or f′2. Δw2=w′2−w2.


With reference to the first aspect, in a possible implementation, the single-fiber bidirectional communication method may further include: first, the first node sends, to the second node, a third parameter for adjusting the first optical signal and the second optical signal. Subsequently, the first node receives seventh indication information from the second node. The seventh indication information indicates that the second node agrees to adjust the first optical signal and the second optical signal based on the third parameter. The first node sends second indication information to the second node. The second indication information indicates that the first node starts to adjust the first optical signal. The first node adjusts the maximum frequency band width of the first optical signal to w′1, and/or adjusts the center frequency of the first optical signal to f′1. The first node sends third indication information to the second node. The third indication information indicates that the first node has completed adjustment of the first optical signal. The first node sends fifth indication information to the second node. The fifth indication information indicates the second node to start to adjust the second optical signal. The first node receives sixth indication information from the second node. The sixth indication information indicates that the second node has completed adjustment of the second optical signal.


With reference to the first aspect, in a possible implementation, the single-fiber bidirectional communication method may further include: the first node sends, to the second node, a third parameter for adjusting the first optical signal and the second optical signal. The first node receives seventh indication information from the second node. The seventh indication information indicates that the second node agrees to adjust the first optical signal and the second optical signal based on the third parameter. The first node sends fifth indication information to the second node. The fifth indication information indicates the second node to start to adjust the second optical signal. The first node receives sixth indication information from the second node. The sixth indication information indicates that the second node has completed adjustment of the second optical signal. The first node sends second indication information to the second node. The second indication information indicates that the first node starts to adjust the first optical signal. The first node adjusts the maximum frequency band width of the first optical signal to w′1, and/or adjusts the center frequency of the first optical signal to f′1. The first node sends third indication information to the second node. The third indication information indicates that the first node has completed adjustment of the first optical signal.


With reference to the first aspect, in a possible implementation, the third parameter includes at least one of f′1, w′1, or Δw1, and at least one of f′2, w′2, or Δw2. Δw1=w′1−w1, and Δw2=w′2−w2.


With reference to the first aspect, in a possible implementation, the first node communicates with n nodes through the first optical module. n≥2. When the second node is a kth node in the n nodes, f1=fAk, and f2=fBk. fAk is a center frequency of an optical signal Ak sent by the first node to the kth node in the n nodes. fBk is a center frequency of an optical signal Bk sent by the kth node to the first node. k is a positive integer from 1 to n.


With reference to the first aspect, in a possible implementation, when k>1, fAk>fA(k-1), fAk>fB(k-1), fBk>fA(k-1), and fAk>fB(k-1). If k is an odd number, fAk<fAk, or if k is an even number, fBk<fAk. Alternatively, if k is an odd number, fBk<fAk, or if k is an even number, fAk<fBk.


With reference to the first aspect, in a possible implementation, the single-fiber bidirectional communication method may further include: the first node sends, to the kth node in the n nodes, a fourth parameter for adjusting the optical signal Ak. The first node receives eighth indication information from the kth node in the n nodes. The eighth indication information indicates that the kth node in the n nodes agrees to adjust the optical signal Ak based on the fourth parameter. The first node sends ninth indication information to the kth node in the n nodes. The ninth indication information indicates that the first node starts to adjust the optical signal Ak. The first node adjusts a maximum frequency band width of the optical signal Ak to w′Ak, and/or adjusts the center frequency of the optical signal Ak to f′Ak. The first node sends tenth indication information to the kth node in the n nodes. The tenth indication information indicates that the first node has completed adjustment of the optical signal Ak.


With reference to the first aspect, in a possible implementation, the fourth parameter includes w′Ak and/or f′Ak, or ΔwAk and/or f′Ak. ΔwAk=w′Ak−wAk.


With reference to the first aspect, in a possible implementation, the single-fiber bidirectional communication method may further include: the first node sends, to the kth node in the n nodes, a fifth parameter for adjusting the optical signal Bk. The first node receives eleventh indication information from the kth node in the n nodes. The eleventh indication information indicates that the kth node in the n nodes agrees to adjust the optical signal Bk based on the fifth parameter. The first node sends twelfth indication information to the kth node in the n nodes. The twelfth indication information indicates the kth node in the n nodes to start to adjust the optical signal Bk. The first node receives thirteenth indication information from the kth node in the n nodes. The thirteenth indication information indicates that the kth node in the n nodes has completed adjustment of the optical signal Bk.


With reference to the first aspect, in a possible implementation, the fifth parameter includes w′Bk and/or f′Bk, or ΔwBk and/or f′Bk. ΔwBk=wBk−wBk.


With reference to the first aspect, in a possible implementation, the single-fiber bidirectional communication method may further include: The first node sends, to the kth node in the n nodes, a sixth parameter for adjusting the optical signal Ak and the optical signal Bk. The first node receives fourteenth indication information from the kth node in the n nodes. The fourteenth indication information indicates that the kth node in the n nodes agrees to adjust the optical signal Ak and the optical signal Bk based on the sixth parameter. The first node sends ninth indication information to the kth node in the n nodes. The ninth indication information indicates that the first node starts to adjust the optical signal Ak. The first node adjusts a maximum frequency band width of the optical signal Ak to w′Ak, and/or adjusts the center frequency of the optical signal Ak to f′Ak. The first node sends tenth indication information to the kth node in the n nodes. The tenth indication information indicates that the first node has completed adjustment of the optical signal Ak. The first node sends twelfth indication information to the kth node in the n nodes. The twelfth indication information indicates the kth node in the n nodes to start to adjust the optical signal Bk. The first node receives thirteenth indication information from the kth node in the n nodes. The thirteenth indication information indicates that the kth node in the n nodes has completed adjustment of the optical signal Bk.


With reference to the first aspect, in a possible implementation, the single-fiber bidirectional communication method may further include: the first node sends, to the kth node in the n nodes, a sixth parameter for adjusting the optical signal Ak and the optical signal Bk. The first node receives fourteenth indication information from the kth node in the n nodes. The fourteenth indication information indicates that the kth node in the n nodes agrees to adjust the optical signal Ak and the optical signal Bk based on the sixth parameter. The first node sends twelfth indication information to the kth node in the n nodes. The twelfth indication information indicates the kth node in the n nodes to start to adjust the optical signal Bk. The first node receives thirteenth indication information from the kth node in the n nodes. The thirteenth indication information indicates that the kth node in the n nodes has completed adjustment of the optical signal Bk. The first node sends ninth indication information to the kth node in the n nodes. The ninth indication information indicates that the first node starts to adjust the optical signal Ak. The first node adjusts a maximum frequency band width of the optical signal Ak to w′Ak, and/or adjusts the center frequency of the optical signal Ak to f′Ak. The first node sends tenth indication information to the kth node in the n nodes. The tenth indication information indicates that the first node has completed adjustment of the optical signal Ak.


With reference to the first aspect, in a possible implementation, the sixth parameter includes at least one of f′Ak, w′Ak, or ΔwAk, and at least one of f′Bk, w′Bk, or ΔwBk. ΔwAk=w′Ak−wAk, and ΔwBk=w′Bk−wBk.


With reference to the first aspect, in a possible implementation, before the first node sends ninth indication information to the kth node in the n nodes, the single-fiber bidirectional communication method may further include: the first node sends, to a node x in the n nodes, a seventh parameter for adjusting an optical signal Ax and/or an optical signal Bx. The seventh parameter includes an adjusted center frequency f′Ax of the optical signal A and/or an adjusted center frequency f′Bx of the optical signal Bx. The first node receives fifteenth indication information from the node x in the n nodes. The fifteenth indication information indicates that the node x in the n nodes agrees to adjust the optical signal Ax and/or the optical signal Bx based on the seventh parameter. x is a positive integer from 1 to n, and x is not equal to k.


With reference to the first aspect, in a possible implementation, before the first node sends twelfth indication information to the kth node in the n nodes, the single-fiber bidirectional communication method may further include: The first node sends, to a node x in the n nodes, a seventh parameter for adjusting an optical signal Ax and/or an optical signal Bx. The seventh parameter includes an adjusted center frequency f′Ax of the optical signal A and/or an adjusted center frequency f′Bx of the optical signal Bx. The first node receives fifteenth indication information from the node x in the n nodes. The fifteenth indication information indicates that the node x in the n nodes agrees to adjust the optical signal Ax and/or the optical signal Bx based on the seventh parameter. x is a positive integer from 1 to n, and x is not equal to k.


According to a second aspect, the embodiments provide a single-fiber bidirectional communication method. The single-fiber bidirectional communication method may be applied to a second node. The second node may include a second optical module. The second optical module includes a second laser, a third connection unit, a second coherent receiver, a second laser modulator, and a fourth connection unit. The second laser is separately connected to the second laser modulator and the second coherent receiver by the third connection unit. The second coherent receiver and the second laser modulator are connected to a same optical fiber by the fourth connection unit. The single-fiber bidirectional communication method may include: The second node sends a second optical signal to a first node through the first laser modulator. The second optical signal is obtained by modulating laser light emitted by the second laser. The second node receives a first optical signal from the first node through the second coherent receiver. The second laser is configured to generate local oscillator light required by the second coherent receiver. A center frequency of the first optical signal is f1, a center frequency of the second optical signal is f2, f1 is different from f2, and |f1−f2| is less than a first threshold.


With reference to the second aspect, in a possible implementation, if an output frequency of the second laser is f4,








f
1

-


w
1

2


<

f
4

<


f
2

+



w
2

2



or



f
2


-


w
2

2


<

f
4

<


f
1

+



w
1

2

.






w1 is a maximum frequency band width of the first optical signal. w2 is a maximum frequency band width of the second optical signal.


With reference to the second aspect, in a possible implementation, the output frequency of the first laser is f4, and f4=f2.


With reference to the second aspect, in a possible implementation, if the output frequency of the first laser is f3, a frequency range of receiving the second optical signal by the first coherent receiver is (f4−Δy) to f4 and f4 to (f4+Δy), and







Δ

y






"\[LeftBracketingBar]"



f
4

-

f
1




"\[RightBracketingBar]"


+



w
1

2

.






w1 is the maximum frequency band width of the first signal.


With reference to the second aspect, in a possible implementation, the single-fiber bidirectional communication method may further include: The second node receives a first parameter that is from the first node and that is for adjusting the first optical signal. Then, the second node may send first indication information to the first node. The first indication information indicates that the second node agrees to adjust the first optical signal based on the first parameter. Subsequently, the second node may receive second indication information from the first node. The second indication information indicates that the first node starts to adjust the first optical signal. In addition, the second node may receive third indication information from the first node. The third indication information indicates that the first node has completed adjustment of the first optical signal.


With reference to the second aspect, in a possible implementation, the first parameter includes w′1 and/or f′1, or Δw1 and/or f′1. Δw1=w′1−w1.


With reference to the second aspect, in a possible implementation, the single-fiber bidirectional communication method may further include: first, the second node may receive a second parameter that is from the first node and that is for adjusting the second optical signal. Then, the second node may send fourth indication information to the first node. The fourth indication information indicates that the second node agrees to adjust the second optical signal based on the second parameter. Subsequently, the second node may receive fifth indication information from the first node. The fifth indication information indicates the second node to start to adjust the second optical signal. Further, the second node may adjust the maximum frequency band width of the second optical signal to w′2, and/or adjust the center frequency of the second optical signal to f′2. Then, the second node may send sixth indication information to the first node. The sixth indication information indicates that the second node has completed adjustment of the second optical signal.


With reference to the second aspect, in a possible implementation, the first parameter includes w′2 and/or f′2, or Δw2 and/or f′2. Δw2=w′2−w2.


With reference to the second aspect, in a possible implementation, the single-fiber bidirectional communication method may further include: first, the second node may receive a third parameter that is from the first node and that is for adjusting the first optical signal and the second optical signal. Then, the second node may send seventh indication information to the first node. The seventh indication information indicates that the second node agrees to adjust the first optical signal and the second optical signal based on the third parameter. Subsequently, the second node may receive second indication information sent from the first node. The second indication information indicates that the first node starts to adjust the first optical signal. In addition, the second node may receive third indication information from the first node. The third indication information indicates that the first node has completed adjustment of the first optical signal. Further, the first node may send fifth indication information to the second node. The fifth indication information indicates the second node to start to adjust the second optical signal. In addition, the second node may adjust the maximum frequency band width of the second optical signal to w′2, and/or adjust the center frequency of the second optical signal to f′2. Then, the second node may send sixth indication information to the first node. The sixth indication information indicates that the second node has completed adjustment of the second optical signal.


With reference to the second aspect, in a possible implementation, the single-fiber bidirectional communication method may further include: first, the second node may receive a third parameter that is from the first node and that is for adjusting the first optical signal and the second optical signal. Then, the second node may send seventh indication information to the first node. The seventh indication information indicates that the second node agrees to adjust the first optical signal and the second optical signal based on the third parameter. Subsequently, the second node may further receive fifth indication information from the first node. The fifth indication information indicates the second node to start to adjust the second optical signal. In addition, the second node may adjust the maximum frequency band width of the second optical signal to w′2, and/or adjust the center frequency of the second optical signal to f′2. In addition, the second node may send sixth indication information to the first node. The sixth indication information indicates that the second node has completed adjustment of the second optical signal. Further, the second node may receive second indication information sent from the first node. The second indication information indicates that the first node starts to adjust the first optical signal. In addition, the second node may receive third indication information from the first node. The third indication information indicates that the first node has completed adjustment of the first optical signal.


With reference to the second aspect, in a possible implementation, the third parameter includes at least one of f′1, w′1, or Δw1, and at least one of f′2, w′2, or Δw2. Δw1=w′1−w1, and Δw2=w′2−w2.


With reference to the second aspect, in a possible implementation, the first node communicates with n nodes through the first optical module. n≥2. When the second node is a kth node in the n nodes, f1=fAk, and f2=fBk. fAk is a center frequency of an optical signal Ak sent by the first node to the kth node in the n nodes. fBk is a center frequency of an optical signal Bk sent by the kth node to the first node.


With reference to the second aspect, in a possible implementation, when k>1, fAk>fA(k-1), fAk>fB(k-1), fBk>fA(k-1), and fBk>fB(k-1). If k is an odd number, fAk<Bk, or if k is an even number, fAk<fAk. Alternatively, if k is an odd number, fAk<fAk, or if k is an even number, fAk<fAk.


According to a third aspect, the embodiments provide a first node. The first node may include a first optical module. The first optical module may include a first laser, a first connection unit, a first coherent receiver, a first laser modulator, and a second connection unit. The first laser is separately connected to the first laser modulator and the first coherent receiver by the first connection unit. The first coherent receiver and the first laser modulator are connected to a same optical fiber by the second connection unit.


According to a fourth aspect, a second node is provided. The second node may include a second optical module. The second optical module may include a second laser, a third connection unit, a second coherent receiver, a second laser modulator, and a fourth connection unit. The second laser is separately connected to the second laser modulator and the second coherent receiver by the third connection unit. The second coherent receiver and the second laser modulator are connected to a same optical fiber by the fourth connection unit.


According to a fifth aspect, a communication system is provided. The communication system includes a first node that performs the single-fiber bidirectional communication method according to the first aspect, and a second node that performs the single-fiber bidirectional communication method according to the second aspect.


According to a sixth aspect, a communication apparatus is provided. The communication apparatus may include a processor and a first optical module. The processor may control the first optical module to perform the foregoing method according to any implementation of the first aspect.


With reference to the sixth aspect, in a possible implementation, the processor may be coupled to a memory. The memory may store computer instructions. The processor may control, after reading the computer instructions stored in the memory, the first optical module to perform the foregoing method according to any implementation of the first aspect. Optionally, the memory may further store data that the first optical module needs to send and/or data that is received by the first optical module.


With reference to the sixth aspect, in a possible implementation, the communication apparatus may further include a communication interface. The communication interface may be configured for digital communication between the communication apparatus and another communication apparatus. In an implementation, the communication interface may be implemented through an interface circuit.


According to a seventh aspect, a communication apparatus is provided. The communication apparatus may include a processor and a second optical module. The processor may control the second optical module to perform the foregoing method according to any implementation of the second aspect.


With reference to the seventh aspect, in a possible implementation, the processor may be coupled to a memory. The memory may store computer instructions. The processor may control, after reading the computer instructions stored in the memory, the second optical module to perform the foregoing method according to any implementation of the second aspect. Optionally, the memory may further store data that the second optical module needs to send and/or data that is received by the second optical module.


With reference to the seventh aspect, in a possible implementation, the communication apparatus may further include a communication interface. The communication interface may be configured for digital communication between the communication apparatus and another communication apparatus. In an implementation, the communication interface may be implemented through an interface circuit.


According to an eighth aspect, a non-transitory computer-readable storage medium is provided. The non-transitory computer-readable storage medium stores instructions. When the instructions are run on a computer, the computer is enabled to perform the foregoing method according to any implementation of the first aspect or the second aspect.


For effects brought by any design manner of the third aspect to the eighth aspect, refer to effects brought by different design manners of the first aspect or the second aspect. Details are not described herein again.





BRIEF DESCRIPTION OF DRAWINGS


FIG. 1 is a diagram of a point-to-point communication system based on two-fiber bidirectional communication according to an embodiment;



FIG. 2 is a diagram of a point-to-multipoint communication system based on two-fiber bidirectional communication according to an embodiment;



FIG. 3 is a diagram of a point-to-point communication system based on single-fiber bidirectional communication according to an embodiment;



FIG. 4 is a diagram of a point-to-multipoint communication system based on single-fiber bidirectional communication according to an embodiment;



FIG. 5 is a diagram of a structure of an optical module according to an embodiment;



FIG. 6 is a flowchart of a single-fiber bidirectional communication method according to an embodiment;



FIG. 7 is a diagram of a first optical signal and a second optical signal according to an embodiment;



FIG. 8 is another diagram of a first optical signal and a second optical signal according to an embodiment;



FIG. 9 is a flowchart of another single-fiber bidirectional communication method according to an embodiment;



FIG. 10 is a flowchart of still another single-fiber bidirectional communication method according to an embodiment;



FIG. 11 is a flowchart of still another single-fiber bidirectional communication method according to an embodiment;



FIG. 12 is a flowchart of still another single-fiber bidirectional communication method according to an embodiment;



FIG. 13 is a diagram of expanding a first optical signal according to an embodiment;



FIG. 14 is another diagram of expanding a first optical signal according to an embodiment;



FIG. 15 is still another diagram of expanding a first optical signal according to an embodiment;



FIG. 16 is a diagram of optical signals transmitted between a first node and n nodes according to an embodiment;



FIG. 17 is another diagram of optical signals transmitted between a first node and n nodes according to an embodiment;



FIG. 18 is still another diagram of optical signals transmitted between a first node and n nodes according to an embodiment;



FIG. 19 is still another diagram of optical signals transmitted between a first node and n nodes according to an embodiment;



FIG. 20 is a flowchart of still another single-fiber bidirectional communication method according to an embodiment;



FIG. 21 is a flowchart of still another single-fiber bidirectional communication method according to an embodiment;



FIG. 22 is a flowchart of still another single-fiber bidirectional communication method according to an embodiment;



FIG. 23 is a flowchart of still another single-fiber bidirectional communication method according to an embodiment;



FIG. 24 is a diagram of expanding optical signals Ak according to an embodiment;



FIG. 25 is another diagram of expanding optical signals Ak according to an embodiment;



FIG. 26 is a diagram of a structure of a communication apparatus according to an embodiment; and



FIG. 27 is a diagram of a structure of another communication apparatus according to an embodiment.





DETAILED DESCRIPTION OF EMBODIMENTS

Before embodiments are described, related technologies are briefly described. The following interpretations and descriptions are intended to facilitate understanding of embodiments, and should not be construed as any limitation on the scope of the embodiments.


A communication mode in which both communication parties can perform sending and receiving at the same time is referred to as full-duplex communication, and a communication mode in which both communication parties cannot perform sending and receiving at the same time is referred to as half-duplex communication. At present, full-duplex communication is mostly used in an optical fiber communication system, and is also often referred to as bidirectional communication. Because a transmission medium in the optical fiber communication system is an optical fiber, and transmission of an optical signal in the optical fiber is susceptible to interference by a reflection effect, received and sent signals in bidirectional communication can be carried in different optical fibers or use different wavelengths in a same optical fiber.


Communication in which received and sent signals transmitted between both communication parties are carried in different optical fibers may be referred to as two-fiber bidirectional communication. For the two-fiber bidirectional communication, wavelengths of a received signal and a sent signal may be the same or may be different, and no limitation is required.



FIG. 1 is a diagram of a point-to-point communication system based on two-fiber bidirectional communication. As shown in FIG. 1, a node A and a node B are connected by two optical fibers. The node A sends an optical signal to the node B through an optical fiber 1, and a wavelength of the optical signal in the optical fiber 1 may be λA. The node B sends an optical signal to the node A through an optical fiber 2, and a wavelength of the optical signal in the optical fiber 2 may be λB. Values of λA and λB are not limited.



FIG. 2 is a diagram of a point-to-multipoint communication system based on two-fiber bidirectional communication. As shown in FIG. 2, a node A may be connected to n nodes, and the node A may communicate with any node in the n nodes through two optical fibers. n is a positive integer. A kth node in the n nodes may be referred to as a node Bk. k is a positive integer from 1 to n. Therefore, as shown in FIG. 2, the n nodes may include a node B1 to a node Bn. Still referring to FIG. 2, the node A may be connected to a splitter 1 by an optical fiber 1, and the splitter 1 may be separately connected to different nodes in the n nodes by one optical fiber. The node A may send an optical signal to any one of the n nodes through the optical fiber 1. The optical signal sent by the node A first arrives at the splitter 1 through the optical fiber 1, then is distributed by the splitter 1 to n optical fibers connected to the n nodes, and then is received by the n nodes. Optical signals sent by the node A to different nodes in the n nodes may be distinguished in time domain and/or frequency domain. The node A may be connected to a splitter 2 by an optical fiber 2, and the splitter 2 may be separately connected to different nodes in the n nodes by one optical fiber. The node A may receive optical signals from the n nodes through the splitter 2. An optical signal sent by any one of the n nodes to the node A first arrives at the splitter 2 through an optical fiber between the node and the splitter 2, then is aggregated to the optical fiber 2 through the splitter 2, and then is received by the node A. A wavelength of an optical signal sent by the node A to the node Bk is λAk, and a wavelength of an optical signal received by the node A from the node Bk is λBk. For example, as shown in FIG. 2, a wavelength of an optical signal sent by the node A to the node B1 is λA1, a wavelength of an optical signal received by the node A from the node B1 is λB1, a wavelength of an optical signal sent by the node A to the node B2 is λA2, a wavelength of an optical signal received by the node A from the node B2 is λB2, a wavelength of an optical signal sent by the node A to the node Bn is λAn, and a wavelength of an optical signal received by the node A from the node Bn is λBn. Values of λAk and λBk are not limited. Values of λAk and λA(k-1) are not limited. Values of λBk and λB(k-1) are not limited.


Communication in which received and sent signals transmitted between both communication parties use different wavelengths in a same optical fiber may be referred to as single-fiber bidirectional communication. For the single-fiber bidirectional communication, to avoid interference in different directions in a same optical fiber, a received signal and a sent signal use different wavelengths.



FIG. 3 is a diagram of a point-to-point communication system based on single-fiber bidirectional communication. As shown in FIG. 3, a node 301 and a node 302 are connected by one optical fiber, a wavelength of an optical signal sent by the node 301 to the node 302 is λA, a wavelength of an optical signal sent by the node 302 to the node 301 is λB, and λA≠λB.



FIG. 4 is a diagram of a point-to-multipoint communication system based on single-fiber bidirectional communication. As shown in FIG. 4, a node A may separately communicate with different nodes in n nodes through one optical fiber. A kth node in the n nodes may be referred to as a node Bk. n is a positive integer, and k is a positive integer from 1 to n. Therefore, as shown in FIG. 2, the n nodes may include a node B1 to a node Bn. Still referring to FIG. 4, the node A may be connected to a splitter 1 by an optical fiber 1, and the splitter 1 may be separately connected to different nodes in the n nodes by one optical fiber. The node A may send an optical signal to any one of the n nodes through the optical fiber 1, and receive a signal from any one of the n nodes. The optical signal sent by the node A first arrives at the splitter 1 through the optical fiber 1, then is distributed by the splitter 1 to n optical fibers connected to the n nodes, and then is received by the n nodes. Optical signals sent by the node A to different nodes in the n nodes may be distinguished in time domain and/or frequency domain. An optical signal sent by any one of the n nodes to the node A first arrives at the splitter 1 through an optical fiber between the node and the splitter 1, then is aggregated to the optical fiber 1 through the splitter 1, and then is received by the node A. A wavelength of an optical signal sent by the node A to the node Bk is λAk, and a wavelength of an optical signal received by the node A from the node Bk is λBk. For example, as shown in FIG. 4, a wavelength of an optical signal sent by the node A to the node B1 is λA1, a wavelength of an optical signal received by the node A from the node B1 is λB1, a wavelength of an optical signal sent by the node A to the node B2 is λA2, a wavelength of an optical signal received by the node A from the node B2 is λB2, a wavelength of an optical signal sent by the node A to the node Bn is λAn, and a wavelength of an optical signal received by the node A from the node Bn is λBn. λAk≠λBk. Values of λAk and λA(k-1) are not limited. Values of λBk and λB(k-1) are not limited.


Compared with two-fiber bidirectional communication, single-fiber bidirectional communication can use only one optical fiber to complete work of two optical fibers, so that optical fiber resources can be greatly saved. Therefore, currently, single-fiber bidirectional communication is widely used in the field of optical communication.


However, in the conventional technology, because wavelengths of received and sent signals transmitted between both communication parties are different, two lasers of different wavelengths need to be used, resulting in an increase in costs of an optical module. How to reduce costs of a single-fiber bidirectional communication system is a problem that needs to be resolved.


To reduce costs of a single-fiber bidirectional communication system, embodiments provide a single-fiber bidirectional communication method.


The following describes the solutions in embodiments with reference to the accompanying drawings. In descriptions of the embodiments, unless otherwise specified, “/” represents an “or” relationship between associated objects. For example, A/B may represent A or B. In the embodiments, “and/or” describes only an association relationship for describing associated objects and represents that three relationships may exist. For example, A and/or B may represent the following three cases: only A exists, both A and B exist, and only B exists, where A or B may be singular or plural. In addition, in descriptions of the embodiments, unless otherwise specified, “a plurality of” means two or more than two. At least one of the following items (pieces) or a similar expression thereof refers to any combination of these items, including any combination of singular items (pieces) or plural items (pieces). For example, at least one item (piece) of a, b, or c may indicate: a, b, c, a and b, a and c, b and c, or a, b, and c, where a, b, and c may be singular or plural. In addition, to clearly describe the solutions in embodiments, terms such as first and second are used in embodiments to distinguish between same items or similar items that provide basically same functions or purposes. A person skilled in the art may understand that the terms such as “first” and “second” do not limit a quantity or an execution sequence, and the terms such as “first” and “second” do not indicate a definite difference. In addition, in embodiments, terms “for example” or “such as” are used to represent giving an example, an illustration, or a description. Any embodiment or design scheme described as an “example” or “for example” in embodiments should not be explained as being more preferred or having more advantages than another embodiment or design scheme. Thus, use of the terms such as “for example” or “example” are intended to present a related concept in a specific manner to facilitate understanding.


First, a service scenario or a communication system to which the single-fiber bidirectional communication method provided in embodiments is applied is described. The embodiments may be applied to various optical communication scenarios, for example, may be applied to scenarios such as a passive optical network (PON), a passive optical local area network (passive optical LAN, POL), an industrial optical network, and an in-vehicle optical network.


In a possible implementation, the single-fiber bidirectional communication method provided in embodiments may be applied to the communication system shown in FIG. 3 or FIG. 4. FIG. 3 is used as an example. A first node may be the node A, and a second node may be the node B. FIG. 4 is used as an example. A first node may be the node A, and a second node may be any one of the node B1 to the node Bn.


In an optical communication system, a node that performs optical communication may implement receiving and sending of optical signals through an optical module. FIG. 5 is a diagram of a structure of an optical module according to an embodiment. As shown in FIG. 5, an optical module 50 may include a laser 501, a connection unit 502, a laser modulator 503, a coherent receiver 504, and a connection unit 505. The laser 501 may be connected to the laser modulator 503 and the coherent receiver 504 by the connection unit 502, and the laser modulator 503 and the coherent receiver 504 may be connected to a same optical fiber by the connection unit 505. Laser light emitted by the laser 501 may be separately input into the laser modulator 503 and the coherent receiver 504 through a splitter 502. A sent optical signal output by the laser modulator 503 may be transmitted to the optical fiber through the connection unit 505. A received optical signal from the optical fiber may be input into the coherent receiver 504 through the connection unit 505.


Optionally, the connection unit 502 may be an optical splitter or a splitter, and the connection unit 505 may be a coupler, a circulator, or a filter.


Optionally, the laser modulator 503 may include two input interfaces. As shown in FIG. 5, a sent electrical signal and the laser light emitted by the laser 501 are inputs of the laser modulator 503. After the sent electrical signal and the laser light emitted by the laser 501 are input into the laser modulator 503, the laser modulator 503 may modulate the sent electrical signal onto an amplitude of the laser light emitted by the laser, to output the sent optical signal.


Optionally, the laser modulator 503 may be an intensity modulator. For example, the modulator may be a Mach-Zehnder modulator (MZM), an electro absorption modulator (EAM), or the like.


Optionally, the coherent receiver 504 may include two input interfaces. As shown in FIG. 5, the received optical signal and the laser light emitted by the laser 501 are inputs of the coherent receiver 504. After the received optical signal and the laser light emitted by the laser 501 are input into the coherent receiver 504, the two beams of light undergo interference and superimposition in the coherent receiver 504, and then are converted by a photodetector to output a received electrical signal.


In embodiments, the laser light emitted by the laser 501 may be used as local oscillator laser light of the coherent receiver 504, and the received optical signal from the optical fiber may be used as received signal light of the coherent receiver 504, which are uniformly described herein.


Optionally, the coherent receiver 504 may be a heterodyne coherent receiver or an intradyne coherent receiver. The heterodyne coherent receiver may include a single-polarization heterodyne coherent receiver and a dual-polarization heterodyne coherent receiver, and the intradyne coherent receiver may include a single-polarization intradyne coherent receiver and a dual-polarization intradyne coherent receiver. The single-polarization heterodyne coherent receiver and the single-polarization intradyne coherent receiver are applicable to a scenario in which a received optical signal is single-polarized light, and the dual-polarization heterodyne coherent receiver and the dual-polarization intradyne coherent receiver are applicable to a scenario in which a received optical signal is dual-polarized light.


In embodiments, a first node may communicate with a second node through a first optical module. The first optical module may include a first laser, a first connection unit, a first coherent receiver, a first laser modulator, and a second connection unit. Optionally, a structure of the first optical module may be similar to that of the optical module shown in FIG. 5. For example, the first laser may be the laser 501, the first connection unit may be the connection unit 502, the first laser modulator may be the laser modulator 503, the first coherent receiver may be the coherent receiver 504, and the second connection unit may be the connection unit 505. The second node may communicate with the first node through a second optical module. The second optical module may include a second laser, a third connection unit, a second coherent receiver, a second laser modulator, and a fourth connection unit. Optionally, a structure of the second optical module may be similar to that of the optical module shown in FIG. 5. For example, the second laser may be the laser 501, the third connection unit may be the connection unit 502, the second laser modulator may be the laser modulator 503, the second coherent receiver may be the coherent receiver 504, and the fourth connection unit may be the connection unit 505.


The following describes in detail a specific implementation of the single-fiber bidirectional communication method provided in embodiments with reference to the accompanying drawings.



FIG. 6 is a flowchart of a single-fiber bidirectional communication method according to the embodiments. In the method, a first node may communicate with a second node through a first optical module, and the second node may communicate with the first node through a second optical module. The first optical module and the second optical module may be as described above.


Referring to FIG. 6, the single-fiber bidirectional communication method provided in this embodiment includes the following steps 601 and 602.


Step 601: The first node sends a first optical signal to the second node through a first laser modulator, and correspondingly, the second node receives the first optical signal through a second coherent receiver.


The first optical signal may be obtained by modulating, by the first laser modulator, laser light emitted by a first laser. In a possible implementation, the first laser modulator may receive, through a first connection unit, the laser light emitted by the first laser. Then, the first laser modulator may perform modulation based on a first electrical signal and the laser light emitted by the first laser, to obtain the first optical signal.


Optionally, the first optical signal sent by the first laser modulator may be transmitted to an optical fiber through a second connection unit, and then sent to the second node through the optical fiber.


When the second node receives the first optical signal through the second coherent receiver, laser light emitted by a second laser may be used as local oscillator light of the second coherent receiver. In a possible implementation, the second coherent receiver may receive the first optical signal from the optical fiber through a fourth connection unit, and may receive, through a third connection unit, the laser light emitted by the second laser. Then, the second coherent receiver may perform processing based on the first optical signal and the laser light emitted by the second laser, to obtain the first electrical signal.


Step 602: The second node sends a second optical signal to the first node through a second laser modulator, and correspondingly, the first node receives the second optical signal from the second node through a first coherent receiver.


The second optical signal may be obtained by modulating, by the second laser modulator, the laser light emitted by the second laser. In a possible implementation, the second laser modulator may receive, through the third connection unit, the laser light emitted by the second laser. Then, the second laser modulator may perform modulation based on a second electrical signal and the laser light emitted by the first laser, to obtain the second optical signal.


Optionally, the second optical signal sent by the second laser modulator may be transmitted to an optical fiber through the fourth connection unit, and then sent to the first node through the optical fiber.


When the first node receives the second optical signal through the first coherent receiver, the laser light emitted by the first laser may be used as local oscillator light of the first coherent receiver. In a possible implementation, the first coherent receiver may receive the second optical signal from the optical fiber through the second connection unit, and may receive, through the first connection unit, the laser light emitted by the first laser. Then, the first coherent receiver may perform processing based on the second optical signal and the laser light emitted by the first laser, to obtain the second electrical signal.


Based on the single-fiber bidirectional communication method in step 601 and step 602, the first node may implement functions of sending the first optical signal and receiving the second optical signal through the first laser, and the second node may implement functions of sending the second optical signal and receiving the first optical signal through the second laser. In this solution, each of the first node and the second node needs to use only one laser. This solution can effectively reduce costs of optical communication.


Optionally, a center frequency of the first optical signal may be f1, a center frequency of the second optical signal may be f2, f1 is different from f2, and |f1−f2 is less than a first threshold. It should be understood that f1 is different from f2, so that interference can be small when the first optical signal and the second optical signal are transmitted on a same optical fiber. If |f1−f2| is less than the first threshold, it can be ensured that the first node and the second node each can use one laser to implement functions of receiving and sending signals. If a difference between f1 and f2 is greater than the first threshold, a frequency range of the second optical signal exceeds a receiving frequency range of the first coherent receiver, and the first node cannot correctly receive the second optical signal through the first coherent receiver; and a frequency range of the first optical signal exceeds a receiving frequency range of the second coherent receiver, and the second node cannot correctly receive the first optical signal through the second coherent receiver.


Optionally, a value relationship between the center frequency f1 of the first optical signal and the center frequency f2 of the second optical signal may not be limited, and f1<f2, or f2<f1.


Optionally, the first threshold is related to modulation frequency ranges of the first laser modulator and the second laser modulator and the receiving frequency ranges of the first coherent receiver and the second coherent receiver.


Optionally, the first optical signal and the second optical signal may be single-wavelength signals, or may be signals including a plurality of sub-wavelengths. This is not limited.


Optionally, each of the first optical signal and the second optical signal has a specific bandwidth, and occupies a continuous frequency range. A maximum frequency band width of the first optical signal may be w1, and a maximum frequency band width of the second optical signal may be w2.


Optionally, the frequency range of the first optical signal and the frequency range of the second optical signal do not overlap or partially overlap. In a possible implementation,









|


f
1

-

f
2





"\[RightBracketingBar]"





w
1

2


,


and





"\[LeftBracketingBar]"



f
1

-

f
2




"\[RightBracketingBar]"







w
2

2

.






It is required that f1 and f2 satisfy









|


f
1

-

f
2





"\[RightBracketingBar]"





w
1

2


,


and





"\[LeftBracketingBar]"



f
1

-

f
2




"\[RightBracketingBar]"






w
2

2


,




so that it can be ensured that interference between the first optical signal and the second optical signal is small, and bidirectional communication is not affected. When the frequency range of the first optical signal and the frequency range of the second optical signal do not overlap, the first optical signal and the second optical signal do not interfere with each other.


Optionally, when the frequency range of the first optical signal and the frequency range of the second optical signal do not overlap, if the frequency range of the first optical signal is closer to the frequency range of the second optical signal, modulation bandwidths that need to be configured for the first laser modulator and the second laser modulator are smaller, and receiving bandwidths that need to be configured for the first coherent receiver and the second coherent receiver are smaller. In a possible implementation, the frequency range of the first optical signal and the frequency range of the second optical signal are continuous in time domain.


For example, f1<f2, and the frequency range of the first optical signal and the frequency range of the second optical signal are continuous in time domain. FIG. 7 is a diagram of the first optical signal and the second optical signal.


For example, f2<f1, and the frequency range of the first optical signal and the frequency range of the second optical signal are continuous in time domain. FIG. 8 is another diagram of the first optical signal and the second optical signal.


Optionally, if an output frequency of the first laser is f3,









f
1

-


w
1

2


<

f
3

<


f
2

+


w
2

2



,



or



f
2


-


w
2

2


<

f
3

<


f
1

+



w
1

2

.

f
1


-



w
1

2



or



f
2


-


w
2

2







is a minimum frequency value in the frequency range occupied by the first optical signal and the second optical signal, and







f
2

+



w
2

2



or



f
1


+


w
1

2





is a maximum frequency value in the frequency range occupied by the first optical signal and the second optical signal. In other words, the output frequency of the first laser is between the minimum frequency value in the frequency range occupied by the first optical signal and the second optical signal and the maximum frequency value in the frequency range occupied by the first optical signal and the second optical signal. It should be understood that if the output frequency of the first laser meets the foregoing requirement, a bandwidth requirement for the first laser modulator and the first coherent receiver can be reduced.


For example, the diagram of the first optical signal and the second optical signal shown in FIG. 7 is used as an example. When









f
1

-


w
1

2


<

f
3

<


f
2

+


w
2

2



,




the output frequency of the first laser falls within the frequency range of the first optical signal and the second optical signal. The diagram of the first optical signal and the second optical signal shown in FIG. 8 is used as an example. When









f
2

-


w
2

2


<

f
3

<


f
1

+


w
1

2



,




the output frequency of the first laser falls within the frequency range of the first optical signal and the second optical signal. If the output frequency of the first laser falls within the frequency range of the first optical signal and the second optical signal, when the first laser modulator modulates the first optical signal based on the laser light emitted by the first laser and the first coherent receiver coherently receives the second optical signal based on the laser light emitted by the first laser, a required bandwidth range is small. Still referring to FIG. 7 and FIG. 8, if the output frequency of the first laser is outside the frequency range of the first optical signal and the second optical signal, a bandwidth range required by the first laser modulator and the first coherent receiver is expanded.


Optionally, if an output frequency of the second laser is f4,









f
1

-


w
1

2


<

f
4

<


f
2

+


w
2

2



,



or



f
2


-


w
2

2


<

f
4

<


f
1

+



w
1

2

.







In other words, the output frequency of the second laser is between the minimum frequency value in the frequency range occupied by the first optical signal and the second optical signal and the maximum frequency value in the frequency range occupied by the first optical signal and the second optical signal. It should be understood that if the output frequency of the second laser meets the foregoing requirement, a bandwidth requirement for the second laser modulator and the second coherent receiver can be reduced.


For example, the diagram of the first optical signal and the second optical signal shown in FIG. 7 is used as an example. When









f
1

-


w
1

2


<

f
4

<


f
2

+


w
2

2



,




the output frequency of the second laser falls within the frequency range of the first optical signal and the second optical signal. The diagram of the first optical signal and the second optical signal shown in FIG. 8 is used as an example. When









f
2

-


w
2

2


<

f
4

<


f
1

+


w
1

2



,




the output frequency of the second laser falls within the frequency range of the first optical signal and the second optical signal. If the output frequency of the second laser falls within the frequency range of the first optical signal and the second optical signal, when the second laser modulator modulates the second optical signal based on the laser light emitted by the second laser and the second coherent receiver coherently receives the first optical signal based on the laser light emitted by the second laser, a required bandwidth range is small. Still referring to FIG. 7 and FIG. 8, if the output frequency of the second laser is outside the frequency range of the first optical signal and the second optical signal, a bandwidth range required by the second laser modulator and the second coherent receiver is expanded.


In a possible implementation, f3 may be equal to f1, and f4 may be equal to f2.


Optionally, if the output frequency of the first laser is f3, a frequency range of receiving the second optical signal by the first coherent receiver is (f3−Δx) to f3 and f3 to (f3+Δx), and







Δ

x






"\[LeftBracketingBar]"



f
3

-

f
2




"\[RightBracketingBar]"


+



w
2

2

.






Based on this configuration method, the frequency range occupied by the second optical signal is within the receiving frequency range of the first coherent receiver, to ensure that the first coherent receiver can receive the second optical signal.


Optionally, if the output frequency of the second laser is f4, a frequency range of receiving the first optical signal by the second coherent receiver is (f4−Δy) to f4 and f4 to (f4+Δy), and







Δ

y






"\[LeftBracketingBar]"



f
4

-

f
1




"\[RightBracketingBar]"


+



w
1

2

.






Based on this configuration method, the frequency range occupied by the first optical signal is within the receiving frequency range of the second coherent receiver, to ensure that the second coherent receiver can receive the first optical signal.


Optionally, based on the single-fiber bidirectional communication method provided in the embodiments, the first node and the second node may further adjust the first optical signal and/or the second optical signal through signaling exchange. The adjustment performed on the first optical signal and/or the second optical signal includes center frequency adjustment and/or bandwidth adjustment.


The adjustment of the first optical signal is used as an example. FIG. 9 is a flowchart of another single-fiber bidirectional communication method according to the embodiments. As shown in FIG. 9, the single-fiber bidirectional communication method provided in the embodiments may include step 901 to step 905.


Step 901: A first node sends, to a second node, a first parameter for adjusting a first optical signal, and correspondingly, the second node receives the first parameter from the first node.


Optionally, if a center frequency of the first optical signal needs to be adjusted, the first parameter may be a parameter related to adjustment of the center frequency of the first optical signal. In an implementation, the first parameter may be an adjusted center frequency f′1 of the first optical signal.


Optionally, when the center frequency of the first optical signal is adjusted and a bandwidth of the first optical signal is not adjusted,










"\[LeftBracketingBar]"



f
1


-

f
2




"\[RightBracketingBar]"





w
1

2


,


and





"\[LeftBracketingBar]"



f
1


-

f
2




"\[RightBracketingBar]"







w
2

2

.






Optionally, if the bandwidth of the first optical signal needs to be adjusted, the first parameter may be a parameter related to adjustment of the bandwidth of the first optical signal. In an implementation, the first parameter may be an adjusted maximum frequency band width w′1 occupied by the first optical signal, or the first parameter is a difference Δw1 between the adjusted maximum frequency band width occupied by the first optical signal and a maximum frequency band width occupied by the first optical signal before the adjustment, where Δw1=w′1−w1.


Optionally, when the center frequency of the first optical signal is not adjusted and the bandwidth of the first optical signal is adjusted,









"\[LeftBracketingBar]"



f
1

-

f
2




"\[RightBracketingBar]"






w
1


2



and





"\[LeftBracketingBar]"



f
1

-

f
2




"\[RightBracketingBar]"







w
2

2

.





Optionally, if both the bandwidth and the center frequency of the first optical signal need to be adjusted, the first parameter may be a parameter related to adjustment of the center frequency and the bandwidth of the first optical signal. In an implementation, the first parameter may include w′1 and f′1, or Δw1 and f′1.


Optionally, when both the center frequency and the bandwidth of the first optical signal are adjusted,










"\[LeftBracketingBar]"



f
1


-

f
2




"\[RightBracketingBar]"





w
1


2


,


and





"\[LeftBracketingBar]"



f
1


-

f
2




"\[RightBracketingBar]"







w
2

2

.






Step 902: The second node sends first indication information to the first node, and correspondingly, the first node receives the first indication information from the second node. The first indication information indicates that the second node agrees to adjust the first optical signal based on the first parameter.


Optionally, if an adjusted frequency range of the first optical signal indicated by the first parameter does not exceed a maximum frequency range of receiving supported by a second coherent receiver, the second node may send the first indication information to the first node.


After receiving the first indication information from the second node, the first node determines that the first optical signal can be adjusted, and then performs subsequent steps 903 to 905.


Step 903: The first node sends second indication information to the second node, and correspondingly, the second node receives the second indication information from the first node. The second indication information indicates that the first node starts to adjust the first optical signal.


After receiving the second indication information, the second node may learn that the first node starts to adjust the first optical signal. In this case, the second node is in a waiting state until learning that the first node has completed adjustment. In the waiting state, the second node does not send a signal to the first node.


Step 904: The first node adjusts the maximum frequency band width of the first optical signal to w′1, and/or adjusts the center frequency of the first optical signal to f′1.


Optionally, if the first parameter is f′1, the first node may adjust the center frequency of the first optical signal to f′1.


Optionally, if the first parameter is w′1 or Δw1, the first node may adjust the maximum frequency band width of the first optical signal to w′1.


Optionally, if the first parameter includes w′1 and f′1, or Δw1 and f′1, the first node may adjust the maximum frequency band width of the first optical signal to w′1, and adjust the center frequency of the first optical signal to f′1.


Step 905: The first node sends third indication information to the second node, and correspondingly, the second node receives the third indication information from the first node. The third indication information indicates that the first node has completed adjustment of the first optical signal.


After receiving the third indication information, the second node ends the waiting state.


Optionally, after the second node receives the third indication information, the second node may further adaptively adjust a receiving frequency range of the second coherent receiver based on the first parameter, and determine that an adjusted first optical signal can be received.


In a possible implementation, when the center frequency of the first optical signal remains unchanged and the maximum frequency band width is adjusted to w′1, if an output frequency of a second laser is f4, a frequency range of receiving the adjusted first optical signal by the second coherent receiver is (f4−Δa) to f4 and f4 to (f4+Δα), where







Δ

a






"\[LeftBracketingBar]"



f
4

-

f
1




"\[RightBracketingBar]"


+



w
1


2

.






In a possible implementation, when the adjusted center frequency of the first optical signal is adjusted to f′1 and the maximum frequency band width remains unchanged, if the output frequency of the second laser is f4, a frequency range of receiving the adjusted first optical signal by the second coherent receiver is (f4−Δb) to f4 and f4 to (f4+Δb), where







Δ

b






"\[LeftBracketingBar]"



f
4

-

f
1





"\[RightBracketingBar]"


+



w
1

2

.






In a possible implementation, when the adjusted center frequency of the first optical signal is adjusted to f′1 and the maximum frequency band width is adjusted to w′1, if the output frequency of the second laser is f4, a frequency range of receiving the adjusted first optical signal by the second coherent receiver is (f4−Δc) to f4 and f4 to (f4+Δc), where







Δ

c






"\[LeftBracketingBar]"



f
4

-

f
1





"\[RightBracketingBar]"


+



w
1


2

.






The adjustment of the second optical signal is used as an example. FIG. 10 is a flowchart of still another single-fiber bidirectional communication method according to the embodiments. As shown in FIG. 10, the single-fiber bidirectional communication method provided in the embodiments may include step 1001 to step 1005.


Step 1001: A first node sends, to a second node, a second parameter for adjusting a second optical signal, and correspondingly, the second node receives the second parameter from the first node.


Optionally, if a center frequency of the second optical signal needs to be adjusted, the second parameter may be a parameter related to adjustment of the center frequency of the second optical signal. In an implementation, the second parameter may be an adjusted center frequency f′2 of the second optical signal.


Optionally, when the center frequency of the second optical signal is adjusted and a bandwidth of the second optical signal is not adjusted,










"\[LeftBracketingBar]"



f
1

-

f
2





"\[RightBracketingBar]"





w
1

2


,


and





"\[LeftBracketingBar]"



f
1

-

f
2





"\[RightBracketingBar]"







w
2

2

.






Optionally, if the bandwidth of the second optical signal needs to be adjusted, the second parameter may be a parameter related to adjustment of the bandwidth of the second optical signal. In an implementation, the second parameter may be an adjusted maximum frequency band width w′2 occupied by the second optical signal, or the second parameter is a difference Δw2 between the adjusted maximum frequency band width occupied by the second optical signal and a maximum frequency band width occupied by the second optical signal before the adjustment, where Δw2=w′2−w2.


Optionally, when the center frequency of the second optical signal is not adjusted and the bandwidth of the second optical signal is adjusted,










"\[LeftBracketingBar]"



f
1

-

f
2




"\[RightBracketingBar]"





w
1

2


,


and





"\[LeftBracketingBar]"



f
1

-

f
2




"\[RightBracketingBar]"







w
2


2

.






Optionally, if both the bandwidth and the center frequency of the second optical signal need to be adjusted, the second parameter may be a parameter related to adjustment of the center frequency and the bandwidth of the second optical signal. In an implementation, the second parameter may include w′2 and/or f′2, or Δw2 and/or f′2.


Optionally, when both the center frequency and the bandwidth of the second optical signal are adjusted,










"\[LeftBracketingBar]"



f
1

-

f
2





"\[RightBracketingBar]"





w
1

2


,


and





"\[LeftBracketingBar]"



f
1

-

f
2





"\[RightBracketingBar]"







w
2


2

.






Step 1002: The second node sends fourth indication information to the first node, and correspondingly, the first node receives the fourth indication information from the second node. The fourth indication information indicates that the second node agrees to adjust the second optical signal based on the second parameter.


Optionally, if an adjusted frequency range of the second optical signal indicated by the second parameter does not exceed a maximum frequency range of modulation supported by a second laser modulator, the second node sends the fourth indication information to the first node.


After receiving the fourth indication information from the second node, the first node determines that the second optical signal can be adjusted, and then performs subsequent steps 1003 to 1005.


Step 1003: The first node sends fifth indication information to the second node, and correspondingly, the second node receives the fifth indication information from the first node. The fifth indication information indicates the second node to start to adjust the second optical signal.


The second node may start to adjust the second optical signal based on an indication of the fifth indication information.


After sending the fifth indication information, the first node is in a waiting state until learning that the second node has completed adjustment. In the waiting state, the first node does not send a signal to the second node.


Step 1004: The second node adjusts the maximum frequency band width of the second optical signal to w′2, and/or adjusts the center frequency of the second optical signal to f′2.


Optionally, if the second parameter is f′2, the first node may adjust the center frequency of the second optical signal to f′2.


Optionally, if the second parameter is w′2 or Δw2, the first node may adjust the maximum frequency band width of the second optical signal to w′2.


Optionally, if the second parameter includes w′2 and f′2, or Δw2 and f′2, the first node may adjust the maximum frequency band width of the second optical signal to w′2, and adjust the center frequency of the second optical signal to f′2.


Step 1005: The second node sends sixth indication information to the first node, and correspondingly, the first node receives the sixth indication information from the second node. The sixth indication information indicates that the second node has completed adjustment of the second optical signal.


After receiving the sixth indication information, the first node ends the waiting state.


Optionally, after the first node receives the sixth indication information, the first node may further adaptively adjust a receiving frequency range of a first coherent receiver based on the second parameter, and determine that an adjusted second optical signal can be received.


In a possible implementation, when the adjusted center frequency of the second optical signal remains unchanged and the maximum frequency band width is adjusted to w′2, if an output frequency of a first laser is f3, a frequency range of receiving the adjusted second optical signal by the first coherent receiver is (f3−Δd) to f3 and f3 to (f3+Δd),







Δ

d






"\[LeftBracketingBar]"



f
3

-

f
2




"\[RightBracketingBar]"


+



w
2


2

.






In a possible implementation, when the adjusted center frequency of the second optical signal is adjusted to f′2 and the maximum frequency band width remains unchanged, if the output frequency of the first laser is f3, a frequency range of receiving the adjusted second optical signal by the first coherent receiver is (f3−Δe) to f3 and f3 to (f3+Δe), where







Δ

e






"\[LeftBracketingBar]"



f
3

-

f
2





"\[RightBracketingBar]"


+



w
2

2

.






In a possible implementation, when the adjusted center frequency of the second optical signal is adjusted to f′2 and the maximum frequency band width is adjusted to w′2, if the output frequency of the first laser is f3, a frequency range of receiving the adjusted second optical signal by the first coherent receiver is (f3−Δf) to f3 and f3 to (f3+Δf), where







Δ

f






"\[LeftBracketingBar]"



f
3

-

f
2





"\[RightBracketingBar]"


+



w
2


2

.






The adjustment of the first optical signal and the second optical signal is used as an example. FIG. 11 is a flowchart of still another single-fiber bidirectional communication method according to the embodiments. As shown in FIG. 11, the single-fiber bidirectional communication method provided in the embodiments may include step 1101 to step 1108.


Step 1101: A first node sends, to a second node, a third parameter for adjusting a first optical signal and a second optical signal, and correspondingly, the second node receives the third parameter from the first node.


Optionally, if a center frequency of the first optical signal and a center frequency of the second optical signal need to be adjusted, the third parameter may be a parameter related to adjustment of the center frequency of the first optical signal and adjustment of the center frequency of the second optical signal. In an implementation, the third parameter may include f′1 and f′2.


Optionally, when the center frequency of the first optical signal and the center frequency of the second optical signal are adjusted,










"\[LeftBracketingBar]"



f
1


-

f
2





"\[RightBracketingBar]"





w
1

2


,


and





"\[LeftBracketingBar]"



f
1


-

f
2





"\[RightBracketingBar]"







w
2

2

.






Optionally, if a bandwidth of the first optical signal and a bandwidth of the second optical signal need to be adjusted, the third parameter may be a parameter related to adjustment of the bandwidth of the first optical signal and adjustment of the bandwidth of the second optical signal. In an implementation, the third parameter may include w′1 and w′2, or Δw1 and Δw2, or w′1 and Δw2, or Δw1 and w′2.


Optionally, when the bandwidth of the first optical signal and the bandwidth of the second optical signal are adjusted,










"\[LeftBracketingBar]"



f
1

-

f
2




"\[RightBracketingBar]"





w
1


2


,


and





"\[LeftBracketingBar]"



f
1

-

f
2




"\[RightBracketingBar]"







w
2


2

.






Optionally, if the bandwidth of the first optical signal and the center frequency of the second optical signal need to be adjusted, the third parameter may be a parameter related to adjustment of the bandwidth of the first optical signal and adjustment of the center frequency of the second optical signal. In an implementation, the third parameter may include w′1 and f′2, or Δw1 and f′2.


Optionally, when the bandwidth of the first optical signal and the center frequency of the second optical signal are adjusted,










"\[LeftBracketingBar]"



f
1

-

f
2





"\[RightBracketingBar]"





w
1


2


,


and





"\[LeftBracketingBar]"



f
1

-

f
2





"\[RightBracketingBar]"







w
2

2

.






Optionally, if the bandwidth of the first optical signal, the center frequency of the first optical signal, and the center frequency of the second optical signal need to be adjusted, the third parameter may be a parameter related to adjustment of the bandwidth of the first optical signal, adjustment of the center frequency of the first optical signal, and adjustment of the center frequency of the second optical signal. In an implementation, the third parameter may include w′1, f′1, and f′2, or Δw1, f′1, and f′2.


Optionally, when the bandwidth of the first optical signal, the center frequency of the first optical signal, and the center frequency of the second optical signal are adjusted,










"\[LeftBracketingBar]"



f
1


-

f
2





"\[RightBracketingBar]"





w
1


2


,


and





"\[LeftBracketingBar]"



f
1


-

f
2





"\[RightBracketingBar]"







w
2

2

.






Optionally, if the bandwidth of the second optical signal and the center frequency of the first optical signal need to be adjusted, the third parameter may be a parameter related to adjustment of the bandwidth of the second optical signal and adjustment of the center frequency of the first optical signal. In an implementation, the third parameter may include w′2 and f′1, or Δw2 and f′1.


Optionally, when the bandwidth of the second optical signal and the center frequency of the first optical signal are adjusted,










"\[LeftBracketingBar]"



f
1


-

f
2




"\[RightBracketingBar]"





w
1

2


,


and





"\[LeftBracketingBar]"



f
1


-

f
2




"\[RightBracketingBar]"







w
2


2

.






Optionally, if the bandwidth of the second optical signal, the center frequency of the second optical signal, and the center frequency of the first optical signal need to be adjusted, the third parameter may be a parameter related to adjustment of the bandwidth of the second optical signal, adjustment of the center frequency of the second optical signal, and adjustment of the center frequency of the first optical signal. In an implementation, the third parameter may include w′2, f′2, and f′1, or Δw2, f′2, and f′1.


Optionally, when the bandwidth of the second optical signal, the center frequency of the second optical signal, and the center frequency of the first optical signal are adjusted,










"\[LeftBracketingBar]"



f
1


-

f
2





"\[RightBracketingBar]"





w
1

2


,


and





"\[LeftBracketingBar]"



f
1


-

f
2





"\[RightBracketingBar]"







w
2


2

.






Step 1102: The second node sends seventh indication information to the first node, and correspondingly, the first node receives the seventh indication information from the second node. The seventh indication information indicates that the second node agrees to adjust the first optical signal and the second optical signal based on the third parameter.


Optionally, if an adjusted frequency range of the first optical signal indicated by the third parameter does not exceed a maximum frequency range of receiving supported by a second coherent receiver and an adjusted frequency range of the second optical signal does not exceed a maximum frequency range of modulation supported by a second laser modulator, the second node may send the seventh indication information to the first node.


After receiving the seventh indication information from the second node, the first node determines that the first optical signal and the second optical signal can be adjusted, and then performs subsequent steps 1103 to 1108.


Step 1103: The first node sends second indication information to the second node, and correspondingly, the second node receives the second indication information from the first node. The second indication information indicates that the first node starts to adjust the first optical signal.


For step 1103, refer to related descriptions in step 903. Details are not described herein again.


Step 1104: The first node adjusts a maximum frequency band width of the first optical signal to w′1, and/or adjusts the center frequency of the first optical signal to f′1.


Optionally, if the third parameter includes f′1, the first node may adjust the center frequency of the first optical signal to f′1.


Optionally, if the third parameter includes w′1 or Δw1, the first node may adjust the maximum frequency band width of the first optical signal to w′1.


Optionally, if the third parameter includes w′1 and f′1, or Δw1 and f′1, the first node may adjust the maximum frequency band width of the first optical signal to w′1, and adjust the center frequency of the first optical signal to f′1.


Step 1105: The first node sends third indication information to the second node, and correspondingly, the second node receives the third indication information from the first node. The third indication information indicates that the first node has completed adjustment of the first optical signal.


For step 1105, refer to related descriptions in step 905. Details are not described herein again.


Step 1106: The first node sends fifth indication information to the second node, and correspondingly, the second node receives the fifth indication information from the first node. The fifth indication information indicates the second node to start to adjust the second optical signal.


For step 1106, refer to related descriptions in step 1003. Details are not described herein again.


Step 1107: The second node adjusts a maximum frequency band width of the second optical signal to w′2, and/or adjusts the center frequency of the second optical signal to f′2.


Optionally, if the third parameter includes f′2, the second node may adjust the center frequency of the second optical signal to f′2.


Optionally, if the third parameter includes w′2 or Δw2, the second node may adjust the maximum frequency band width of the second optical signal to w′2.


Optionally, if the third parameter includes w′2 and f′2, or Δw2 and f′2, the second node may adjust the maximum frequency band width of the second optical signal to w′2, and adjust the center frequency of the first optical signal to f′2.


Step 1108: The second node sends sixth indication information to the first node, and correspondingly, the first node receives the sixth indication information from the second node. The sixth indication information indicates that the second node has completed adjustment of the second optical signal.


For step 1108, refer to related descriptions in step 1005. Details are not described herein again.


The adjustment of the first optical signal and the second optical signal continues to be used as an example. FIG. 12 is a flowchart of still another single-fiber bidirectional communication method according to the embodiments. As shown in FIG. 12, the single-fiber bidirectional communication method provided in the embodiments may include step 1201 to step 1208.


Step 1201: A first node sends, to a second node, a third parameter for adjusting a first optical signal and a second optical signal, and correspondingly, the second node receives the third parameter from the first node.


For step 1201, refer to related descriptions in step 1101. Details are not described herein again.


Step 1202: The second node sends seventh indication information to the first node, and correspondingly, the first node receives the seventh indication information from the second node. The seventh indication information indicates that the second node agrees to adjust the first optical signal and the second optical signal based on the third parameter.


For step 1202, refer to related descriptions in step 1102. Details are not described herein again.


Step 1203: The first node sends fifth indication information to the second node, and correspondingly, the second node receives the fifth indication information from the first node. The fifth indication information indicates the second node to start to adjust the second optical signal.


For step 1203, refer to related descriptions in step 1106. Details are not described herein again.


Step 1204: The second node adjusts a maximum frequency band width of the second optical signal to w′2, and/or adjusts the center frequency of the second optical signal to f′2.


For step 1204, refer to related descriptions in step 1107. Details are not described herein again.


Step 1205: The second node sends sixth indication information to the first node, and correspondingly, the first node receives the sixth indication information from the second node. The sixth indication information indicates that the second node has completed adjustment of the second optical signal.


For step 1205, refer to related descriptions in step 1108. Details are not described herein again.


Step 1206: The first node sends second indication information to the second node, and correspondingly, the second node receives the second indication information from the first node. The second indication information indicates that the first node starts to adjust the first optical signal.


For step 1206, refer to related descriptions in step 1103. Details are not described herein again.


Step 1207: The first node adjusts a maximum frequency band width of the first optical signal to w′1, and/or adjusts the center frequency of the first optical signal to f′1.


For step 1207, refer to related descriptions in step 1104. Details are not described herein again.


Step 1208: The first node sends third indication information to the second node, and correspondingly, the second node receives the third indication information from the first node. The third indication information indicates that the first node has completed adjustment of the first optical signal.


For step 1208, refer to related descriptions in step 1105. Details are not described herein again.


According to the single-fiber bidirectional communication methods corresponding to FIG. 9 to FIG. 12, adjustment of the first optical signal and/or the second optical signal transmitted between the first node and the second node can be implemented.


Optionally, in the embodiments corresponding to FIG. 9 to FIG. 12, w1<w′1, or w1>w′1. w2<w′2, or w2>w′2. In other words, the modulating the bandwidth of the first optical signal may be increasing the bandwidth of the first optical signal, or may be decreasing the bandwidth of the first optical signal. The modulating the bandwidth of the second optical signal may be increasing the bandwidth of the second optical signal, or may be decreasing the bandwidth of the second optical signal.


The increasing the bandwidth of the optical signal may be understood as expanding a communication bandwidth. The methods in the embodiments corresponding to FIG. 9 to FIG. 12 may be used to expand a bandwidth in single-fiber bidirectional communication. In the conventional technology, if a communication bandwidth in optical communication needs to be expanded, an optical module generally needs to be additionally added to add an optical signal, thereby increasing the communication bandwidth. However, based on the solution in embodiments, both communication parties may increase a bandwidth of an optical signal by configuring an optical module, so that a communication bandwidth can be increased. This method does not need to be implemented by introducing an additional component, so that costs can be reduced.


In a possible implementation, when bandwidth expansion needs to be performed on the first optical signal, if










"\[LeftBracketingBar]"



f
1

-

f
2




"\[RightBracketingBar]"





w
1


2


,




the bandwidth of the first optical signal may be directly adjusted, and the center frequencies of the first optical signal and the second optical signal do not need to be adjusted. For example, FIG. 13 is a diagram of expanding the first optical signal. As shown in FIG. 13, the center frequencies of the first optical signal and the second optical signal do not need to be adjusted, and the maximum frequency band width of the first optical signal is directly expanded from w1 to w′1.


In a possible implementation, when bandwidth expansion needs to be performed on the first optical signal, if










"\[LeftBracketingBar]"



f
1

-

f
2




"\[RightBracketingBar]"


<


w
1


2


,




the first node may further determine that the center frequency of the first optical signal and/or the center frequency of the second optical signal need to be adjusted. For example, FIG. 14 is another diagram of expanding the first optical signal. As shown in FIG. 14, the center frequency of the first optical signal may be first adjusted to f′1, so that










"\[LeftBracketingBar]"



f
1


-

f
2




"\[RightBracketingBar]"





w
1


2


,




and then the bandwidth of the first optical signal is expanded from w1 to w′1. For another example, FIG. 15 is still another diagram of expanding the first optical signal. As shown in FIG. 15, the center frequency of the second optical signal may be first adjusted to f′2, so that










"\[LeftBracketingBar]"



f
1

-

f
2





"\[RightBracketingBar]"





w
1


2


,




and then the bandwidth of the first optical signal is expanded from w1 to w′1.


It should be understood that an expansion method of the second optical signal is similar to an expansion method of the first optical signal in FIG. 13 to FIG. 15, and details are not described herein again by using an example.


Optionally, the single-fiber bidirectional communication method described in the foregoing embodiment may be applied to a point-to-point communication system (for example, the point-to-point communication system shown in FIG. 3). For example, the first node may be the node A in FIG. 3, and the second node may be the node B in FIG. 3.


Optionally, the single-fiber bidirectional communication method described in the foregoing embodiment may be applied to a point-to-multipoint communication system (for example, the point-to-multipoint communication system shown in FIG. 4). The first node may communicate with n nodes through a first optical module, and the second node may be one of the n nodes. n≥2. For example, the first node may be the node A in FIG. 4, and the second node may be any one of the node B1 to the node Bn in FIG. 4.


Optionally, when the second node is a kth node in the n nodes, the first optical signal is an optical signal Ak sent by the first node to the kth node in the n nodes, and the second optical signal is an optical signal Bk sent by the kth node in the n nodes to the first node. If a center frequency of the optical signal Ak is fAk, and a center frequency of the optical signal Bk is fBk, f1=fAk, and f2=fBk. Therefore, fAk is different from fBk, and |fAk−fBk| is less than a first threshold. fAk is the center frequency of the optical signal Ak, fBk is the center frequency of the optical signal Bk, and k is a positive integer from 1 to n.


Optionally, a value relationship between the center frequencies of the optical signal Ak and the optical signal Bk is not limited. In a possible implementation, fAk<fBk or fBk<fAk.


Optionally, a frequency range of the optical signal Ak and a frequency range of the optical signal Bk do not overlap or partially overlap. In a possible implementation,









"\[LeftBracketingBar]"



f
Ak

-

f
Bk




"\[RightBracketingBar]"






w
Ak

2



or





"\[LeftBracketingBar]"



f
Ak

-

f
Bk




"\[RightBracketingBar]"







w
Bk

2

·


w
Ak

2






is a maximum frequency band width of the optical signal Ak, and







w
Bk

2




is a maximum frequency band width of the optical signal Bk.


Optionally, value relationships between center frequencies of optical signals transmitted between the first node and different nodes in the n nodes are not limited. For example, none of a value relationship between fAk and fAx, a value relationship between fAk and fBx, a value relationship between fBk and fAx, and a value relationship between fBk and fBx is limited. fAx is a center frequency of an optical signal Ax sent by the first node to an xth node in the n nodes, fBx is a center frequency of an optical signal Bx sent by the xth node in the n nodes to the first node, x is a positive integer from 1 to n, and x is not equal to k.


In a possible implementation, the center frequencies of the optical signals transmitted between the first node and different nodes in the n nodes may be different. For example, the center frequency of the optical signal Ax is different from that of the optical signal Ak or the optical signal Bk, the center frequency of the optical signal Bx is also different from that of the optical signal Ak or the optical signal Bk, and fAk≠fBk≠fAx≠fBx. In this case, 2n optical signals with different center frequencies are transmitted between the first node and the n nodes, that is, 2n different wavelengths are used for the optical signals transmitted between the first node and the n nodes.


In another possible implementation, the center frequencies of the optical signals transmitted between the first node and different nodes in the n nodes may be the same. For example, the center frequency of the optical signal Ax may be the same as that of the optical signal Ak or the optical signal Bk, and/or the center frequency of the optical signal Bx may be the same as that of the optical signal Ak or the optical signal Bk. A case of fAk=fAx, fAk=fBx, fBk=fAx, or fBk=fBx exists. In this case, a quantity of center frequencies used for optical signals transmitted between the first node and the n nodes is less than 2n, that is, a quantity of wavelengths used for optical signals transmitted between the first node and the n nodes is less than 2n.


Optionally, if the center frequencies of the optical signal Ax and the optical signal Ak are the same (that is, wavelengths are the same), the optical signal Ax and the optical signal Ak may be distinguished in time domain. If the center frequencies of the optical signal Bx and the optical signal Bk are the same (that is, wavelengths are the same), the optical signal Bx and the optical signal Bk may be distinguished in time domain.


Optionally, the optical signal Ak and the optical signal Bk may be adjacent in frequency domain. For example, the center frequencies of the optical signal Ak and the optical signal Bk are both less than the center frequencies of the optical signal Ax and the optical signal Bx, or the center frequencies of the optical signal Ak and the optical signal Bk are both greater than the center frequencies of the optical signal Ax and the optical signal Bx. In a possible implementation, when k>1, fAk>fA(k-1), fAk>fB(k-1), fBk>fA(k-1), and fBk>fB(k-1).


Optionally, frequency ranges of the optical signals transmitted between the first node and different nodes in the n nodes do not overlap or partially overlap. In a possible implementation, in all optical signals transmitted between the first node and the n nodes, if the optical signal Ak is closest to the optical signal Ax in frequency domain,










"\[LeftBracketingBar]"



f
Ak

-

f
Ax




"\[RightBracketingBar]"





w
Ak

2


,


and





"\[LeftBracketingBar]"



f
Ak

-

f
Ax




"\[RightBracketingBar]"







w
Ax

2

.






If the optical signal Ak is closest to the optical signal Bx in frequency domain,










"\[LeftBracketingBar]"



f
Ak

-

f
Bx




"\[RightBracketingBar]"





w
Ak

2


,


and





"\[LeftBracketingBar]"



f
Ak

-

f
Bx




"\[RightBracketingBar]"







w
Bx

2

·

w
Ak







is a maximum frequency band width of the optical signal Ax, and wBx is a maximum frequency band width of the optical signal Bx.


Optionally, if the frequency range of the optical signal Ak and the frequency range of the optical signal Bk do not overlap and the frequency ranges of the optical signals transmitted between the first node and different nodes in the n nodes do not overlap, frequency ranges of all optical signals transmitted between the first node and the n nodes do not overlap. In a possible implementation, the frequency ranges of all optical signals transmitted between the first node and the n nodes may be continuous in frequency domain.


Optionally, maximum frequency band widths of the optical signals transmitted between the first node and different nodes in the n nodes may be the same or may be different. If the maximum frequency band widths of the optical signals transmitted between the first node and different nodes in the n nodes are different, it means that communication bandwidths between the first node and different nodes in the n nodes are different.


For example, it is assumed that the frequency ranges of all optical signals transmitted between the first node and the n nodes are continuous in frequency domain, and maximum frequency band widths of different optical signals are the same. In addition, when k>1, fAk>fA(k-1), fAk>fB(k-1), fBk>fA(k-1), and fBk>fB(k-1). In addition, fAk<fBk. In this case, a diagram of optical signals transmitted between the first node and the n nodes may be shown in FIG. 16. Maximum frequency band widths of an optical signal A1 to an optical signal An and an optical signal B1 to an optical signal Bn are the same, occupied frequency ranges are continuous in frequency domain, and fA1<fB1<fA2<fB2< . . . <fA(n-1)<fB(n-1)<fAn<fBn.


For example, it is assumed that the frequency ranges of all optical signals transmitted between the first node and the n nodes are continuous in frequency domain, and maximum frequency band widths of different optical signals are the same. In addition, when k>1, fAk>fA(k-1), fAk>fB(k-1), fBk>fA(k-1), and fBk>fB(k-1). In addition, fBk<fAk. In this case, a diagram of optical signals transmitted between the first node and the n nodes may be shown in FIG. 17. FIG. 17 shows frequency attributes and bandwidth attributes of the optical signal A1 to the optical signal An and the optical signal B1 to the optical signal Bn. The maximum frequency band widths of the optical signal A1 to the optical signal An and the optical signal B1 to the optical signal Bn are the same, occupied frequency ranges are continuous in frequency domain, and fB1<fA1<fB2<fA2< . . . <fB(n-1)<fA(n-1)<fBn<fAn.


For example, it is assumed that the frequency ranges of all optical signals transmitted between the first node and the n nodes are continuous in frequency domain, and maximum frequency band widths of different optical signals are the same. In addition, when k>1, fAk>fA(k-1), fAk>fB(k-1), fBk>fA(k-1), and fBk>fB(k-1). If k is an odd number, fAk<fBk, or if k is an even number, fBk<fAk. In this case, if n is an even number, a diagram of optical signals transmitted between the first node and the n nodes may be shown in (A) in FIG. 18. Maximum frequency band widths of an optical signal A1 to an optical signal An and an optical signal B1 to an optical signal Bn are the same, occupied frequency ranges are continuous in frequency domain, and fA1<fB1<fB2<fA2< . . . <fA(n-1)<fB(n-1)<fBn<fAn. If n is an odd number, a diagram of optical signals transmitted between the first node and the n nodes may be shown in (B) in FIG. 18. Maximum frequency band widths of an optical signal A1 to an optical signal An and an optical signal B1 to an optical signal Bn are the same, occupied frequency ranges are continuous in frequency domain, and fA1<fB1<fB2<fA2< . . . <fB(n-1)<fA(n-1)<fAn<fBn.


For example, it is assumed that the frequency ranges of all optical signals transmitted between the first node and the n nodes are continuous in frequency domain, and maximum frequency band widths of different optical signals are the same. In addition, when k>1, fAk>fA(k-1), fAk>fB(k-1), fBk>fA(k-1), and fBk>fB(k-1). If k is an odd number, fBk<fAk, or if k is an even number, fAk<fBk. In this case, if n is an even number, a diagram of optical signals transmitted between the first node and the n nodes may be shown in (A) in FIG. 19. Maximum frequency band widths of an optical signal A1 to an optical signal An and an optical signal B1 to an optical signal Bn are the same, occupied frequency ranges are continuous in frequency domain, and fB1<fA1<fA2<fB2< . . . <fB(n-1)<fA(n-1)<fAn<fBn. If n is an odd number, a diagram of optical signals transmitted between the first node and the n nodes may be shown in (B) in FIG. 19. Maximum frequency band widths of an optical signal A1 to an optical signal An and an optical signal B1 to an optical signal Bn are the same, occupied frequency ranges are continuous in frequency domain, and fB1<fA1<fA2<fB2< . . . <fA(n-1)<fB(n-1)<fBn<fAn.


Optionally, when center frequencies and bandwidths of the optical signals transmitted between the first node and the n nodes meet a first condition or a second condition, a receiving frequency range of receiving the optical signal Bk by the first node may be adjusted to








f
Ak

-


w
Ak

2

-


w
Bk



to



f
Ak


+


w
Ak

2

+

w
Bk


,




so that a probability that the first node simultaneously receives a plurality of optical signals can be reduced, and interference caused when the first node receives the optical signal Bk can be reduced. The first condition is: When k>1, fAk>fA (k-1), fAk>fB(k-1), fBk>fA(k-1), and fBk>fB(k-1). If k is an odd number, fAk<fBk, or if k is an even number, fBk<fAk. The second condition is: When k>1, fAk>fA(k-1), fAk>fB(k-1), fBk>fA(k-1), and fBk>fB(k-1). If k is an odd number, fBk<fAk, or if k is an even number, fAk<fBk.


For example, the optical signals shown in FIG. 18 meet the first condition, and the optical signals shown in FIG. 19 meet the second condition. Referring to FIG. 18 or FIG. 19, if a receiving frequency range of receiving the optical signal B2 by the first node is set to








f
1

-


w
1

2

-


w
2



to



f
1


+


w
1

2

+

w
1


,




within the frequency range, the first node receives only the optical signal B2 and does not receive the optical signal B1 or the optical signal B3.


Optionally, in a point-to-multipoint communication scenario, the first node may also adjust the optical signal Ak and/or the optical signal Bk through signaling exchange with any node in the n nodes. The adjustment performed on the optical signal Ak and/or the optical signal Bk includes center frequency adjustment and/or bandwidth adjustment.


The adjustment of the optical signal Ak is used as an example. FIG. 20 is a flowchart of still another single-fiber bidirectional communication method according to the embodiments. As shown in FIG. 20, the single-fiber bidirectional communication method provided in the embodiments may include step 2001 to step 2005.


Step 2001: A first node sends, to a kth node in n nodes, a fourth parameter for adjusting an optical signal Ak, and correspondingly, the kth node in the n nodes receives the fourth parameter from the first node.


Optionally, if a center frequency of the optical signal Ak needs to be adjusted, the fourth parameter may be a parameter related to adjustment of the center frequency of the optical signal Ak. In an implementation, the fourth parameter may be an adjusted center frequency fAk of the optical signal Ak.


Optionally, when the center frequency of the optical signal Ak is adjusted and a bandwidth of the optical signal Ak is not adjusted,










"\[LeftBracketingBar]"



f
Ak


-

f
Bk




"\[RightBracketingBar]"





w
Ak

2


,


and





"\[LeftBracketingBar]"



f
Ak


-

f
Bk




"\[RightBracketingBar]"







w
Bk

2

.






Optionally, if the bandwidth of the optical signal Ak needs to be adjusted, the fourth parameter may be a parameter related to adjustment of the bandwidth of the optical signal Ak. In an implementation, the fourth parameter may be an adjusted maximum frequency band width w′Ak occupied by the optical signal Ak, or the fourth parameter is a difference ΔwAk between the adjusted maximum frequency band width occupied by the optical signal Ak and a maximum frequency band width occupied by the optical signal Ak before the adjustment, where ΔwAk-w′Ak−wAk.


Optionally, when the center frequency of the optical signal Ak is not adjusted and the bandwidth of the optical signal Ak is adjusted,










"\[LeftBracketingBar]"



f
Ak

-

f
Bk




"\[RightBracketingBar]"





w
Ak


2


,


and





"\[LeftBracketingBar]"



f
Ak

-

f
Bk




"\[RightBracketingBar]"







w
Bk

2

.






Optionally, if both the bandwidth and the center frequency of the optical signal Ak need to be adjusted, the fourth parameter may be a parameter related to adjustment of the bandwidth and the center frequency of the optical signal Ak. In an implementation, the fourth parameter may include w′Ak and f′Ak, or ΔAk and f′Ak.


Optionally, when both the center frequency and the bandwidth of the optical signal Ak are adjusted,










"\[LeftBracketingBar]"



f
Ak


-

f
Bk




"\[RightBracketingBar]"





w
Ak


2


,


and





"\[LeftBracketingBar]"



f
Ak


-

f
Bk




"\[RightBracketingBar]"







w
Bk

2

.






Step 2002: The kth node in the n nodes sends eighth indication information to the first node, and correspondingly, the first node receives the eighth indication information from the kth node in the n nodes. The eighth indication information indicates that the kth node in the n nodes agrees to adjust the optical signal Ak based on the fourth parameter.


Optionally, if an adjusted frequency range of the optical signal Ak indicated by the fourth parameter does not exceed a maximum frequency range of receiving supported by the kth node in the n nodes, the kth node in the n nodes may send the eighth indication information to the first node.


After receiving the eighth indication information from the kth node in the n nodes, the first node determines that the optical signal Ak can be adjusted, and then performs subsequent steps 2003 to 2005.


Step 2003: The first node sends ninth indication information to the kth node in the n nodes, and correspondingly, the kth node in the n nodes receives the ninth indication information from the first node. The ninth indication information indicates that the first node starts to adjust the optical signal Ak.


After receiving the ninth indication information, the kth node in the n nodes may learn that the first node starts to adjust the optical signal Ak. In this case, the kth node in the n nodes is in a waiting state until learning that the first node has completed adjustment. In the waiting state, the kth node in the n nodes does not send a signal to the first node.


Step 2004: The first node adjusts the maximum frequency band width of the optical signal Ak to w′Ak, and/or adjusts the center frequency of the optical signal Ak to f′Ak.


Optionally, if the fourth parameter is f′Ak, the first node may adjust the center frequency of the optical signal Ak to f′Ak.


Optionally, if the fourth parameter is w′Ak or ΔwAk, the first node may adjust the maximum frequency band width of the optical signal Ak to w′Ak.


Optionally, if the fourth parameter includes w′Ak and f′Ak, or ΔwAk and f′Ak, the first node may adjust the maximum frequency band width of the optical signal Ak to w1, and adjust the center frequency of the first optical signal to f′1.


Step 2005: The first node sends tenth indication information to the kth node in the n nodes, and correspondingly, the kth node in the n nodes receives the tenth indication information from the first node. The tenth indication information indicates that the first node has completed adjustment of the optical signal Ak.


After receiving the tenth indication information, the kth node in the n nodes ends the waiting state.


Optionally, after the kth node in the n nodes receives the tenth indication information, the kth node in the n nodes may further adaptively adjust a receiving frequency range of a coherent receiver in the node based on the fourth parameter, and determine that an adjusted optical signal Ak can be received.


In a possible implementation, when the center frequency of the optical signal Ak remains unchanged and the maximum frequency band width is adjusted to w′Ak, if an output frequency of a laser of the kth node in the n nodes is fLBk, a frequency range of receiving the adjusted optical signal Ak by the coherent receiver of the kth node in the n nodes is (fLBk−Δg) to fLBk and fLBk to (fLBk+Δg), where







Δ

g






"\[LeftBracketingBar]"



f
LBk

-

f
Ak




"\[RightBracketingBar]"


+



w
Ak


2

.






In a possible implementation, when the adjusted center frequency of the optical signal Ak is adjusted to f′Ak and the maximum frequency band width remains unchanged, if the output frequency of the laser of the kth node in the n nodes is fLBk, a frequency range of receiving the adjusted optical signal Ak by the coherent receiver of the kth node in the n nodes is (fLBk− Δh) to fLBk and fLBk to (fLBk+Δh), where







Δ

h






"\[LeftBracketingBar]"



f
LBk

-

f
Ak





"\[RightBracketingBar]"


+



w

A

k


2

.






In a possible implementation, when the adjusted center frequency of the optical signal Ak is adjusted to f′Ak and the maximum frequency band width is adjusted to w′Ak, if the output frequency of the laser of the kth node in the n nodes is fLBk, a frequency range of receiving the adjusted optical signal Ak by the coherent receiver of the kth node in the n nodes is (fLBk−Δi) to fLBk and fLBk to (fLBk+Δi), where







Δ

i






"\[LeftBracketingBar]"



f
LBk

-

f
Ak





"\[RightBracketingBar]"


+



w
Ak


2

.






The adjustment of the optical signal Bk is used as an example. FIG. 21 is a flowchart of still another single-fiber bidirectional communication method according to the embodiments. As shown in FIG. 21, the single-fiber bidirectional communication method provided in the embodiments may include step 2101 to step 2105.


Step 2101: A first node sends, to a kth node in n nodes, a fifth parameter for adjusting an optical signal Bk, and correspondingly, the kth node in the n nodes receives the fifth parameter from the first node.


Optionally, if a center frequency of the optical signal Bk needs to be adjusted, the fifth parameter may be a parameter related to adjustment of the center frequency of the optical signal Bk. In an implementation, the fifth parameter may be an adjusted center frequency f′Bk of the optical signal Bk.


Optionally, when the center frequency of the optical signal Bk is adjusted and a bandwidth of the optical signal Bk is not adjusted,










"\[LeftBracketingBar]"



f
Ak

-

f
Bk





"\[RightBracketingBar]"





w
Ak

2


,


and





"\[LeftBracketingBar]"



f

A

k


-

f
Bk





"\[RightBracketingBar]"







w
Bk

2

.






Optionally, if the bandwidth of the optical signal Bk needs to be adjusted, the fifth parameter may be a parameter related to adjustment of the bandwidth of the optical signal Bk. In an implementation, the fifth parameter may be an adjusted maximum frequency band width w′Bk occupied by the optical signal Bk, or the fifth parameter is a difference ΔwBk between the adjusted maximum frequency band width occupied by the optical signal Bk and a maximum frequency band width occupied by the optical signal Bk before the adjustment, where ΔwBk=w′Bk−wBk.


Optionally, when the center frequency of the optical signal Bk is not adjusted and the bandwidth of the optical signal Bk is adjusted,










"\[LeftBracketingBar]"



f
Ak

-

f
Bk




"\[RightBracketingBar]"





w
Ak

2


,


and





"\[LeftBracketingBar]"



f
Ak

-

f
Bk




"\[RightBracketingBar]"







w
Bk


2

.






Optionally, if both the bandwidth and the center frequency of the optical signal Bk need to be adjusted, the fifth parameter may be a parameter related to adjustment of the bandwidth and the center frequency of the optical signal Bk. In an implementation, the fifth parameter may include w′Bk and f′Bk, or ΔwBk and f′Bk.


Optionally, when both the center frequency and the bandwidth of the optical signal Bk are adjusted,










"\[LeftBracketingBar]"



f
Ak

-

f
Bk





"\[RightBracketingBar]"





w
Ak

2


,


and





"\[LeftBracketingBar]"



f
Ak

-

f
Bk





"\[RightBracketingBar]"







w
Bk


2

.






Step 2102: The kth node in the n nodes sends eleventh indication information to the first node, and correspondingly, the first node receives the eleventh indication information from the kth node in the n nodes. The eleventh indication information indicates that the kth node in the n nodes agrees to adjust the optical signal Bk based on the fifth parameter.


Optionally, if an adjusted frequency range of the optical signal Bk indicated by the fifth parameter does not exceed a maximum frequency range of modulation supported by a laser modulator of the kth node in the n nodes, the kth node in the n nodes sends the eleventh indication information to the first node.


After receiving the eleventh indication information from the kth node in the n nodes, the first node determines that the optical signal Bk can be adjusted, and then performs subsequent steps 2103 to 2105.


Step 2103: The first node sends twelfth indication information to the kth node in the n nodes, and correspondingly, the kth node in the n nodes receives the twelfth indication information from the first node. The twelfth indication information indicates the kth node in the n nodes to start to adjust the optical signal Bk.


The kth node in the n nodes may start to adjust the second optical signal based on an indication of the twelfth indication information.


After sending the twelfth indication information, the first node is in a waiting state until learning that the kth node in the n nodes has completed adjustment. In the waiting state, the first node does not send a signal to the kth node in the n nodes.


Step 2104: The kth node in the n nodes adjusts the maximum frequency band width of the optical signal Bk to w′Bk, and/or adjusts the center frequency of the optical signal Bk to f′Bk.


Optionally, if the fifth parameter is f′Bk, the first node may adjust the center frequency of the optical signal Bk to f′Bk.


Optionally, if the fifth parameter is w′Bk or ΔwBk, the first node may adjust the maximum frequency band width of the optical signal Bk to w′Bk.


Optionally, if the fifth parameter includes w′Bk and f′Bk, or ΔwBk and f′Bk, the first node may adjust the maximum frequency band width of the optical signal Bk to w′Bk, and adjust the center frequency of the first optical signal to fBk.


Step 2105: The kth node in the n nodes sends thirteenth indication information to the first node, and correspondingly, the first node receives the thirteenth indication information from the kth node in the n nodes. The thirteenth indication information indicates that the kth node in the n nodes has completed adjustment of the optical signal Bk.


After receiving the thirteenth indication information, the first node ends the waiting state.


Optionally, after the first node receives the thirteenth indication information, the first node may further adaptively adjust a receiving frequency range of a first coherent receiver based on the fifth parameter, and determine that an adjusted optical signal Bk can be received.


In a possible implementation, when the adjusted center frequency of the optical signal Bk remains unchanged and the maximum frequency band width is adjusted to w′Bk, if an output frequency of a first laser is fLAk, a frequency range of receiving the adjusted optical signal Bk by the first coherent receiver is (fLAk−Δj) to fLAk and fLAk to (fLAk+Δj), where







Δ

j






"\[LeftBracketingBar]"



f
LAk

-

f
Bk




"\[RightBracketingBar]"


+



w
Bk


2

.






In a possible implementation, when the adjusted center frequency of the first optical signal is adjusted to f′2 and the maximum frequency band width remains unchanged, if the output frequency of the first laser is fLAk, a frequency range of receiving the adjusted optical signal Bk by the first coherent receiver is (fLAk−Δk) to fLAk and fLAk to (fLAkk), where







Δ

k






"\[LeftBracketingBar]"



f
LAk

-

f
Bk





"\[RightBracketingBar]"


+



w
Bk

2

.






In a possible implementation, when the adjusted center frequency of the first optical signal is adjusted to f′2 and the maximum frequency band width is adjusted to w′2, if the output frequency of the first laser is fLAk, a frequency range of receiving the adjusted optical signal Bk by the first coherent receiver is (fLAk− Δl) to fLAk and fLAk to (fLAk+Δl), where







Δ

l






"\[LeftBracketingBar]"



f
LAk

-

f
Bk





"\[RightBracketingBar]"


+



w
Bk


2

.






The adjustment of the optical signal Ak and the optical signal Bk is used as an example. FIG. 22 is a flowchart of still another single-fiber bidirectional communication method according to the embodiments. As shown in FIG. 22, the single-fiber bidirectional communication method provided in the embodiments may include step 2201 to step 2208.


Step 2201: A first node sends, to a kth node in n nodes, a sixth parameter for adjusting an optical signal Ak and an optical signal Bk, and correspondingly, the kth node in the n nodes receives the sixth parameter from the first node.


Optionally, if a center frequency of the optical signal Ak and a center frequency of the optical signal Bk need to be adjusted, the sixth parameter may be a parameter related to adjustment of the center frequency of the optical signal Ak and adjustment of the center frequency of the optical signal Bk. In an implementation, the sixth parameter may include f′Ak and f′Bk.


Optionally, when the center frequency of the optical signal Ak and the center frequency of the optical signal Bk are adjusted,










"\[LeftBracketingBar]"



f
Ak


-

f
Bk





"\[RightBracketingBar]"





w
Ak

2


,


and





"\[LeftBracketingBar]"



f
Ak


-

f
Bk





"\[RightBracketingBar]"







w
Bk

2

.






Optionally, if a bandwidth of the optical signal Ak and a bandwidth of the optical signal Bk need to be adjusted, the sixth parameter may be a parameter related to adjustment of the bandwidth of the optical signal Ak and adjustment of the bandwidth of the optical signal Bk. In an implementation, the sixth parameter may include w′Ak and w′Bk, or Δw′Ak and ΔwBk, or w′Ak and ΔwBk, or ΔwAk and w′Bk.


Optionally, when the bandwidth of the optical signal Ak and the bandwidth of the optical signal Bk are adjusted,










"\[LeftBracketingBar]"



f
Ak

-

f
Bk




"\[RightBracketingBar]"





w
Ak


2


,


and





"\[LeftBracketingBar]"



f
Ak

-

f
Bk




"\[RightBracketingBar]"







w
Bk


2

.






Optionally, if the bandwidth of the optical signal Ak and the center frequency of the optical signal Bk need to be adjusted, the sixth parameter may be a parameter related to adjustment of the bandwidth of the optical signal Ak and adjustment of the center frequency of the optical signal Bk. In an implementation, the sixth parameter may include w′Ak and f′Bk, or ΔwAk and f′Bk.


Optionally, when the bandwidth of the optical signal Ak and the center frequency of the optical signal Bk are adjusted,










"\[LeftBracketingBar]"



f
Ak

-

f
Bk





"\[RightBracketingBar]"





w
Ak


2


,


and





"\[LeftBracketingBar]"



f
Ak

-

f
Bk





"\[RightBracketingBar]"







w
Bk

2

.






Optionally, if the bandwidth of the optical signal Ak, the center frequency of the optical signal Ak, and the center frequency of the optical signal Bk need to be adjusted, the sixth parameter may be a parameter related to adjustment of the bandwidth of the optical signal Ak, adjustment of the center frequency of the optical signal Ak, and adjustment of the center frequency of the optical signal Bk. In an implementation, the sixth parameter may include wAk, f′Ak, and f′Bk, or ΔwAk, f′Ak, and f′Bk.


Optionally, when the bandwidth of the optical signal Ak, the center frequency of the optical signal Ak, and the center frequency of the optical signal Bk are adjusted,










"\[LeftBracketingBar]"



f
Ak


-

f
Bk





"\[RightBracketingBar]"





w
Ak


2


,
and












"\[LeftBracketingBar]"



f
Ak


-

f
Bk





"\[RightBracketingBar]"






w

B

k


2

.






Optionally, if the bandwidth of the optical signal Bk and the center frequency of the optical signal Ak need to be adjusted, the sixth parameter may be a parameter related to adjustment of the bandwidth of the optical signal Bk and adjustment of the center frequency of the optical signal Ak. In an implementation, the sixth parameter may include w′Bk and f′Ak, or ΔwBk and f′Ak.


Optionally, when the bandwidth of the optical signal Bk and the center frequency of the optical signal Ak are adjusted,










"\[LeftBracketingBar]"



f
Ak


-

f
Bk




"\[RightBracketingBar]"





w
Ak

2


,


and





"\[LeftBracketingBar]"



f
Ak


-

f
Bk




"\[RightBracketingBar]"







w
Bk


2

.






Optionally, if the bandwidth of the optical signal Bk, the center frequency of the optical signal Bk, and the center frequency of the optical signal Ak need to be adjusted, the sixth parameter may be a parameter related to adjustment of the bandwidth of the optical signal Bk, adjustment of the center frequency of the optical signal Bk, and adjustment of the center frequency of the optical signal Ak. In an implementation, the sixth parameter may include w′Bk, f′Bk, and f′Ak, or ΔwBk, f′Bk, and f′Ak.


Optionally, when the bandwidth of the optical signal Bk, the center frequency of the optical signal Bk, and the center frequency of the optical signal Ak are adjusted,










"\[LeftBracketingBar]"



f
Ak


-

f
Bk





"\[RightBracketingBar]"





w
Ak

2


,
and












"\[LeftBracketingBar]"



f
Ak


-

f
Bk





"\[RightBracketingBar]"






w
Bk


2

.






Step 2202: The kth node in the n nodes sends fourteenth indication information to the first node, and correspondingly, the first node receives the fourteenth indication information from the kth node in the n nodes. The fourteenth indication information indicates that the kth node in the n nodes agrees to adjust the optical signal Ak and the optical signal Bk based on the sixth parameter.


Optionally, if an adjusted frequency range of the optical signal Ak indicated by the sixth parameter does not exceed a maximum frequency range of receiving supported by a coherent receiver of the kth node in the n nodes, and an adjusted frequency range of the optical signal Bk does not exceed a maximum frequency range of modulation supported by a laser modulator of the kth node in the n nodes, the kth node in the n nodes may send the fourteenth indication information to the first node.


After receiving the fourteenth indication information from the kth node in the n nodes, the first node determines that the optical signal Ak and the optical signal Bk can be adjusted, and then performs subsequent steps 2203 to 2208.


Step 2203: The first node sends ninth indication information to the kth node in the n nodes, and correspondingly, the kth node in the n nodes receives the ninth indication information from the first node. The ninth indication information indicates that the first node starts to adjust the optical signal Ak.


For step 2203, refer to related descriptions in step 2003. Details are not described herein again.


Step 2204: The first node adjusts the maximum frequency band width of the optical signal Ak to w′Ak, and/or adjusts the center frequency of the optical signal Ak to f′Ak.


Optionally, if the sixth parameter includes f′Ak, the first node may adjust the center frequency of the optical signal Ak to f′Ak.


Optionally, if the sixth parameter includes w′Ak or ΔwAk, the first node may adjust the maximum frequency band width of the optical signal Ak to w′Ak.


Optionally, if the sixth parameter includes w′Ak and f′Ak, or ΔwAk and f′Ak, the first node may adjust the maximum frequency band width of the optical signal Ak to w′Ak, and adjust the center frequency of the first optical signal to f′Ak.


Step 2205: The first node sends tenth indication information to the kth node in the n nodes, and correspondingly, the kth node in the n nodes receives the tenth indication information from the first node. The tenth indication information indicates that the first node has completed adjustment of the optical signal Ak.


For step 2205, refer to related descriptions in step 2005. Details are not described herein again.


Step 2206: The first node sends twelfth indication information to the kth node in the n nodes, and correspondingly, the kth node in the n nodes receives the twelfth indication information from the first node. The twelfth indication information indicates the kth node in the n nodes to start to adjust the optical signal Bk.


For step 2206, refer to related descriptions in step 2003. Details are not described herein again.


Step 2207: The kth node in the n nodes adjusts the maximum frequency band width of the optical signal Bk to w′Bk, and/or adjusts the center frequency of the optical signal Bk to f′Bk.


Optionally, if the sixth parameter includes f′Bk, the kth node in the n nodes may adjust the center frequency of the optical signal Bk to f′Bk.


Optionally, if the sixth parameter includes w′Bk or ΔwBk, the kth node in the n nodes may adjust the maximum frequency band width of the optical signal Bk to w′Bk.


Optionally, if the sixth parameter includes w′Bk and f′Bk, or ΔwBk and f′Bk, the kth node in the n nodes may adjust the maximum frequency band width of the optical signal Bk to wBk, and adjust the center frequency of the first optical signal to f′Bk.


Step 2208: The kth node in the n nodes sends thirteenth indication information to the first node, and correspondingly, the first node receives the thirteenth indication information from the kth node in the n nodes. The thirteenth indication information indicates that the kth node in the n nodes has completed adjustment of the optical signal Bk.


For step 2208, refer to related descriptions in step 2005. Details are not described herein again.


The adjustment of the optical signal Ak and the optical signal Bk is used as an example. FIG. 23 is a flowchart of still another single-fiber bidirectional communication method according to the embodiments. As shown in FIG. 23, the single-fiber bidirectional communication method provided in the embodiments may include step 2301 to step 2308.


Step 2301: A first node sends, to a kth node in n nodes, a sixth parameter for adjusting an optical signal Ak and an optical signal Bk, and correspondingly, the kth node in the n nodes receives the sixth parameter from the first node.


For step 1231, refer to related descriptions in step 1101. Details are not described herein again.


Step 2302: The kth node in the n nodes sends fourteenth indication information to the first node, and correspondingly, the first node receives the fourteenth indication information from the kth node in the n nodes. The fourteenth indication information indicates that the kth node in the n nodes agrees to adjust the optical signal Ak and the optical signal Bk based on the sixth parameter.


For step 2302, refer to related descriptions in step 2202. Details are not described herein again.


Step 2303: The first node sends twelfth indication information to the kth node in the n nodes, and correspondingly, the kth node in the n nodes receives the twelfth indication information from the first node. The twelfth indication information indicates the kth node in the n nodes to start to adjust the optical signal Bk.


For step 1233, refer to related descriptions in step 2206. Details are not described herein again.


Step 2304: The kth node in the n nodes adjusts a maximum frequency band width of the optical signal Bk to w′Bk, and/or adjusts a center frequency of the optical signal Bk to f′Bk.


For step 2304, refer to related descriptions in step 2207. Details are not described herein again.


Step 2305: The kth node in the n nodes sends thirteenth indication information to the first node, and correspondingly, the first node receives the thirteenth indication information from the kth node in the n nodes. The thirteenth indication information indicates that the kth node in the n nodes has completed adjustment of the optical signal Bk.


For step 2305, refer to related descriptions in step 2208. Details are not described herein again.


Step 2306: The first node sends ninth indication information to the kth node in the n nodes, and correspondingly, the kth node in the n nodes receives the ninth indication information from the first node. The ninth indication information indicates that the first node starts to adjust the optical signal Ak.


For step 2306, refer to related descriptions in step 2203. Details are not described herein again.


Step 2307: The first node adjusts a maximum frequency band width of the optical signal Ak to w′Ak, and/or adjusts a center frequency of the optical signal Ak to f′Ak.


For step 2307, refer to related descriptions in step 2204. Details are not described herein again.


Step 2308: The first node sends tenth indication information to the kth node in the n nodes, and correspondingly, the kth node in the n nodes receives the tenth indication information from the first node. The tenth indication information indicates that the first node has completed adjustment of the optical signal Ak.


For step 2308, refer to related descriptions in step 2205. Details are not described herein again.


According to the single-fiber bidirectional communication methods corresponding to FIG. 20 to FIG. 23, adjustment of the optical signal Ak and/or the optical signal Bk transmitted between the first node and the kth node in the n nodes may be implemented.


Optionally, because the first node may communicate with the n nodes, another frequency range adjacent to the frequency ranges of the optical signal Ak and the optical signal Bk may be used by an optical signal of another node in the n nodes. Therefore, if the optical signal Ak and/or the optical signal Bk need/needs to be adjusted, an optical signal of another node in the n nodes further needs to be considered.


Optionally, if the adjusted optical signal Ak and/or optical signal Bk do/does not affect an optical signal of another node in the n nodes, the first node may directly perform the method corresponding to any embodiment in FIG. 20 to FIG. 22 without interacting with the another node in the n nodes.


Optionally, if the adjusted optical signal Ak and/or optical signal Bk may affect an optical signal of another node in the n nodes (for example, the adjusted frequency ranges of the optical signal Ak and/or optical signal Bk overlap a frequency range of the optical signal of the another node in the n nodes excessively, causing interference), a center frequency of the optical signal of the another node in the n nodes further needs to be adjusted.


In a possible implementation, it is assumed that the adjusted optical signal Ak and/or optical signal Bk affect/affects an optical signal Ax and/or an optical signal Bx of a node x in the n nodes. In this case, before starting to adjust the optical signal Ak and/or the optical signal Bk, the first node may further adjust center frequencies of the optical signal Ax and/or the optical signal Bx. x is a positive integer from 1 to n, and x is not equal to k. A process of adjusting the center frequencies of the optical signal Ax and/or the optical signal Bx is the same as a process of adjusting the optical signal Ak and/or the optical signal Bk in any foregoing embodiment in FIG. 20 to FIG. 23, and refer to the steps in any foregoing embodiment in FIG. 20 to FIG. 23. The center frequencies of the optical signal Ax and/or the optical signal Bx are adjusted by the first node.


Optionally, before step 2003, step 2103, step 2203, or step 2303, the method embodiment corresponding to FIG. 20, FIG. 21, FIG. 22, or FIG. 23 may further include step 2401 and step 2402.


Step 2401: The first node sends, to a node x in the n nodes, a seventh parameter for adjusting an optical signal Ax and/or an optical signal Bx. The seventh parameter includes an adjusted center frequency f′Ax of the optical signal Ax and/or an adjusted center frequency f′Bx of the optical signal Bx.


Step 2402: The first node receives fifteenth indication information from the node x in the n nodes. The fifteenth indication information indicates that the node x in the n nodes agrees to adjust the optical signal Ax and/or the optical signal Bx based on the seventh parameter.


After step 2401 and step 2402, the first node may further perform signaling exchange with the node x in the n nodes, to implement adjustment of the optical signal Ax and/or the optical signal Bx. This process is the same as an adjustment process of the optical signal Ak and/or the optical signal Bk, and details are not described herein again.


Optionally, in the embodiments corresponding to FIG. 20 to FIG. 23, wAk<w′Ak, or wAk>w′Ak. wBk<w′Bk, or wBk>w′Bk. In other words, the modulating the bandwidth of the optical signal Ak may be increasing the bandwidth of the optical signal Ak, or may be decreasing the bandwidth of the optical signal Ak. The modulating the bandwidth of the optical signal Bk may be increasing the bandwidth of the optical signal Bk, or may be decreasing the bandwidth of the optical signal Bk.


The increasing the bandwidth of the optical signal may be understood as expanding a communication bandwidth. The methods in the embodiments corresponding to FIG. 20 to FIG. 23 may be used to expand a bandwidth in point-to-multipoint single-fiber bidirectional communication.


In a possible implementation, if an idle frequency range between optical signals adjacent to the optical signal Ak in frequency domain is greater than or equal to a bandwidth to which the optical signal Ak is to be expanded, when the bandwidth of the optical signal Ak is expanded, center frequencies of the optical signals adjacent to the optical signal Ak do not need to be adjusted. For example, FIG. 24 is a diagram of expanding an optical signal Ak. As shown in FIG. 24, a spatial frequency range between an optical signal B2 and an optical signal A3 that are adjacent to a to-be-adjusted optical signal A2 is greater than a bandwidth wA2 to which the optical signal A2 is to be expanded. Based on this, first, a center frequency of the optical signal A2 may be adjusted from fA2 to f′A2, so that an idle frequency range on two sides of f′A2 is greater than








w

A

2



2

,




and then the bandwidth of the optical signal A2 may be expanded from wA2 to w′A2.


In a possible implementation, if an idle frequency range between optical signals adjacent to the optical signal Ak in frequency domain is less than the bandwidth to which the optical signal Ak is to be expanded, the center frequencies of the optical signals adjacent to the optical signal Ak further need to be adjusted, so that the idle frequency range between the adjacent optical signals is not less than the bandwidth to which the optical signal Ak is to be expanded. In addition, when the center frequencies of the adjacent optical signals are adjusted, if another optical signal is affected, a center frequency of the affected optical signal is adjusted uniformly. Optionally, when the center frequencies of the optical signal adjacent to the optical signal Ak need to be adjusted, only an optical signal on one side of the optical signal Ak may be adjusted, or optical signals on both sides of the optical signal Ak may be adjusted at the same time. This is not limited.


For example, FIG. 25 is another diagram of expanding an optical signal Ak. As shown in FIG. 25, frequency ranges of a plurality of optical signals are continuous in frequency domain, and the idle frequency range between the optical signal B2 and the optical signal A3 that are adjacent to the to-be-adjusted optical signal A2 is less than the bandwidth w′A2 to which the optical signal A2 is to be expanded. Based on this, first, center frequencies of the optical signal B1, the optical signal A1, and the optical signal B2 may be adjusted, so that an adjusted idle frequency range between the optical signal B2 and the optical signal B3 is not less than the bandwidth to which the optical signal A2 is to be expanded. Then, the center frequency of the optical signal A2 is adjusted from fA2 to f′A2, so that the idle frequency range on the two sides of f′A2 is greater than








w

A

2



2

.




Then, the bandwidth of the optical signal A2 is expanded from wA2 to w′A2.


It should be understood that an expansion method of the optical signal Bk is similar to an expansion method of the optical signal Ak, and details are not described herein again by using an example.


It may be understood that, in the foregoing embodiments, the methods and/or the steps implemented by the first node may alternatively be implemented by a component (for example, a chip or a circuit) that may be used for the first node, and the methods and/or the steps implemented by the second node may alternatively be implemented by a component (for example, a chip or a circuit) that may be used for the second node.


Optionally, embodiments further provide a communication apparatus. The communication apparatus is configured to implement the foregoing methods. The communication apparatus may be the first node in the foregoing method embodiments, an apparatus including the first node, or a component that may be used for the first node. Alternatively, the communication apparatus may be the second node in the foregoing method embodiments, an apparatus including the second node, or a component that may be used for the second node. It may be understood that, to implement the foregoing functions, the communication apparatus includes a hardware structure and/or a software module for performing corresponding functions. A person skilled in the art should easily be aware that, in combination with units and algorithm steps of the examples described in the embodiments may be implemented by hardware or a combination of hardware and computer software. Whether a function is performed by hardware or hardware driven by computer software depends on particular applications and design constraints of the solutions. A person skilled in the art may use different methods to implement the described functions for each particular application, but it should not be considered that the implementation goes beyond the scope of the embodiments.


In embodiments, the communication apparatus may be divided into functional modules based on the foregoing method embodiments. For example, functional modules may be obtained through division based on corresponding functions, or two or more functions may be integrated into one processing module. The integrated module may be implemented in a form of hardware, or may be implemented in a form of a software functional module. It should be noted that, in embodiments, module division is an example, and is merely a logical function division. During actual implementation, another division manner may be used.



FIG. 26 is a diagram of a structure of a communication apparatus according tothe embodiments. Referring to FIG. 26, the communication apparatus 260 may include the foregoing optical module 50. A structure of the optical module 50 may be shown in FIG. 5. Details are not described herein again. Optionally, the communication apparatus 260 may further include a processing module 60.


For example, the communication apparatus 260 is the first node in the foregoing method embodiments.


The laser modulator 503 may be configured to send a first optical signal to the second node. The first optical signal is obtained by modulating laser light emitted by the laser 501. The coherent receiver 504 may be configured to receive a second optical signal from the second node, and the laser 501 is configured to generate local oscillator light required by the coherent receiver 504. A center frequency of the first optical signal is f1, a center frequency of the second optical signal is f2, f1 is different from f2, and |f1−f2| is less than a first threshold.


Optionally, the laser modulator 503 may be further configured to send, to the second node, a first parameter for adjusting the first optical signal. The coherent receiver 504 may be further configured to receive first indication information from the second node. The first indication information indicates that the second node agrees to adjust the first optical signal based on the first parameter. The laser modulator 503 may be further configured to send second indication information to the second node. The second indication information indicates that the first node starts to adjust the first optical signal. The processing module 60 may be configured to: adjust a maximum frequency band width of the first optical signal to w1, and/or adjust the center frequency of the first optical signal to f′1. The laser modulator 503 may be configured to send third indication information to the second node. The third indication information indicates that the first node has completed adjustment of the first optical signal.


Optionally, the laser modulator 503 may be further configured to send, to the second node, a second parameter for adjusting the second optical signal, and the coherent receiver 504 may be further configured to receive fourth indication information from the second node. The fourth indication information indicates that the second node agrees to adjust the second optical signal based on the second parameter. The laser modulator 503 may be further configured to send fifth indication information to the second node. The fifth indication information indicates the second node to start to adjust the second optical signal. The coherent receiver 504 may be further configured to receive sixth indication information from the second node. The sixth indication information indicates that the second node has completed adjustment of the second optical signal.


Optionally, the laser modulator 503 may be further configured to send, to the second node, a third parameter for adjusting the first optical signal and the second optical signal, and the coherent receiver 504 may be further configured to receive seventh indication information from the second node. The seventh indication information indicates that the second node agrees to adjust the first optical signal and the second optical signal based on the third parameter. The laser modulator 503 may be further configured to send second indication information to the second node. The second indication information indicates that the first node starts to adjust the first optical signal. The processing module 60 may be further configured to: adjust a maximum frequency band width of the first optical signal to w′1, and/or adjust the center frequency of the first optical signal to f′1. The laser modulator 503 may further send third indication information to the second node. The third indication information indicates that the first node has completed adjustment of the first optical signal. The laser modulator 503 may further send fifth indication information to the second node. The fifth indication information indicates the second node to start to adjust the second optical signal. The coherent receiver 504 may be further configured to receive sixth indication information from the second node. The sixth indication information indicates that the second node has completed adjustment of the second optical signal.


Optionally, the laser modulator 503 may be further configured to send, to the second node, a third parameter for adjusting the first optical signal and the second optical signal, and the coherent receiver 504 may be further configured to receive seventh indication information from the second node. The seventh indication information indicates that the second node agrees to adjust the first optical signal and the second optical signal based on the third parameter. The laser modulator 503 may be further configured to send fifth indication information to the second node. The fifth indication information indicates the second node to start to adjust the second optical signal. The coherent receiver 504 may be further configured to receive sixth indication information from the second node. The sixth indication information indicates that the second node has completed adjustment of the second optical signal. The laser modulator 503 may be further configured to send second indication information to the second node. The second indication information indicates that the first node starts to adjust the first optical signal. The processing module 60 may be further configured to: adjust a maximum frequency band width of the first optical signal to w′1, and/or adjust the center frequency of the first optical signal to f′1. The laser modulator 503 may be further configured to send third indication information to the second node. The third indication information indicates that the first node has completed adjustment of the first optical signal.


For example, the communication apparatus 260 is the second node in the foregoing method embodiments.


The laser modulator 503 may be configured to send the second optical signal to the first node through a first laser modulator. The second optical signal is obtained by modulating laser light emitted by a second laser. The processing module 60 may be configured to receive the first optical signal from the first node through a second coherent receiver. The second laser is configured to generate local oscillator light required by the second coherent receiver. A center frequency of the first optical signal is f1, a center frequency of the second optical signal is f2, f1 is different from f2, and |f1−f2| is less than a first threshold.


Optionally, the coherent receiver 504 may be further configured to receive a first parameter that is from the first node and that is for adjusting the first optical signal. Then, the laser modulator 503 may be further configured to send first indication information to the first node. The first indication information indicates that the second node agrees to adjust the first optical signal based on the first parameter. The coherent receiver 504 may be further configured to receive second indication information from the first node. The second indication information indicates that the first node starts to adjust the first optical signal. The laser modulator 503 may be configured to receive third indication information from the first node. The third indication information indicates that the first node has completed adjustment of the first optical signal.


Optionally, the coherent receiver 504 may be further configured to receive a second parameter that is from the first node and that is for adjusting the second optical signal. The laser modulator 503 may be further configured to send fourth indication information to the first node. The fourth indication information indicates that the second node agrees to adjust the second optical signal based on the second parameter. The coherent receiver 504 may be further configured to receive fifth indication information from the first node. The fifth indication information indicates the second node to start to adjust the second optical signal. The processing module 60 may be further configured to: adjust a maximum frequency band width of the second optical signal to w′2, and/or adjust the center frequency of the second optical signal to f′2. The laser modulator 503 may be further configured to send sixth indication information to the second node. The sixth indication information indicates that the second node has completed adjustment of the second optical signal.


Optionally, the coherent receiver 504 may be further configured to receive a third parameter that is from the first node and that is for adjusting the first optical signal and the second optical signal. The laser modulator 503 may be further configured to send seventh indication information to the first node. The seventh indication information indicates that the second node agrees to adjust the first optical signal and the second optical signal based on the third parameter. The coherent receiver 504 may be further configured to receive second indication information sent from the first node. The second indication information indicates that the first node starts to adjust the first optical signal. The coherent receiver 504 may be further configured to receive third indication information from the first node. The third indication information indicates that the first node has completed adjustment of the first optical signal. The laser modulator 503 may be further configured to send fifth indication information to the second node. The fifth indication information indicates the second node to start to adjust the second optical signal. The processing module 60 may be further configured to: adjust a maximum frequency band width of the second optical signal to w2, and/or adjust the center frequency of the second optical signal to f′2. The laser modulator 503 may be further configured to send sixth indication information to the first node. The sixth indication information indicates that the second node has completed adjustment of the second optical signal.


Optionally, the coherent receiver 504 may be further configured to receive a third parameter that is from the first node and that is for adjusting the first optical signal and the second optical signal. The laser modulator 503 may be further configured to send seventh indication information to the first node. The seventh indication information indicates that the second node agrees to adjust the first optical signal and the second optical signal based on the third parameter. The coherent receiver 504 may be further configured to receive fifth indication information from the first node. The fifth indication information indicates the second node to start to adjust the second optical signal. The processing module 60 may be further configured to: adjust a maximum frequency band width of the second optical signal to w′2, and/or adjust the center frequency of the second optical signal to f′2. In addition, the second node may send sixth indication information to the first node. The sixth indication information indicates that the second node has completed adjustment of the second optical signal. The coherent receiver 504 may be further configured to receive second indication information sent from the first node. The second indication information indicates that the first node starts to adjust the first optical signal. The coherent receiver 504 may be further configured to receive third indication information from the first node. The third indication information indicates that the first node has completed adjustment of the first optical signal.


It should be noted that all related content of the steps in the foregoing method embodiments may be cited in functional description of corresponding functional modules. Details are not described herein again. The communication apparatus 260 provided in the embodiments may perform the foregoing single-fiber bidirectional communication method. Therefore, for effects that can be achieved by the communication apparatus 260, refer to the foregoing method embodiments. Details are not described herein again.



FIG. 27 shows another communication apparatus according to the embodiments. Referring to FIG. 27, the communication apparatus 270 may be a processor 2701, a bus 2702, and an optical module 50. A structure of the optical module 50 may be shown in FIG. 5, and details are not described herein again. The processor 2701 may communicate with the optical module 50 through the bus 2702. For example, the processor 2701 may send signaling to the optical module 50 through the bus 2702, to configure related parameters of the modulator 503 and the coherent receiver 504 in the optical module 50. Optionally, the bus 2702 may be categorized into an address bus, a data bus, a control bus, and the like.


Optionally, the communication apparatus 270 may further include a memory 2703, and the memory 2703 may be configured to store signaling and/or data. For example, the memory 2703 may store a parameter for configuring the optical module, a packet that needs to be sent through the optical module, a packet received by the optical module, or the like.


Optionally, the communication apparatus 270 may further include a communication interface 2704. The communication interface 2704 may be used by the communication apparatus 270 to perform digital communication with another communication apparatus. In an implementation, the communication interface 2704 may be implemented through an interface circuit.


Optionally, the processor in the embodiments may be a central processing unit ( ), another general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or the like. The general-purpose processor may be a microprocessor or any conventional processor or the like. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.


The method steps in embodiments may alternatively be implemented by a processor executing software instructions. The software instructions may include a corresponding software module. The software module may be stored in a random access memory (RAM), a flash memory, a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a register, a hard disk drive, a removable hard disk drive, a CD-ROM, or any other form of storage medium well-known in the art. For example, a storage medium (such as a non-transitory computer-readable storage medium) is coupled to the processor, so that the processor can read information from the storage medium and write information into the storage medium. Further, the storage medium may be a component of the processor. The processor and the storage medium may be located in an ASIC. In addition, the ASIC may be located in a network device or a terminal device. Also, the processor and the storage medium may alternatively exist as discrete components in a network device or a terminal device.


In embodiments, unless otherwise stated or there is a logic conflict, terms and/or descriptions between different embodiments are consistent and may be mutually referenced, and features in different embodiments may be combined into a new embodiment based on an internal logical relationship thereof.


In the embodiments, “at least one” means one or more, and “a plurality of” means two or more. In addition, “and/or” describes an association relationship between associated objects, and represents that three relationships may exist. For example, A and/or B may represent the following cases: only A exists, both A and B exist, and only B exists, where A and B may be singular or plural. In the text descriptions of the embodiments, the character “/” indicates an “or” relationship between the associated objects. In a formula in the embodiments, the character “/” indicates a “division” relationship between the associated objects.


It may be understood that various numbers in embodiments are merely used for differentiation for ease of description, and are not used to limit the scope of embodiments. Sequence numbers of the foregoing processes do not mean an execution sequence, and the execution sequence of the processes should be determined based on functions and internal logic of the processes.

Claims
  • 1. A method, applied to a first node, wherein the first node comprises a first optical module, the first optical module comprises a first laser, a first connection unit, a first coherent receiver, a first laser modulator, and a second connection unit, the first laser is separately connected to the first laser modulator and the first coherent receiver by the first connection unit, and the first coherent receiver and the first laser modulator are connected to a same optical fiber by the second connection unit; and the method comprises: sending, by the first node, a first optical signal to a second node through the first laser modulator, wherein the first optical signal is obtained by modulating laser light emitted by the first laser; andreceiving, by the first node, a second optical signal from the second node through the first coherent receiver, wherein the first laser is configured to generate local oscillator light required by the first coherent receiver, whereina center frequency of the first optical signal is f1, a center frequency of the second optical signal is f2, f1 is different from f2, and |f1−f2| is less than a first threshold.
  • 2. The method according to claim 1, wherein a frequency range of the first optical signal and a frequency range of the second optical signal do not overlap or partially overlap.
  • 3. The method according to claim 2, wherein
  • 4. The method according to claim 1, wherein an output frequency of the first laser is f3,
  • 5. The method according to claim 1, wherein an output frequency of the first laser is f3, a frequency range of receiving the second optical signal by the first coherent receiver is (f3−Δx) to f3 and f3 to (f3+Δx), and
  • 6. The method according to claim 1, comprising: sending, by the first node to the second node, a first parameter for adjusting the first optical signal;receiving, by the first node, first indication information from the second node, wherein the first indication information indicates that the second node agrees to adjust the first optical signal based on the first parameter;sending, by the first node, second indication information to the second node, wherein the second indication information indicates that the first node starts to adjust the first optical signal;adjusting, by the first node, the maximum frequency band width of the first optical signal to w′1, and/or adjusting the center frequency of the first optical signal to f′1; andsending, by the first node, third indication information to the second node, wherein the third indication information indicates that the first node has completed adjustment of the first optical signal.
  • 7. The method according to claim 1, further comprising: sending, by the first node to the second node, a second parameter for adjusting the second optical signal;receiving, by the first node, fourth indication information from the second node, wherein the fourth indication information indicates that the second node agrees to adjust the second optical signal based on the second parameter;sending, by the first node, fifth indication information to the second node, wherein the fifth indication information indicates the second node to start to adjust the second optical signal; andreceiving, by the first node, sixth indication information from the second node, wherein the sixth indication information indicates that the second node has completed adjustment of the second optical signal.
  • 8. The method according to claim 1, further comprising: sending, by the first node to the second node, a third parameter for adjusting the first optical signal and the second optical signal;receiving, by the first node, seventh indication information from the second node, wherein the seventh indication information indicates that the second node agrees to adjust the first optical signal and the second optical signal based on the third parameter;sending, by the first node, second indication information to the second node, wherein the second indication information indicates that the first node starts to adjust the first optical signal;adjusting, by the first node, the maximum frequency band width of the first optical signal to w′1, and/or adjusting the center frequency of the first optical signal to f′1;sending, by the first node, third indication information to the second node, wherein the third indication information indicates that the first node has completed adjustment of the first optical signal;sending, by the first node, fifth indication information to the second node, wherein the fifth indication information indicates the second node to start to adjust the second optical signal; andreceiving, by the first node, sixth indication information from the second node, wherein the sixth indication information indicates that the second node has completed adjustment of the second optical signal.
  • 9. The method according to claim 1, further comprising: sending, by the first node to the second node, a third parameter for adjusting the first optical signal and the second optical signal;receiving, by the first node, seventh indication information from the second node, wherein the seventh indication information indicates that the second node agrees to adjust the first optical signal and the second optical signal based on the third parameter;sending, by the first node, fifth indication information to the second node, wherein the fifth indication information indicates the second node to start to adjust the second optical signal;receiving, by the first node, sixth indication information from the second node, wherein the sixth indication information indicates that the second node has completed adjustment of the second optical signal;sending, by the first node, second indication information to the second node, wherein the second indication information indicates that the first node starts to adjust the first optical signal;adjusting, by the first node, the maximum frequency band width of the first optical signal to w′1, and/or adjusting the center frequency of the first optical signal to f′1; andsending, by the first node, third indication information to the second node, wherein the third indication information indicates that the first node has completed adjustment of the first optical signal.
  • 10. The method according to claim 1, wherein the first node communicates with n nodes through the first optical module, wherein n≥2; and the second node is a kth node in the n nodes, f1=fAk, and f2=fBk, fAk is a center frequency of an optical signal Ak sent by the first node to the kth node in the n nodes, fBk is a center frequency of an optical signal Bk sent by the kth node to the first node, and k is a positive integer from 1 to n.
  • 11. A method, applied to a second node, wherein the second node comprises a second optical module, the second optical module comprises a second laser, a third connection unit, a second coherent receiver, a second laser modulator, and a fourth connection unit, the second laser is separately connected to the second laser modulator and the second coherent receiver by the third connection unit, and the second coherent receiver and the second laser modulator are connected to a same optical fiber by the fourth connection unit; and the method comprises: sending, by the second node, a second optical signal to a first node through the second laser modulator, wherein the second optical signal is obtained by modulating laser light emitted by the second laser; andreceiving, by the second node, a first optical signal from the first node through the second coherent receiver, wherein the second laser is configured to generate local oscillator light required by the second coherent receiver, whereina center frequency of the first optical signal is f1, a center frequency of the second optical signal is f2, f1 is different from f2, and |f1−f2| is less than a first threshold.
  • 12. The method according to claim 11, wherein an output frequency of the second laser is f4,
  • 13. The method according to claim 11, wherein an if-the-output frequency of the second laser is f4, a frequency range of receiving the first optical signal by the second coherent receiver is (f4−Δy) to f4 and f4 to (f4+Δy), and
  • 14. A communication apparatus, wherein the communication apparatus comprises a first optical module, the first optical module comprises a first laser, a first connection unit, a first coherent receiver, a first laser modulator, and a second connection unit, the first laser is separately connected to the first laser modulator and the first coherent receiver by the first connection unit, and the first coherent receiver and the first laser modulator are connected to a same optical fiber by the second connection unit; wherein the first laser modulator is configured to send a first optical signal to a second node, wherein the first optical signal is obtained by modulating laser light emitted by the first laser; andthe first coherent receiver is configured to receive a second optical signal from the second node, wherein the first laser is configured to generate local oscillator light required by the first coherent receiver, whereina center frequency of the first optical signal is f1, a center frequency of the second optical signal is f2, f1 is different from f2, and |f1−f2| is less than a first threshold.
  • 15. The communication apparatus according to claim 14, wherein a frequency range of the first optical signal and a frequency range of the second optical signal do not overlap or partially overlap.
  • 16. The communication apparatus according to claim 15, wherein
  • 17. The communication apparatus according to claim 14, wherein an output frequency of the first laser is f3,
  • 18. The communication apparatus according to claim 14, wherein an output frequency of the first laser is f3, a frequency range of receiving the second optical signal by the first coherent receiver is (f3−Δx) to f3 and f3 to (f3+Δx), and
  • 19. The communication apparatus according to claim 14, wherein the first node is further configured to: send a first parameter for adjusting the first optical signal to the second node;receive first indication information from the second node, wherein the first indication information indicates that the second node agrees to adjust the first optical signal based on the first parameter;send second indication information to the second node, wherein the second indication information indicates that the first node starts to adjust the first optical signal;adjust the maximum frequency band width of the first optical signal to w′1, and/or adjusting the center frequency of the first optical signal to f′1; andsend third indication information to the second node, wherein the third indication information indicates that the first node has completed adjustment of the first optical signal.
  • 20. The communication apparatus according to claim 14, wherein the first node is further configured to: send a second parameter for adjusting the second optical signal to the second node;receive fourth indication information from the second node, wherein the fourth indication information indicates that the second node agrees to adjust the second optical signal based on the second parameter;send fifth indication information to the second node, wherein the fifth indication information indicates the second node to start to adjust the second optical signal; andreceive sixth indication information from the second node, wherein the sixth indication information indicates that the second node has completed adjustment of the second optical signal.
Priority Claims (1)
Number Date Country Kind
202210901631.5 Jul 2022 CN national
CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of International Application No. PCT/CN2023/104768, filed on Jun. 30, 2023, which claims priority to Chinese Patent Application No. 202210901631.5, filed on Jul. 28, 2022. The disclosures of the aforementioned applications are hereby incorporated by reference in their entireties.

Continuations (1)
Number Date Country
Parent PCT/CN2023/104768 Jun 2023 WO
Child 19024081 US