Signal processing method, device, chip, storage medium and program product
By performing optical signal frequency processing in the MFU, compatibility with SFUs of different PON rate modes is achieved, which solves the problem of MFU being unable to be compatible with SFUs of different frequencies, prolongs the equipment life cycle and reduces user costs.
Patent Information
- Application Number
- CN202410591081.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-13
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-05-13
AI Technical Summary
In the FTTR system, the main home all-optical network equipment (MFU) is not compatible with the different PON rate modes used by the slave home all-optical network equipment (SFU), causing users to frequently replace the MFU, shortening the equipment life cycle and increasing user costs.
By acquiring the optical signal sent by the SFU in the MFU, the target sampling frequency is processed. If the target frequency is greater than the original frequency, the frequency is down-processed to ensure that the signal frequency is consistent with the original frequency, thereby achieving compatibility with SFUs of different frequencies.
It extends the service life of the MFU, reduces the user's cost, and makes the MFU compatible with different PON rate modes of the SFU without the need to replace equipment.
Smart Images

Figure CN118200772B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technology, and in particular to a signal processing method, device, chip, storage medium and program product. Background Art
[0002] With the application and development of passive optical network technology, Fiber To The Home (FTTH) has gradually extended to the home, and with the standardization of domestic and international standards, Fiber To The Room (FTTR) has been realized. Among them, in the FTTH system, the optical line terminal (FTTR, OLT) can connect multiple optical network units (ONU). In the FTTR system, the main home all-optical network device (Main FTTR Unit, MFU) can connect multiple sub-home all-optical network devices (Sub FTTR Unit, SFU).
[0003] However, as FTTR systems continue to evolve, the PON rate modes used by SFU may be different, which may make MFU incompatible with SFU. Summary of the invention
[0004] The present disclosure provides a signal processing method, device, chip, storage medium and program product, which can improve the compatibility of MFU.
[0005] In order to achieve the above objectives, the present invention adopts the following technical solutions:
[0006] On the one hand, the present disclosure provides a signal processing method, which is applied to a first device of an optical network, wherein the first device is connected to at least one second device. In the method, a first electrical signal converted from an optical signal sent by the second device is obtained. The first electrical signal is sampled according to a target sampling frequency to obtain a second electrical signal. If the target sampling frequency is greater than the signal frequency of the first electrical signal, the second electrical signal is down-converted to obtain a third electrical signal, and the signal frequency of the third electrical signal is the same as the signal frequency of the first electrical signal.
[0007] In another aspect, a signal processing device is provided, which is applied to a first device of an optical network, wherein the first device is connected to at least one second device. The device comprises: an acquisition module and a processing module.
[0008] The acquisition module is used to acquire a first electrical signal converted from an optical signal sent by the second device. The processing module is used to sample the first electrical signal according to a target sampling frequency to obtain a second electrical signal. The processing module is also used to down-convert the second electrical signal to obtain a third electrical signal if the target sampling frequency is greater than the signal frequency of the first electrical signal, and the signal frequency of the third electrical signal is the same as the signal frequency of the first electrical signal.
[0009] On the other hand, a signal processing device is provided, comprising: a memory and a processor; the memory and the processor are coupled; the memory is used to store a computer program; and the processor implements the method in any one of the above embodiments when executing the computer program.
[0010] A chip, the chip comprising one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected via a line. The interface circuit is used to receive a signal from a computer memory and send the signal to the processor, the signal comprising a computer instruction stored in the memory. When the processor executes the computer instruction, the computer executes the method as described in the first aspect and any possible design thereof.
[0011] On the other hand, a computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the method in any of the above embodiments is implemented.
[0012] On the other hand, a chip is provided, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run a computer program or instruction to implement the method in any of the above embodiments.
[0013] On the other hand, a computer program product is provided, which, when the instructions are executed by a computer, enables the computer to implement the method in any one of the above embodiments.
[0014] The disclosed embodiment discloses that a first electrical signal converted from an optical signal sent by a second device is obtained and the first electrical signal is sampled at a target sampling frequency to obtain a second electrical signal. Afterwards, when the target sampling frequency is greater than the signal frequency of the first electrical signal, the first device can be compatible with the current second device. In this way, even if the PON rate mode used by the second device changes, there is no need to replace the first device, which extends the service life of the first device and reduces the user's usage cost. In addition, the second electrical signal is down-converted to obtain a third electrical signal, and the signal frequency of the third electrical signal is the same as the signal frequency of the first electrical signal. In this way, the first device can send a signal according to the original signal frequency of the second device, thereby enabling the first device to be compatible with second devices of different frequencies. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 A communication system architecture diagram provided for an embodiment of the present disclosure;
[0016] Figure 2 Another communication system architecture diagram provided for an embodiment of the present disclosure;
[0017] Figure 3 A schematic diagram of a circuit structure provided by an embodiment of the present disclosure;
[0018] Figure 4 A flowchart of a signal processing method provided by an embodiment of the present disclosure;
[0019] Figure 5 A flowchart of another signal processing method provided by an embodiment of the present disclosure;
[0020] Figure 6 A flowchart of another signal processing method provided by an embodiment of the present disclosure;
[0021] Figure 7 A flowchart of another signal processing method provided by an embodiment of the present disclosure;
[0022] Figure 8 A schematic diagram of the structure of a signal processing device provided by an embodiment of the present disclosure;
[0023] Fig. 9 A schematic diagram of the structure of another signal processing device provided by an embodiment of the present disclosure;
[0024] Fig.10 A conceptual partial view of a computer program product provided for an embodiment of the present disclosure;
[0025] Fig.11 A schematic diagram of the structure of a chip provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0026] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0027] In this article, the character " / " generally indicates that the objects before and after are in an "or" relationship. For example, A / B can be understood as A or B.
[0028] The terms “first” and “second” in the description and claims of the present disclosure are used to distinguish different objects rather than to describe a specific order of the objects.
[0029] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of the present disclosure are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, but may optionally include other steps or modules that are not listed, or may optionally include other steps or modules that are inherent to these processes, methods, products or devices.
[0030] In addition, in the embodiments of the present disclosure, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present disclosure should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present concepts in a specific way.
[0031] At present, passive optical network systems generally include OLT, optical distribution network (ODN) and optical network unit (ONU). Users often only need one ONU to access the operator network. The FTTR networking solution requires a single master gateway (MFU) to match one or more slave gateways (SFU), which means that users need an MFU to access the operator network and one or more SFUs to complete the home networking. The PON port between the MFU and SFU of the FTTR equipment currently running on the network generally adopts a 2.5G asymmetric rate, that is, 1.244G for upstream and 2.488G for downstream. However, with the popularization of services and devices such as 4K video, 8K video, virtual reality technology (VR), and network attached storage (NAS), the bandwidth provided by the 2.5G asymmetric rate can no longer meet the bandwidth requirements of home networking.
[0032] In order to further improve the user experience, the PON rate mode of SFU can be improved, for example, the 2.5G asymmetric rate can be improved to 2.5G symmetric, 10G asymmetric, 10G symmetric, etc. However, since the rate modes supported by MFU are certain, when the PON rate mode of SFU is improved, MFU is not compatible with SFU of other rate modes, and users need to replace MFU, resulting in a lower service life of MFU and increased user costs.
[0033] In order to solve the above problems, an embodiment of the present disclosure provides a signal processing method, which is applied to a first device of an optical network, and the first device is connected to at least one second device. In the method, a first electrical signal converted from an optical signal sent by the second device is obtained and the first electrical signal is sampled according to a target sampling frequency to obtain a second electrical signal. Afterwards, when the target sampling frequency is greater than the signal frequency of the first electrical signal, the first device can be compatible with the current second device. In this way, even if the PON rate mode used by the second device changes, there is no need to replace the first device, which extends the service life of the first device and reduces the user's usage cost. In addition, the second electrical signal is down-converted to obtain a third electrical signal, and the signal frequency of the third electrical signal is the same as the signal frequency of the first electrical signal. In this way, the first device can send a signal according to the original signal frequency of the second device, thereby enabling the first device to be compatible with second devices of different frequencies.
[0034] To facilitate understanding of the embodiments of the present disclosure, first Figure 1 The communication system shown in FIG. 1 is used as an example to describe in detail a communication system applicable to an embodiment of the present disclosure. For example, Figure 1 A schematic diagram of the architecture of a communication system to which the signal processing method provided in the embodiment of the present disclosure is applicable. Figure 1 As shown, the communication system includes a first device and at least one second device.
[0035] In some embodiments, the first device and the second device may be devices in an FTTR system, wherein the first device may be an MFU and the second device may be an SFU.
[0036] Among them, MFU is connected to OLT and is the upstream part of the entire network. MFU has data processing and forwarding capabilities, which can ensure high-speed and stable operation of the network. In addition, MFU can also provide connection with SFU through a wired interface. SFU is mainly installed in various rooms or specific areas that require network coverage. Optical fiber connection is used between SFU and MFU to ensure high-speed transmission and low latency of the network.
[0037] For example, Figure 2 As shown, the optical line terminal is connected to a master home all-optical network device, and the master home all-optical network device can be connected to multiple slave home all-optical network devices.
[0038] Among them, the main home all-optical network device includes multiple optical modules, and the multiple optical modules may include at least one of the following: a first optical module, a second optical module, a third optical module and a fourth optical module. Among them, the first optical module may include at least one of the following: a Gigabit-Capable PON (GPON) module, an Ethernet Passive Optical Network (EthernetPON, EPON) module, corresponding to the 2.5G asymmetric mode in the FTTR scenario. The second optical module may include at least one of the following: an XEPON module, an XG PON module (i.e., a 10G PON module), a 10 Gigabit Symmetric Passive Optical Network (10GigabitSymmetric PON, 10GS PON) module, and an XGS PON module. Among them, the XEPON module and the XG PON module correspond to the 10G asymmetric mode in the FTTR scenario, and the 10GS PON module and the XGS PON module correspond to the 10G symmetric mode in the FTTR scenario. The third optical module may be a 25G PON module, and the fourth optical module may be a 50G PON module.
[0039] The multiple slave-home all-optical network devices may include at least one of the following: a slave-home all-optical network device in 2.5G symmetric mode / 2.5G asymmetric mode (which may be referred to as a first type of slave device), a slave-home all-optical network device in 10G symmetric mode / 10G asymmetric mode (which may be referred to as a second type of slave device), a slave-home all-optical network device in 25G PON rate mode (which may be referred to as a third type of slave device), and a slave-home all-optical network device in 50G PON rate mode (which may be referred to as a fourth type of slave device).
[0040] It should be noted that the upstream and downstream wavelengths and upstream and downstream rates corresponding to different PON rate modes are different. For example, the upstream wavelength of the 2.5G asymmetric mode is 1310 nanometers (nanometer, nm), the downstream wavelength is 1490nm, the upstream rate is 1244 seconds / Megabits Per Second (Mbps), and the downstream rate is 2488 Mbps. The upstream wavelength of the 2.5G symmetric mode is 1310 nm, the downstream wavelength is 1490nm, the upstream rate is 2488 Mbps, and the downstream rate is 2488 Mbps. The upstream wavelength of the 10G asymmetric mode is 1310 nm, the downstream wavelength is 1577nm, the upstream rate is 2488 Mbps, and the downstream rate is 9953Mbps. The upstream wavelength of the 10G symmetric mode is 1310 nm, the downstream wavelength is 1577nm, the upstream rate is 9953 Mbps, and the downstream rate is 9953 Mbps.
[0041] In some embodiments, the first device and the second device may be devices in a FTTH system, wherein the first device may be an OLT, and the second device may be an ONU (or an optical network terminal (ONT)).
[0042] OLT is a hardware device installed in the central control station, acting as the endpoint of the passive optical network. OLT can send Ethernet data to ONU and control the ranging process. The main functions of OLT include downstream frame processing, wavelength division multiplexing, upstream frame processing, and control signal generation. ONU is a device used to provide an optical interface. After receiving the data sent by OLT, ONU will convert it into an electrical signal suitable for user equipment.
[0043] In the embodiment of the present disclosure, the first device may receive an uplink optical signal sent by the second device, and the first device may convert the uplink optical signal into an electrical signal and process the electrical signal.
[0044] In a possible implementation, the first device may include: an optical module and a main chip of the first device, the main chip including: a serializer / deserializer SerDes circuit and a passive optical network media access control (PON Media Access Control, PON MAC) module. The optical module of the first device is used to receive an optical signal and convert the optical signal into an electrical signal. The SerDes circuit is used to sample and down-convert the converted electrical signal, and the PON MAC module is used to complete a business process based on the electrical signal.
[0045] For example, Figure 3 As shown, the SerDes circuit may include: an input end, a module 1, a module 2, and an output end. Among them, the input end is used to receive the electrical signal converted by the optical module. Module 1 is used to configure the target sampling frequency, which represents the maximum signal frequency output by the Serdes circuit at the target sampling frequency. Module 1 can complete the sampling of the electrical signal according to the target sampling frequency and the hardware capability. Module 2 is used to reduce the frequency of the electrical signal. For example, module 2 can use automatic / manual frequency reduction to determine the frequency reduction coefficient and complete the frequency reduction of the signal. Module 2 can also be used to determine the PON rate mode of the second device and determine the signal frequency that the Serdes circuit will eventually output. In addition, the SerDes circuit can receive a clock input and configure the clock signal required for the Serdes circuit to work, such as 155.52 Mega Hertz (MHz). The output end can transmit the frequency-reduced electrical signal to the PON MAC module. The PON MAC module can complete subsequent business processing procedures, such as completing frame identification and subsequent registration, business message forwarding, and other tasks.
[0046] After introducing the application scenario and implementation environment of the embodiment of the present disclosure, the signal processing method provided by the embodiment of the present disclosure is described in detail below in combination with the above implementation environment.
[0047] like Figure 4 As shown, a signal processing method provided by an embodiment of the present disclosure can be applied to a first device of an optical network. The method may include:
[0048] S401. Acquire a first electrical signal converted from an optical signal sent by a second device.
[0049] The first device is connected to at least one second device, and the second device that obtains the transmitted optical signal is any second device among the at least one second device.
[0050] In a possible implementation, when the first device is a master home all-optical network device, the second device is a slave home all-optical network device.
[0051] In a possible implementation manner, when the first device is an optical network terminal, the second device is an optical network unit.
[0052] In a possible implementation, an optical signal sent by a second device is received, and then the optical signal sent by the second device is converted into a first electrical signal.
[0053] S402: Sample the first electrical signal according to a target sampling frequency to obtain a second electrical signal.
[0054] In the embodiment of the present disclosure, the target sampling frequency is less than or equal to the maximum signal frequency supported by the first device (also referred to as the maximum signal frequency supported by the first device or the maximum sampling frequency supported by the first device). The maximum signal frequency supported by the first device is determined by the hardware capability of the first device.
[0055] For example, if the maximum signal frequency supported by the first device for output is 100 GHz, the target sampling frequency may be 100 GHz, 50 GHz, 10 GHz, or the like.
[0056] It should be noted that the embodiment of the present disclosure does not limit the maximum sampling frequency supported by the first device. For example, the maximum sampling frequency supported by the first device may be 50 GHz, 2.5 GHz, 10 GHz, etc. The specific setting may be based on the actual use scenario and cost of the device.
[0057] It should be noted that the embodiment of the present disclosure does not limit the setting method of the target sampling frequency. For example, the target sampling frequency can be configured by the developer, that is, the target sampling frequency is preset at the factory. For another example, the target sampling frequency can be configured by the user.
[0058] In a possible implementation manner, a target sampling frequency sent by a terminal may be received.
[0059] It should be noted that the target sampling frequency can be configured according to the requirements of performance and power consumption. For example, when a high-speed device such as 50G needs to be accessed, a high sampling frequency (such as 50G) is configured. When a relatively low-speed device mode such as GPON asymmetric or XGPON is accessed, it can be configured to 2.5G or 10G to reduce the power consumption of the first device.
[0060] In some embodiments, a configuration sampling frequency sent by a terminal may be received, and the configuration sampling frequency may be a sampling frequency input by a user. If the configuration sampling frequency is less than or equal to the maximum sampling frequency supported by the first device, the Serdes circuit uses the configuration sampling frequency as the target sampling frequency. If the configuration sampling frequency is greater than the maximum sampling frequency supported by the first device, the Serdes circuit uses the maximum sampling frequency supported by the first device as the target sampling frequency.
[0061] For example, if the maximum sampling frequency supported by the first device is 200 GHz and the sampling frequency is configured to be 50 GHz, the Serdes circuit samples at a frequency of 50 GHz; if the maximum sampling frequency supported by the first device is 10 GHz and the sampling frequency is configured to be 50 GHz, the Serdes circuit samples at a frequency of 10 GHz.
[0062] In some embodiments, the target sampling frequency can be adjusted. The adjusted target sampling frequency is different from the unadjusted target sampling frequency. The adjusted target sampling frequency can be greater than the unadjusted target sampling frequency and less than the maximum sampling frequency supported by the first device, or the adjusted target sampling frequency can be less than the unadjusted target sampling frequency.
[0063] For example, if the maximum sampling frequency supported by the first device is 50 GHz, the target sampling frequency may be adjusted from 10 GHz to 50 GHz. Alternatively, the target sampling frequency may be adjusted from 10 GHz to 2.5 GHz.
[0064] It is understandable that by adjusting the target sampling frequency, the first device can collect electrical signals of different frequencies, so that the first device can be compatible with the second device of different frequencies. In addition, when the target sampling frequency is reduced, the power consumption of the first device can be reduced.
[0065] S403: Determine whether the target sampling frequency is greater than the signal frequency of the first electrical signal.
[0066] The signal frequency of the first electrical signal is determined by the PON rate mode of the second device.
[0067] For example, if the PON rate mode of the second device is 2.5G asymmetric (corresponding to the GPON mode in the FTTH scenario, the optical module of the second device outputs an electrical signal at a rate of 1.25G), the signal frequency of the first electrical signal is 1.25GHz. If the PON rate mode of the second device is 10G symmetric mode, the signal frequency of the first electrical signal is 10GHz.
[0068] In some embodiments, if the target sampling frequency is greater than the signal frequency of the first electrical signal, S404 is executed. If the target sampling frequency is equal to the signal frequency of the first electrical signal, the second electrical signal is not subjected to frequency reduction processing.
[0069] In some embodiments, if the target sampling frequency is less than the signal frequency of the first electrical signal, a frequency warning message is sent to the terminal, and the frequency warning message is used to indicate that the target sampling frequency is less than the signal frequency of the first electrical signal. Afterwards, the terminal may send a sampling frequency adjustment instruction to update the target sampling frequency. The updated frequency adjustment instruction is greater than or equal to the signal frequency of the first electrical signal.
[0070] S404: Down-convert the second electrical signal to obtain a third electrical signal.
[0071] The signal frequency of the third electrical signal is the same as the signal frequency of the first electrical signal.
[0072] In the embodiment of the present disclosure, the signal frequency of the second electrical signal may be reduced based on the signal frequency of the first electrical signal, so that the signal frequency of the third electrical signal is the same as the signal frequency of the first electrical signal.
[0073] Exemplarily, if the signal frequency of the first electrical signal is 2.5 GHz and the signal frequency of the second electrical signal is 10 GHz, the second electrical signal is down-converted to a signal frequency of 2.5 GHz.
[0074] It should be noted that the process of down-converting the second electrical signal can refer to the method of down-converting a signal in conventional technology, which will not be described in detail here.
[0075] Based on the above technical solution, the first electrical signal converted from the optical signal sent by the second device is obtained and the first electrical signal is sampled according to the target sampling frequency to obtain the second electrical signal. Afterwards, when the target sampling frequency is greater than the signal frequency of the first electrical signal, the first device can be compatible with the current second device. In this way, even if the PON rate mode used by the second device changes, there is no need to replace the first device, which extends the service life of the first device and reduces the user's usage cost. In addition, the second electrical signal is down-converted to obtain a third electrical signal, and the signal frequency of the third electrical signal is the same as the signal frequency of the first electrical signal. In this way, the first device can send a signal according to the original signal frequency of the second device, thereby enabling the first device to be compatible with second devices of different frequencies.
[0076] In some embodiments, the second electrical signal may be down-converted according to a target down-conversion coefficient to obtain a third electrical signal.
[0077] Exemplarily, if the target frequency reduction coefficient is 0.25 and the signal frequency of the second electrical signal is 10 GHz, the signal frequency of the third electrical signal is 2.5 GHz.
[0078] It should be noted that the embodiment of the present disclosure does not limit the method for determining the target frequency reduction coefficient. For example, the target frequency reduction coefficient may be automatically generated. For another example, the target frequency reduction coefficient may be preconfigured by a developer. For another example, the target frequency reduction coefficient may be set by a user.
[0079] In a possible implementation, the target frequency reduction coefficient may be automatically generated. The signal frequency and the target sampling frequency of the first electrical signal may be obtained. Then, the target frequency reduction coefficient may be determined according to the signal frequency and the target sampling frequency of the first electrical signal.
[0080] For example, if the signal frequency of the first electrical signal is 2.5 GHz and the target sampling frequency is 50 GHz, the target frequency reduction coefficient is 0.05. If the signal frequency of the first electrical signal is 2.5 GHz and the target sampling frequency is 10 GHz, the target frequency reduction coefficient is 0.25.
[0081] It is understandable that after acquiring the signal frequency and target sampling frequency of the first electrical signal, the target frequency reduction coefficient can be determined based on the signal frequency and target sampling frequency of the first electrical signal, so that the first device can automatically reduce the frequency of the electrical signal to achieve compatibility with the second device.
[0082] In another possible implementation, the target downconversion coefficient may be set by a user. The target downconversion coefficient sent by the receiving terminal is received.
[0083] For example, if the signal frequency of the first electrical signal is 2.5 GHz and the target sampling frequency is 10 GHz, the user may configure the target frequency reduction factor to be 0.25 in the terminal, and the terminal sends the 0.25 to the first device.
[0084] In this way, by allowing the user to set the target frequency reduction coefficient, the user can flexibly set the target frequency reduction coefficient in combination with the actually used PON rate mode, thereby ensuring that the first device can be compatible with the second device.
[0085] It should be noted that the first device may pre-configure a method for determining the target frequency reduction coefficient, i.e., a frequency reduction method. For example, an automatic frequency reduction method may be configured, and the first device determines the target frequency reduction coefficient. For another example, a user may be configured to set the target frequency reduction coefficient (i.e., manual frequency reduction). This disclosure embodiment does not limit this.
[0086] In some embodiments, operations such as demodulation and filtering may be performed on the first electrical signal to obtain the signal frequency of the first electrical signal.
[0087] Exemplarily, the OLT may analyze and detect the first electrical signal using an optical demodulator, wherein the optical demodulator can analyze key information such as the frequency, amplitude, and phase of the electrical signal. Afterwards, the OLT may further process and decode the demodulated electrical signal to extract the frequency information of the electrical signal.
[0088] In some embodiments, a passive optical network (PON) rate mode of the second device may be obtained. According to the passive optical network (PON) rate mode of the second device, the signal frequency of the first electrical signal is determined.
[0089] The first device stores a preset correspondence between the PON rate mode and the signal frequency. The signal frequency of the first electrical signal can be determined according to the PON rate mode of the second device and the preset correspondence.
[0090] It should be noted that the method for obtaining the PON rate mode of the second device can refer to the method for obtaining the PON rate mode of the ONU or SFU in conventional technology, which will not be described in detail here.
[0091] It should be understood that the signal frequency of the first electrical signal is the signal frequency of the output signal of the optical module using the PON rate mode in the second device.
[0092] For example, if the PON rate mode of the second device is 2.5G asymmetric mode, the signal frequency is 1.25 GHz. If the PON rate mode of the second device is 2.5G symmetric mode, the signal frequency is 2.5 GHz. If the PON rate mode of the second device is 10G asymmetric mode, the signal frequency is 2.5 GHz. If the PON rate mode of the second device is 10G symmetric mode, the signal frequency is 10 GHz.
[0093] It can be understood that by acquiring the PON rate mode of the second device, the signal frequency of the first electrical signal can be determined, so that the frequency can be reduced based on the signal frequency to ensure that the first device is compatible with the second device.
[0094] In some embodiments, among the at least one second device connected to the first device, the PON rate mode of each second device is the same.
[0095] Assuming that the PON rate modes of the second device connected to the first device are the same, the signal processing process is introduced by taking the optical module, SerDes circuit (hereinafter referred to as the target circuit) and PON MAC module in the first device as the execution body as an example.
[0096] like Figure 5 As shown, the optical module can receive the optical signal sent by the second device and convert the optical signal into an electrical signal. Afterwards, the target circuit determines the target sampling frequency, and samples the electrical signal according to the target sampling frequency to obtain the sampled electrical signal. Afterwards, the target circuit determines whether the signal frequency of the sampled electrical signal is the same as the signal frequency sent by the second device. If the signal frequency of the sampled electrical signal is the same as the signal frequency sent by the second device, the target circuit directly outputs the sampled electrical signal. If the signal frequency of the sampled electrical signal is different from the signal frequency sent by the second device, the target circuit determines whether to automatically reduce the frequency. If the frequency is automatically reduced, the target circuit calculates the target frequency reduction coefficient. If the frequency is manually reduced, the target circuit receives the target frequency reduction coefficient configured by the terminal. Then, the target circuit can perform product inspection on the adopted electrical signal. Then, the target circuit transmits the frequency-reduced signal to the PON MAC module (which can be called the main module), and the main module performs frame recognition, registration, service message forwarding, etc.
[0097] The following describes the embodiments of the present disclosure in conjunction with specific scenarios (such as FTTH scenarios, FTTR scenarios, and second devices using different PON rate modes).
[0098] Example 1: In an FTTH scenario, when an OLT is connected to an ONU in GPON mode, or when an MFU is connected to an SFU in 2.5G asymmetric mode in an FTTR scenario, if the target sampling frequency of the SerDes is 10 GHz and the optical module of the first device outputs an electrical signal at a rate of 1.25G.
[0099] The optical module can output an electrical signal of 1.24416GHz. After that, the SerDes circuit inputs a 311.04MHz clock, multiplies the clock by 32 times, and samples it at a frequency of 9.95328GHz. Since the sampling frequency is 9.95328GHz, it does not match the 1.24416G actually output by the optical module. The SerDes circuit can down-convert the 9.95328GHz signal according to the configured 8x down-conversion factor (i.e. 0.125). Then, the down-converted electrical signal is output to the main module for processing, completing frame identification and subsequent registration, service message forwarding, etc.
[0100] Example 2: In the FTTH scenario, when the OLT is connected to the ONU in XGS PON mode, or when the MFU is connected to the SFU in 10G symmetric mode in the FTTR scenario, if the sampling frequency of the SerDes is 10 GHz, the optical module outputs an electrical signal at a rate of 10G.
[0101] The optical module outputs a 9.95328G electrical signal. After that, the SerDes circuit inputs a 311.04MHz clock, multiplies the clock by 32 times, and samples it at a frequency of 9.95328GHz. Since the sampling frequency is 9.95328 GHz, which matches the 9.95328G signal actually output by the XGSPON optical module, the target circuit directly outputs the 10GHz signal to the main module for processing, completing frame recognition and subsequent registration, service message forwarding, etc.
[0102] Example 3: When the MFU is connected to the SFU in 2.5G symmetric mode, if the SerDes sampling frequency is 10 GHz and the optical module outputs an electrical signal at a 2.5G rate.
[0103] The optical module outputs a 2.48832G electrical signal. After that, the SerDes circuit inputs a 311.04MHz clock, multiplies the clock by 32 times, and samples it at a frequency of 9.95328GHz. Since the sampling frequency is 9.95328 GHz, it does not match the 2.48832GHz output of the optical module. The target circuit can down-convert the 9.95328GHz signal according to the configured 4x down-conversion factor. Then, the target circuit can output the down-converted electrical signal to the main module for processing, completing frame identification and subsequent registration, service message forwarding, etc.
[0104] Combine the following Figure 3 The embodiments of the present disclosure are introduced with specific examples.
[0105] Example 4: Assume that the maximum sampling frequency supported by the SerDes circuit is 50 GHz, the highest sampling frequency signal input terminal of the SerDes circuit is configured to be 50 GHz, module 1 outputs a 50 GHz sampling signal to module 2, the automatic / manual frequency reduction signal input terminal of the SerDes circuit gives a signal of manual frequency reduction, the PON rate mode (i.e., access mode) of the SFU is a 2.5G asymmetric mode (corresponding to the GPON mode in the FTTH scenario, the optical module outputs an electrical signal at a rate of 1.25G), the SerDes circuit frequency reduction coefficient input terminal gives a signal of 40, module 2 completes the frequency reduction of the 50 GHz sampling signal, and finally outputs a 50 GHz / 40=1.25 GHz signal to the main module to complete frame recognition and subsequent registration, service message forwarding, and other tasks.
[0106] Example 5: Assume that the maximum sampling frequency supported by the SerDes circuit is 50 GHz, the given signal at the highest sampling frequency signal input end of the SerDes circuit is 10 GHz, module 1 outputs a 10 GHz sampling signal to module 2, the given signal at the automatic / manual frequency reduction signal input end of the SerDes circuit is manual frequency reduction, the ON rate mode of the SFU is 2.5G symmetric mode (the optical module outputs an electrical signal at a rate of 2.5G), the given signal at the frequency reduction coefficient input end of the SerDes circuit is 4, module 2 completes the frequency reduction of the 50 GHz sampling signal, and finally outputs a 10 GHz / 4 = 2.5 GHz signal to the main module, and the main module completes frame recognition and subsequent registration, service message forwarding and other tasks.
[0107] Example 6: Assume that the maximum sampling frequency supported by the SerDes circuit is 50 GHz, the given signal at the highest sampling frequency signal input end of the SerDes circuit is 50 GHz, module 1 outputs a 50 GHz sampling signal to module 2, the given signal at the automatic / manual frequency reduction signal input end of the SerDes circuit is automatic frequency reduction, the PON rate mode of the SFU is 50 GHz (the optical module outputs an electrical signal at a rate of 50 GHz), and the SerDes circuit frequency reduction coefficient input end does not need to be given a signal. Module 2 outputs the 50 GHz sampling signal directly to the main module to complete frame recognition and subsequent registration, service message forwarding and other tasks.
[0108] Example seven, assuming that the maximum sampling frequency supported by the SerDes circuit is 10GHz, the given signal at the highest sampling frequency signal input end of the SerDes circuit is 10GHz, module 1 outputs a 10GHz sampling signal to module 2, the given signal at the automatic / manual frequency reduction signal input end of the SerDes circuit is manual frequency reduction, the PON rate mode of the SFU is a 10G asymmetric mode (corresponding to the XGPON mode in the FTTH scenario, the optical module outputs an electrical signal at a rate of 2.5G), the given signal at the frequency reduction coefficient input end of the SerDes circuit is 4, module 2 completes the frequency reduction of the 10G sampling signal, and finally outputs a 10GHz / 4=2.5GHz signal to the main module to complete frame recognition and subsequent registration, service message forwarding and other tasks.
[0109] In some embodiments, the at least one second device connected to the first device includes a second device with a different PON rate mode.
[0110] In a possible implementation manner, the passive optical network rate mode of at least one second device includes: a 2.5G asymmetric mode and / or a 2.5G symmetric mode.
[0111] That is, the first device can be connected to the second device in 2.5G asymmetric mode and the second device in 2.5G symmetric mode at the same time.
[0112] In another possible implementation, the passive optical network rate mode of at least one second device includes: a 10G asymmetric mode and / or a 10G symmetric mode.
[0113] That is, the first device can be connected to the second device in 10G asymmetric mode and the second device in 10G symmetric mode at the same time.
[0114] like Figure 6 As shown, a signal processing method provided by an embodiment of the present disclosure is provided. In the method, S404 may include:
[0115] S601: Identify a bandwidth entry of a second electrical signal.
[0116] The bandwidth entry is used to indicate a time slot in which the second device sends a signal.
[0117] Exemplarily, the second device a may send signals in time slot 1, time slot 3, and time slot 5, and the second device b may send signals in time slot 2, time slot 4, and time slot 6.
[0118] S602: Determine a target downconversion coefficient from a plurality of preset downconversion coefficients according to a bandwidth entry of the second electrical signal.
[0119] In a possible implementation, a first correspondence between a bandwidth entry and a preset downconversion coefficient is stored, and a target downconversion coefficient is determined from a plurality of preset downconversion coefficients according to the bandwidth entry of the second electrical signal and the first correspondence.
[0120] For example, if the corresponding downconversion coefficients for time slots 1, 3, and 5 are 0.125, and the corresponding downconversion coefficients for time slots 2, 4, and 6 are 0.25, if the bandwidth entry is determined to be time slot 2, the target downconversion coefficient is determined to be 0.25.
[0121] In another possible implementation, a second correspondence between a bandwidth entry and a PON rate mode is stored. The PON rate mode of the second device is determined according to the bandwidth entry of the second electrical signal and the second correspondence. Then, a target frequency reduction coefficient is determined from a plurality of preset frequency reduction coefficients according to the PON rate mode of the second device and a third correspondence. The third correspondence is between the PON rate mode and the preset frequency reduction coefficient.
[0122] For example, the PON rate mode corresponding to time slot 1, time slot 3, and time slot 5 is 2.5G symmetric mode, and the PON rate mode corresponding to time slot 2, time slot 4, and time slot 6 is 2.5G asymmetric mode. The target frequency reduction coefficient corresponding to the 2.5G symmetric mode is 0.25, and the target frequency reduction coefficient corresponding to the 2.5G asymmetric mode is 0.125. If the bandwidth entry is determined to be time slot 2, the target frequency reduction coefficient is determined to be 0.125.
[0123] In another possible implementation, a second correspondence between a bandwidth entry and a PON rate mode is stored. The PON rate mode of the second device is determined according to the bandwidth entry of the second electrical signal and the second correspondence. Then, the signal frequency of the first electrical signal is determined according to the PON rate mode of the second device, and a target frequency reduction coefficient is determined.
[0124] S603: Down-convert the second electrical signal according to the target down-converting coefficient to obtain a third electrical signal.
[0125] Based on the above technical solution, after identifying the bandwidth entry of the second electrical signal, the target frequency reduction coefficient can be determined from multiple preset frequency reduction coefficients according to the bandwidth entry of the second electrical signal. In this way, when the first device is connected to a second device with a different PON rate mode, the target frequency reduction coefficient can be determined for the second device with a different PON rate mode according to the bandwidth entry, thereby completing the signal frequency reduction. In this way, not only can the first device be compatible with second devices of different frequencies, but it can also be compatible with second devices of multiple PON rate modes at the same time, so as to achieve the coexistence of second devices with different PON rate modes in the same link.
[0126] The following is an example of an MFU accessing two SFU modes, 2.5G symmetric mode and 2.5G asymmetric mode, with the target sampling frequency of the SerDes circuit being 10GHz and the optical module outputting electrical signals at 2.5G and 1.25G rates, to introduce the embodiments of the present disclosure. Figure 7 As shown, the 2.5G asymmetric optical module outputs a 1.24416GHz electrical signal. The 2.5G symmetric optical module outputs a 2.48832GHz electrical signal (i.e., the first electrical signal). The SerDes circuit (which may be referred to as the target circuit) may input a 311.04MHz clock, and after multiplying the clock by 32, sample it at a frequency of 9.95328GHz. Since the target sampling frequency is 9.95328GHz, the target sampling frequency does not match the 1.24416GHz electrical signal actually output by the 2.5G asymmetric optical module and the 2.48832GHz electrical signal actually output by the 2.5G symmetric optical module, and the target sampling frequency is greater than the signal frequency of the first electrical signal. The SerDes circuit may transmit the sampled signal to the main module of the first device, and the main module of the first device may identify the bandwidth entry. Then, the main module determines whether it is a signal sent by the 2.5G asymmetric optical module (i.e., determines whether it is a 2.5G asymmetric bandwidth entry). If the signal is sent by a 2.5G asymmetric optical module (i.e., a 2.5G asymmetric bandwidth entry), the SerDes circuit uses an 8x frequency reduction factor to reduce the frequency of the 9.95328G signal to 1.24416G. If the signal is sent by a 2.5G symmetric optical module (i.e., a 2.5G symmetric bandwidth entry), the SerDes circuit uses a 4x frequency reduction factor to reduce the frequency of the 9.95328G signal to 2.48832G. Then, the main module completes subsequent registration, service message forwarding, etc.
[0127] The following takes the first device as MFU and the second device as SFU as an example to introduce the process of SFU sending a signal.
[0128] Exemplarily, when accessing an SFU in 2.5G asymmetric mode or an SFU in 2.5G symmetric mode, the MFU broadcasts an Upstream_Overhead Ploam message to send upstream parameters to the SFU in the link. Among them, the ONUIDs sent by the MFU to the SFU in 2.5G asymmetric mode and the SFU in 2.5G symmetric mode are different. When accessing an SFU in 10G asymmetric mode or an SFU in 10G symmetric mode (corresponding to ONUs in XGPON mode and XGSPON mode in FTTH scenarios), the MFU broadcasts a Profilemessage message to send upstream parameters to the SFU in the link. Among them, the broadcast ONUIDs sent to the SFU in 10G asymmetric mode and 10G symmetric mode are different.
[0129] After receiving its own Upstream_Overhead Ploam / Profile message, the SFU sends an uplink signal / uplink frame.
[0130] In addition, the MFU can issue bandwidth entries to obtain the serial number of the SFU. Among them, the Serial number request message Alloc-ID sent to the SFU in 2.5G asymmetric mode and the SFU in 2.5G symmetric mode are different. For example, the Alloc-ID used in the 2.5G asymmetric mode is 0xFE, and the Alloc-ID used in the 2.5G symmetric mode is 0xFF. Similarly, the Alloc-IDs of the SFU in 10G asymmetric mode and the SFU in 10G symmetric mode (corresponding to the ONUs in XGPON and XGSPON modes in the FTTH scenario) are different. For example, the Alloc-ID used by the SFU in 10G asymmetric mode is 0x3FF, and the Alloc-ID used by the SFU in 10G symmetric mode is 0x3FE. The SFU reports the Serial Number message in the time slot allocated by the MFU to complete the subsequent registration process.
[0131] In this way, the first device can process messages such as frame headers, PLOAM\OMCI, etc. under different PON protocols, thereby enabling SFUs of different PON modes to coexist in the same link.
[0132] The above mainly introduces the solution provided by the embodiment of the present disclosure from the perspective of the method. It is understandable that, in order to realize the above functions, the signal processing device or the first device includes a hardware structure and / or software module corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the signal processing method steps of each example described in the embodiment disclosed in the present disclosure, the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present disclosure.
[0133] The disclosed embodiment also provides a signal processing device, which may be a network device, a CPU in the network device, a processing module (such as a SerDes circuit) in the network device for processing signals, or a client in the network device for processing signals.
[0134] The embodiments of the present disclosure may divide the signal processing device into functional modules or functional units according to the above method examples. For example, each functional module or functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The above integrated modules may be implemented in the form of hardware or in the form of software functional modules or functional units. Among them, the division of modules or units in the embodiments of the present disclosure is schematic, which is only a logical functional division, and there may be other division methods in actual implementation.
[0135] like Figure 8 FIG. 1 is a schematic diagram of a signal processing device provided by an embodiment of the present disclosure. The signal processing device is used to perform Figure 4 The signal processing method shown in the figure. The signal processing device may include: an acquisition module 801 and a processing module 802.
[0136] The acquisition module 801 is used to acquire a first electrical signal converted from an optical signal sent by a second device. The processing module 802 is used to sample the first electrical signal according to a target sampling frequency to obtain a second electrical signal. The processing module 802 is also used to down-convert the second electrical signal to obtain a third electrical signal if the target sampling frequency is greater than the signal frequency of the first electrical signal, and the signal frequency of the third electrical signal is the same as the signal frequency of the first electrical signal.
[0137] In some embodiments, the processing module 802 is further configured to perform frequency reduction processing on the second electrical signal according to a target frequency reduction coefficient to obtain a third electrical signal.
[0138] In some embodiments, the acquisition module 801 is used to acquire the signal frequency and target sampling frequency of the first electrical signal. The processing module 802 is also used to determine the target frequency reduction coefficient according to the signal frequency and target sampling frequency of the first electrical signal.
[0139] In some embodiments, the acquisition module 801 is further configured to receive a target frequency reduction coefficient sent by a terminal.
[0140] In some embodiments, the acquisition module 801 is further used to acquire the passive optical network rate mode of the second device. The processing module 802 is further used to determine the signal frequency of the first electrical signal according to the passive optical network rate mode of the second device.
[0141] In some embodiments, the acquisition module 801 is further used to receive a target sampling frequency sent by a terminal.
[0142] In some embodiments, when the first device is a master home all-optical network device, the second device is a slave home all-optical network device. Alternatively, when the first device is an optical network terminal, the second device is an optical network unit.
[0143] In some embodiments, the passive optical network rate mode of at least one second device includes: 2.5G asymmetric mode and / or 2.5G symmetric mode. Alternatively, the passive optical network rate mode of at least one second device includes: 10G asymmetric mode and / or 10G symmetric mode.
[0144] In some embodiments, the processing module 802 is further used to identify a bandwidth entry of the second electrical signal. The processing module 802 is further used to determine a target downconversion coefficient from a plurality of preset downconversion coefficients according to the bandwidth entry of the second electrical signal. The processing module 802 is further used to downconvert the second electrical signal according to the target downconversion coefficient to obtain a third electrical signal.
[0145] Fig. 9 9 is a schematic diagram showing a structure of a signal processing device according to an exemplary embodiment. The signal processing device may include a processor 902, and the processor 902 is used to execute application code to implement the signal processing method in the present disclosure.
[0146] The processor 902 may be a central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the disclosed solution.
[0147] like Fig. 9 As shown, the signal processing device may further include a memory 903. The memory 903 is used to store application code for executing the solution of the present disclosure, and is controlled to execute by the processor 902.
[0148] The memory 903 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 903 may exist independently and be connected to the processor 902 via the bus 904. The memory 903 may also be integrated with the processor 902.
[0149] like Fig. 9 As shown, the signal processing device may further include a communication interface 901, wherein the communication interface 901, the processor 902, and the memory 903 may be coupled to each other, for example, via a bus 904. The communication interface 901 is used to exchange information with other devices, for example, to support information exchange between the signal processing device and other devices.
[0150] It should be pointed out that Fig. 9 The device structure shown in the figure does not constitute a limitation on the signal processing device. Fig. 9 In addition to the components shown, the signal processing device may include more or fewer components than shown, or combine certain components, or arrange the components differently.
[0151] In actual implementation, the functions implemented by the processing module 802 can be Fig. 9 The processor 902 shown calls the program code in the memory 903 to implement.
[0152] The present disclosure also provides a computer-readable storage medium, on which instructions are stored, and when the instructions in the computer-readable storage medium are executed by a processor of a computer device, the computer is able to execute the signal processing method provided by the above-mentioned embodiment. For example, the computer-readable storage medium may be a memory 903 including instructions, and the above instructions may be executed by a processor 902 of a computer device to complete the above method. Optionally, the computer-readable storage medium may be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium may be a ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
[0153] Fig.10 A conceptual partial view of a computer program product provided by an embodiment of the present disclosure is schematically shown, where the computer program product includes a computer program for executing a computer process on a computing device.
[0154] In one embodiment, the computer program product is provided using a signal bearing medium 1000. The signal bearing medium 1000 may include one or more program instructions that, when executed by one or more processors, may provide the above-described Figure 4 Thus, for example, reference to Figure 4 In the embodiment shown in , one or more features of S401-S402 may be undertaken by one or more instructions associated with the signal bearing medium 1000. In addition, Fig.10 The program instructions in also describe example instructions.
[0155] In some examples, the signal bearing medium 1000 may include a computer readable medium 1001 such as, but not limited to, a hard drive, a compact disk (CD), a digital video disk (DVD), a digital tape, a memory, a read-only memory (ROM) or a random access memory (RAM), and the like.
[0156] In some implementations, the signal bearing medium 1000 may include a computer recordable medium 1002 such as, but not limited to, a memory, a read / write (R / W) CD, a R / W DVD, or the like.
[0157] In some implementations, signal bearing medium 1000 may include communication medium 1003 such as, but not limited to, digital and / or analog communication media (eg, fiber optic cables, waveguides, wired communication links, wireless communication links, etc.).
[0158] The signal bearing medium 1000 may be communicated by a wireless form of communication medium 1003. The one or more program instructions may be, for example, computer executable instructions or logic implemented instructions.
[0159] In some examples, such as for Figure 8 The described signal processing apparatus may be configured to provide various operations, functions, or actions in response to one or more program instructions via computer-readable medium 1001 , computer-recordable medium 1002 , and / or communication medium 1003 .
[0160] The present application also provides a chip, such as Fig.11 As shown, the chip includes at least one processor 1101 and at least one interface circuit 1102. The processor 1101 and the interface circuit 1102 can be interconnected through lines. For example, the interface circuit 1102 can be used to receive signals from other devices (such as an optical module of the first device). For another example, the interface circuit 1102 can be used to send signals to other devices (such as the processor 1101). Exemplarily, the interface circuit 1102 can read instructions stored in the memory and send the instructions to the processor 1101. When the instructions are executed by the processor 1101, the first device can execute the various steps in the above embodiments. Of course, the chip can also include other discrete devices, which are not specifically limited in the embodiments of the present application.
[0161] Exemplarily, the chip may be deployed in a first device, and the chip may include a SerDes circuit in the first device.
[0162] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0163] In the several embodiments provided in the present disclosure, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0164] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0165] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0166] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present disclosure is essentially or the part that contributes to the prior art or the entire classification part or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute the entire classification part or part of the steps of the various embodiments of the present disclosure. The aforementioned storage medium includes various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, disks or optical disks.
[0167] The above are only specific embodiments of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present disclosure should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims
1. A signal processing method, It is characterized in that A first device applied to an optical network, wherein the first device is connected to at least one second device; when the first device is a master home all-optical network device, the second device is a slave home all-optical network device; or, when the first device is an optical network terminal, the second device is an optical network unit; the method comprises: Acquire a first electrical signal converted from an optical signal sent by the second device; Sampling the first electrical signal according to a target sampling frequency to obtain a second electrical signal; If the target sampling frequency is greater than the signal frequency of the first electrical signal, the second electrical signal is down-converted to obtain a third electrical signal, and the signal frequency of the third electrical signal is the same as the signal frequency of the first electrical signal.
2. The method according to claim 1, It is characterized in that Down-converting the second electrical signal to obtain a third electrical signal includes: The second electrical signal is down-converted according to a target down-conversion coefficient to obtain the third electrical signal.
3. The method according to claim 2, It is characterized in that The method further comprises: Acquiring a signal frequency of the first electrical signal and the target sampling frequency; The target frequency reduction coefficient is determined according to the signal frequency of the first electrical signal and the target sampling frequency.
4. The method according to claim 2, It is characterized in that The method further comprises: The target frequency reduction coefficient sent by the receiving terminal.
5. The method according to claim 3, It is characterized in that Acquiring the signal frequency of the first electrical signal includes: Obtaining a passive optical network rate mode of the second device; The signal frequency of the first electrical signal is determined according to a passive optical network rate mode of the second device.
6. The method according to claim 1, It is characterized in that The method further comprises: The target sampling frequency sent by the receiving terminal.
7. The method according to claim 1, It is characterized in that The passive optical network rate mode of the at least one second device includes: 2.5G asymmetric mode and / or 2.5G symmetric mode; or, The passive optical network rate mode of the at least one second device includes: 10G asymmetric mode and / or 10G symmetric mode.
8. The method according to claim 1, It is characterized in that Down-converting the second electrical signal to obtain a third electrical signal includes: identifying a bandwidth entry for the second electrical signal; Determining a target downconversion coefficient from a plurality of preset downconversion coefficients according to a bandwidth entry of the second electrical signal; The second electrical signal is down-converted according to the target down-conversion coefficient to obtain the third electrical signal.
9. A signal processing device, It is characterized in that include: Memory and processor; Memory and processor coupling; The memory is used to store instructions executable by the processor; When the processor executes the instructions, the method according to any one of claims 1 to 8 is performed.
10. A chip, It is characterized in that include: A processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor executes the method according to any one of claims 1 to 8 when running a computer program or instruction.
11. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a computer, the computer is enabled to execute the method according to any one of claims 1 to 8.
12. A computer program product comprising instructions, It is characterized in that When the instructions are executed by a computer, the computer is caused to perform the method according to any one of claims 1 to 8.
