NETWORK SWITCH AND CIRCUIT BOARD WHERE PRECISION TIME PROTOCOL MODULE IS USED
20230171016 · 2023-06-01
Assignee
Inventors
Cpc classification
H04J3/0641
ELECTRICITY
H04J3/0667
ELECTRICITY
International classification
Abstract
A network switch can include a precision time protocol (PTP) module and a circuit board. The PTP module can provide a first clock signal and include a predetermined interface. The circuit board can include a socket, an oscillator and a selection unit. The socket can be inserted by the predetermined interface to receive the first clock signal. The oscillator can provide a second clock signal. The selection unit can include a first terminal, a second terminal, an output terminal and a selection terminal. The first terminal can receive the first clock signal when the predetermined interface is inserted into the socket. The second terminal can receive the second clock signal. The output terminal can output one of the first clock signal and the second clock signal. The selection terminal can receive a selection signal to control the output terminal to output the first clock signal or the second clock signal.
Claims
1. A network switch, comprising: a precision time protocol module configured to provide a first clock signal, and comprising a predetermined interface; and a circuit board, comprising: a socket configured to be inserted by the predetermined interface to receive the first clock signal; a first oscillator configured to provide a second clock signal; and a selection unit comprising a first terminal configured to receive the first clock signal when the predetermined interface is inserted into the socket, a second terminal configured to receive the second clock signal, an output terminal configured to output one of the first clock signal and the second clock signal, and a selection terminal configured to receive a selection signal to control the output terminal to output the first clock signal or the second clock signal.
2. The network switch of claim 1, wherein: the first clock signal is used to support a precision time protocol; and the second clock is used to support a non-precision time protocol.
3. The network switch of claim 1, wherein the precision time protocol module further comprises: a second oscillator configured to provide a synchronous oscillation signal; and a phase locked loop configured to generate the first clock signal according to the synchronous oscillation signal; wherein the second oscillator is configured to support a precision time protocol.
4. The network switch of claim 3, wherein the second oscillator comprises at least one of an oven controlled crystal oscillator and a temperature compensate crystal oscillator.
5. The network switch of claim 3, wherein the circuit board further comprises a controller configured to perform a control process to perform a synchronous control operation, and the control process is corresponding to the second oscillator and the phase locked loop.
6. The network switch of claim 3, wherein: the precision time protocol module further comprises a reference voltage terminal configured to receive a reference voltage signal having a substantially fixed signal level; the socket is further configured to receive the reference voltage signal when the predetermined interface is inserted into the socket; and the circuit board further comprises a logic unit configured to receive the reference voltage signal to adjust a signal level of the selection signal to control the output terminal of the selection unit to output the second clock signal when the predetermined interface is inserted into the socket.
7. The network switch of claim 6, wherein the logic unit comprises: an inverter configured to receive and invert the reference voltage signal to generate an inverted signal when the predetermined interface is inserted into the socket; and an exclusive-OR gate comprising a first terminal configured to receive the inverted signal, a second terminal configured to receive an internal control signal, and an output terminal configured to output the selection signal.
8. The network switch of claim 7, wherein the reference voltage signal has a first signal level, and the inverted signal has a second signal level complementary to the first signal level.
9. The network switch of claim 1, wherein: the circuit board further comprises a second oscillator configured to provide a synchronous oscillation signal; and the precision time protocol module further comprises a phase locked loop configured to generate the first clock signal according to the synchronous oscillation signal when the predetermined interface is inserted into the socket; wherein the second oscillator is configured to support a precision time protocol.
10. The network switch of claim 9, wherein the second oscillator comprises at least one of an oven controlled crystal oscillator and a temperature compensate crystal oscillator.
11. The network switch of claim 9, wherein the circuit board further comprises a controller configured to perform a control process to perform a synchronous control operation, and the control process is corresponding to the second oscillator and the phase locked loop.
12. The network switch of claim 11, wherein: the precise time protocol module further comprises a memory configured to store recognition data; and the controller is further configured to read the recognition data, and the controller performs the control process when the recognition data is correct.
13. A circuit board, comprising: a socket configured to be inserted by a predetermined interface of a precision time protocol module to receive a first clock signal; a first oscillator configured to provide a second clock signal; and a selection unit comprising a first terminal configured to receive the first clock signal when the predetermined interface is inserted into the socket, a second terminal configured to receive the second clock signal, an output terminal configured to output one of the first clock signal and the second clock signal, and a selection terminal configured to receive a selection signal to control the output terminal to output the first clock signal or the second clock signal.
14. The circuit board of claim 13, wherein: the first clock signal is used to support a precision time protocol; and the second clock is used to support a non-precision time protocol.
15. The circuit board of claim 13, wherein: the socket is further configured to receive a reference voltage signal when the predetermined interface is inserted into the socket; and the circuit board further comprises a logic unit configured to receive the reference voltage signal to adjust a signal level of the selection signal to control the output terminal of the selection unit to output the second clock signal when the predetermined interface is inserted into the socket.
16. The circuit board of claim 15, wherein the logic unit comprises: an inverter configured to receive and invert the reference voltage signal to generate an inverted signal when the predetermined interface is inserted into the socket; and an exclusive-OR gate comprising a first terminal configured to receive the inverted signal, a second terminal configured to receive an internal control signal, and an output terminal configured to output the selection signal.
17. The network switch of claim 15, wherein: the circuit board further comprises a second oscillator configured to provide a synchronous oscillation signal; when the predetermined interface is inserted into the socket, the synchronous oscillation signal is provided through the predetermined interface and the first clock signal is received; and the second oscillator is configured to support a precision time protocol.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0009]
[0010]
[0011]
[0012]
DETAILED DESCRIPTION
[0013]
[0014] As shown in
[0015] For example, the core switch chip 128 can include a specific application integrated circuit (ASIC). The programmable unit 129 can include a field programmable gate array (FPGA) and/or a complex programmable logic device (CPLD). As shown in
[0016] The first clock signal Sc1 can be used to support a precision time protocol, and the second clock signal Sc2 can be used to support a non-precision time protocol (non-PTP). For example, the first clock signal Sc1 can be used to support 5G communications and/or 6G communications, and the second clock signal Sc2 can be used to support applications related to the Ethernet network.
[0017] As shown in
[0018]
[0019] As shown in
[0020]
[0021] Here, the operation of the logic unit 127 is explained with an example. In the example, the first signal level of the reference voltage signal Vr is a low signal level, and the second signal level of the inverted signal Vr′ is a high signal level. The reference voltage signal Vr can be a ground voltage signal corresponding to the low signal level and a logic 0. When the predetermined interface 112 is inserted into the socket 122, the inverter 310 can receive the reference voltage signal Vr to generate the inverted signal Vr′, and the inverted signal Vr′ can have the high signal level corresponding to a logic 1. The internal control signal Vi can have a proper signal level, such as the low signal level of the logic 0. Hence, when the first terminal of the exclusive-OR gate 320 receives the inverted signal Vr′ corresponding to the logic 1, the selection signal Ssel can have a proper signal level (e.g. the low signal level of the logic 0) to control the output terminal of the selection unit 124 to output the first clock signal Sc1. Here, the signal levels are examples, and the signal levels can be set according to design requirements.
[0022]
[0023] Here,
[0024] In
[0025] The first clock signal Sc1 can be generated with the oscillator 114 supporting the precision time protocol. The second signal Sc2 can be generated with the oscillator 123 on the circuit board 120. The first clock signal Sc1 and the second signal Sc2 can be different. The oscillator 123 on the circuit board 120 can be a general oscillator with a lower price. The oscillator 114 can support the precision time protocol and be more costly. By using the structures in
[0026] Hence, the circuit board 120 can be a general-purpose circuit board. The functions of the precision time protocol and the non- precision time protocol can be flexibly supported by using or omitting the precision time protocol module 110. As shown in
[0027] As shown in
[0028] Since both the oscillator 114 and the phase locked loop 116 supporting the precision time protocol have to pass the relevant certification, and the oscillator 114 and the phase locked loop 116 provided by each vendor have to be controlled by specific programs, the oscillator 114 and the phase locked loop 116 should cooperate with one another when they are in use. If the oscillator 114 and the phase locked loop 116 are selected respectively, the complexity and difficulty of design and control will increase. In addition, it is difficult to design a circuit board that can support both the precision time protocol and the non-precision time protocol. By integrating the components related to the precision time protocol in the precision time protocol module 110 as shown in
[0029] Through the structures in
[0030] Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.