CN113098596B - Optical module and method for acquiring remote monitoring data based on double MCU optical modules - Google Patents

Optical module and method for acquiring remote monitoring data based on double MCU optical modules Download PDF

Info

Publication number
CN113098596B
CN113098596B CN202110347636.3A CN202110347636A CN113098596B CN 113098596 B CN113098596 B CN 113098596B CN 202110347636 A CN202110347636 A CN 202110347636A CN 113098596 B CN113098596 B CN 113098596B
Authority
CN
China
Prior art keywords
ddm
mcu
optical module
optical
command
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110347636.3A
Other languages
Chinese (zh)
Other versions
CN113098596A (en
Inventor
王庆华
李刚
周作琪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Broadband Multimedia Technology Co Ltd
Original Assignee
Hisense Broadband Multimedia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Broadband Multimedia Technology Co Ltd filed Critical Hisense Broadband Multimedia Technology Co Ltd
Priority to CN202110347636.3A priority Critical patent/CN113098596B/en
Priority to CN202310860981.6A priority patent/CN116980041A/en
Publication of CN113098596A publication Critical patent/CN113098596A/en
Application granted granted Critical
Publication of CN113098596B publication Critical patent/CN113098596B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • H04B10/0795Performance monitoring; Measurement of transmission parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/40Transceivers

Abstract

The application provides an optical module and a method for acquiring remote monitoring data based on a double MCU optical module, wherein a transmitting end transmits a first optical signal carrying a first low-frequency message channel to a receiving end, and the first low-frequency message channel is used for indicating a DDM acquisition command; the second slave MCU of the receiving end optical module receives and analyzes the DDM acquisition command, the second master MCU acquires current monitoring data according to the DDM acquisition command, establishes DDM feedback information according to the current monitoring data, and sends a second optical signal according to the DDM feedback information; after the first slave MCU of the transmitting end optical module receives the second optical signal, the first master MCU reads the DDM feedback information in the first slave MCU. According to the method and the device, the first master and slave MCU of the transmitting end optical module and the second master and slave MCU of the receiving end optical module are matched for application, so that the purpose of monitoring the running state of the second optical module in real time or at any moment can be achieved.

Description

Optical module and method for acquiring remote monitoring data based on double MCU optical modules
Technical Field
The application relates to the technical field of optical fiber communication, in particular to an optical module and a method for acquiring remote monitoring data based on double MCU optical modules.
Background
In an access network communication system, an optical line terminal and an optical network unit establish optical connection with each other to realize data communication. Specifically, the optical line terminal is provided with a first optical module, the optical network unit is provided with a second optical module, and optical connection is established between the first optical module and the second optical module; the optical line terminal sends an optical signal to the second optical module through the first optical module, so that the optical line terminal sends data to the optical network unit; the optical line terminal receives the optical signal from the second optical module through the first optical module, so that the optical line terminal receives the data from the optical network unit.
The optical line terminal and the optical network unit are upper computers of the optical module, the optical module is only a data transmitter in the upper computers, the optical module can be controlled only by the upper computers, and the optical module is required to be controlled indirectly through the upper computers manually. In the physical network of the access network, the optical line terminal and/or the optical network unit are often located in environments inconvenient for manual operation, such as mountains, forests, and even water bodies, and it becomes very difficult to operate the optical module through an upper computer or use the upper computer in these environments.
In this regard, a new communication manner may be provided, so that the optical module is not only controlled by the upper computer to which the optical module is connected, but also remote control may be implemented, and further remote control over the upper computer may also be implemented through remote control over the optical module.
Disclosure of Invention
The embodiment of the application provides an optical module and a method for acquiring remote monitoring data based on the optical module with double MCUs, so that the optical module is controlled by an upper computer to which the optical module is connected, and remote control can be realized.
In a first aspect, the present application provides an optical module comprising:
a first light emitting chip configured to emit a first light signal carrying a first low frequency message channel;
a first optical receiving chip configured to receive a second optical signal carrying a second low frequency message channel; the second low-frequency message channel is used for indicating DDM feedback information;
a first main MCU configured to generate a DDM acquisition command according to a value of a DDM information acquisition enable flag bit; reading DDM return information in the second optical signal;
a first slave MCU electrically connected to the first master MCU, the first light emitting chip, and the first light receiving chip, configured to load the received DDM acquisition command to a first low frequency message channel; and receiving and analyzing to obtain DDM feedback information in the second optical signal.
In a second aspect, the present application provides an optical module comprising:
a second optical receiving chip configured to receive a first optical signal carrying a first low frequency message channel;
a second light emitting chip configured to emit a second light signal carrying a second low frequency message channel; the second low-frequency message channel is used for indicating DDM feedback information;
the second slave MCU is electrically connected with the second light receiving chip and the light emitting chip and is configured to analyze and obtain a DDM acquisition command in the first low-frequency message channel; and loading the received DDM feedback information to a second low frequency message channel;
and the second master MCU is electrically connected with the second slave MCU and is configured to acquire current monitoring data according to the DDM acquisition command and establish DDM feedback information for the current monitoring data.
In a third aspect, the present application provides a method for obtaining remote monitoring data based on a dual MCU optical module, where the method includes:
the first main MCU generates a DDM acquisition command according to the value of the DDM information acquisition enabling zone bit;
the first slave MCU loads the received DDM acquisition command to a first low-frequency message channel and controls the transmission of a first optical signal carrying the first low-frequency message channel;
the first slave MCU receives a second optical signal carrying a second low-frequency message channel; the second low-frequency message channel is used for indicating DDM feedback information;
the first master MCU reads DDM feedback information in the first slave MCU.
In a fourth aspect, the present application provides a method for obtaining remote monitoring data based on a dual MCU optical module, where the method includes:
the second slave MCU analyzes a first low-frequency message channel in the first optical signal to obtain a DDM acquisition command;
the second main MCU acquires current monitoring data according to the DDM acquisition command;
the second main MCU establishes DDM feedback information according to the current monitoring data;
the second slave MCU loads the DDM back transmission information to a second low-frequency message channel, and controls the transmission of a second optical signal carrying the second low-frequency message channel.
As can be seen from the foregoing embodiments, the embodiments of the present application provide an optical module and a method for acquiring remote monitoring data based on a dual-MCU optical module, where the optical module adopts a dual-MCU scheme of a master MCU and a slave MCU, the master MCU is responsible for conventional general function processing of the optical module and for interaction with an upper computer, and the slave MCU is responsible for sending and receiving message information and implementing interaction with the master MCU. The first main MCU of the transmitting end optical module generates a DDM acquisition command according to the value of the DDM information acquisition enabling zone bit; the first slave MCU of the transmitting end optical module loads the received DDM acquisition command to a first low-frequency message channel, and controls the transmitting end optical module to transmit a first optical signal carrying the first low-frequency message channel; after the second slave MCU of the receiving end optical module correctly receives the first optical signal, analyzing and obtaining a DDM acquisition command in the first low-frequency message channel, acquiring current monitoring data by the second master MCU of the receiving end optical module according to the DDM acquisition command, and establishing DDM feedback information according to the current monitoring data; the second slave MCU loads the DDM feedback information to the second low-frequency message through hole, and controls the second optical signal carrying the second low-frequency message channel to be sent to the first slave MCU; after the first slave MCU correctly receives the second optical signal, the first master MCU reads the DDM feedback information in the first slave MCU. According to the method and the device, the first master MCU and the first slave MCU of the transmitting end optical module are matched with the second master MCU and the second slave MCU of the receiving end optical module, so that the purpose of monitoring the running state of the second optical module in real time or at any moment can be achieved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments or the description of the prior art will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of the connection relationship of an optical communication terminal;
fig. 2 is a schematic diagram of an optical network unit structure;
fig. 3 is a schematic structural diagram of an optical module according to an embodiment of the present application;
fig. 4 is a schematic diagram of an exploded structure of an optical module according to an embodiment of the present application;
fig. 5 is a schematic diagram of use of a dual MCU in an optical module according to an embodiment of the present application;
fig. 6 is a light path diagram of an optical module in practical application provided in an embodiment of the present application;
fig. 7 is a flowchart of a method for obtaining remote monitoring data based on a dual MCU optical module according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
One of the key links of optical fiber communication is the conversion of optical-electrical signals. Optical fiber communication uses optical signals carrying information to be transmitted in optical fibers/optical waveguides, and low-cost and low-loss information transmission can be realized by utilizing the passive transmission characteristic of light in the optical fibers. The information processing devices such as computers adopt electrical signals, which require the mutual conversion between electrical signals and optical signals in the signal transmission process.
The optical module realizes the photoelectric conversion function in the technical field of optical fiber communication, and the mutual conversion of optical signals and electric signals is the core function of the optical module. The optical module is electrically connected with an external upper computer through a golden finger on a circuit board, the main electrical connection comprises power supply, I2C signals, data signal transmission, grounding and the like, and the electrical connection mode realized by the golden finger becomes a standard mode of the optical module industry, and on the basis, the circuit board is a necessary technical feature in most optical modules.
Fig. 1 is a schematic diagram of a connection relationship of an optical communication terminal. As shown in fig. 1, the connection of the optical communication terminal mainly includes an optical network unit 100, an optical module 200, an optical fiber 101 and a network cable 103;
one end of the optical fiber is connected with a remote server, one end of the network cable is connected with local information processing equipment, and the connection between the local information processing equipment and the remote server is completed by the connection between the optical fiber and the network cable; and the connection between the optical fiber and the network cable is made by an optical network unit having an optical module.
The optical port of the optical module 200 is connected with the optical fiber 101, and a bidirectional optical signal connection is established with the optical fiber; the electrical port of the optical module 200 is connected into the optical network unit 100, and a bidirectional electrical signal connection is established with the optical network unit; the optical module realizes the mutual conversion of optical signals and electric signals, thereby realizing the establishment of connection between the optical fiber and the optical network unit; specifically, the optical signal from the optical fiber is converted into an electrical signal by the optical module and then input to the optical network unit 100, and the electrical signal from the optical network unit 100 is converted into an optical signal by the optical module and input to the optical fiber. The optical module 200 is a tool for realizing photoelectric signal conversion, and has no function of processing data, and information is not changed during the photoelectric conversion.
The optical network unit is provided with an optical module interface 102, which is used for accessing an optical module and establishing bidirectional electric signal connection with the optical module; the optical network unit is provided with a network cable interface 104 for accessing a network cable and establishing bidirectional electric signal connection with the network cable; the optical network unit transmits signals from the optical module to the network cable, and the optical network unit serves as an upper computer of the optical module to monitor the operation of the optical module.
So far, the remote server establishes a bidirectional signal transmission channel with the local information processing equipment through the optical fiber, the optical module, the optical network unit and the network cable.
Common information processing apparatuses include routers, switches, electronic computers, and the like; the optical network unit is an upper computer of the optical module, which provides data signals for the optical module and receives data signals from the optical module, and the common upper computer of the optical module also comprises an optical line terminal and the like.
Fig. 2 is a schematic diagram of an optical network unit structure. As shown in fig. 2, there is a circuit board 105 in the optical network unit 100, and a cage 106 is provided on the surface of the circuit board 105; an electrical connector is arranged in the cage 106 and is used for accessing an optical module electrical port such as a golden finger; the cage 106 is provided with a heat sink 107, and the heat sink 107 has a convex structure such as fins that increase a heat dissipation area.
The optical module 200 is inserted into an optical network unit, in particular an electrical connector in the cage 106, the optical port of the optical module being connected to the optical fiber 101.
The cage 106 is positioned on the circuit board, and the electrical connectors on the circuit board are wrapped in the cage; the optical module is inserted into the cage, the optical module is fixed by the cage, and heat generated by the optical module is conducted to the cage through the optical module housing and finally diffused through the radiator 107 on the cage.
Fig. 3 is a schematic structural diagram of an optical module 200 according to an embodiment of the present application, and fig. 4 is an exploded structural diagram of the optical module 200 according to the embodiment. As shown in fig. 3 and 4, the optical module 200 provided in the embodiment of the present application includes an upper case 201, a lower case 202, an unlocking handle 203, a circuit board 300, a light emitting assembly 400, and a light receiving assembly 500.
The upper case 201 is covered on the lower case 202 to form a packing cavity having two openings; the outer contour of the wrapping cavity is generally square, and specifically, the lower shell comprises a main board and two side boards which are positioned on two sides of the main board and are perpendicular to the main board; the upper shell comprises a cover plate, and the cover plate covers the two side plates of the upper shell to form a wrapping cavity; the upper shell can further comprise two side walls which are positioned on two sides of the cover plate and are perpendicular to the cover plate, and the two side walls are combined with the two side plates so as to realize that the upper shell covers the lower shell.
The two openings can be specifically two openings (204, 205) positioned at the same end of the optical module, or two openings positioned at different ends of the optical module; one opening is an electric port 204, and a golden finger of the circuit board extends out of the electric port 204 and is inserted into an upper computer such as an optical network unit; the other opening is an optical port 205 for external fiber access to connect the light emitting assembly 400 and the light receiving assembly 500 inside the optical module; optoelectronic devices such as the circuit board 300, the light emitting assembly 400, and the light receiving assembly 500 are located in the encapsulation cavity.
The assembly mode of combining the upper shell and the lower shell is adopted, so that devices such as the circuit board 300, the light emitting assembly 400, the light receiving assembly 500 and the like can be conveniently installed in the shells, and the upper shell and the lower shell form an encapsulation protection shell of the outermost layer of the optical module; the upper shell and the lower shell are generally made of metal materials, so that electromagnetic shielding and heat dissipation are facilitated; the housing of the optical module is not generally made into an integral structure, so that the positioning component, the heat dissipation and the electromagnetic shielding structure cannot be installed when devices such as a circuit board are assembled, and the production automation is not facilitated.
The unlocking handle 203 is located on the outer wall of the packaging cavity/lower housing 202, and is used for realizing the fixed connection between the optical module and the upper computer, or releasing the fixed connection between the optical module and the upper computer.
The unlocking handle 203 is provided with a clamping structure matched with the upper computer cage; pulling the end of the unlocking handle can relatively move the unlocking handle on the surface of the outer wall; the optical module is inserted into a cage of the upper computer, and the optical module is fixed in the cage of the upper computer by a clamping structure of the unlocking handle; by pulling the unlocking handle, the clamping structure of the unlocking handle moves along with the unlocking handle, so that the connection relation between the clamping structure and the upper computer is changed, the clamping relation between the optical module and the upper computer is relieved, and the optical module can be pulled out of the cage of the upper computer.
The circuit board 300 is provided with circuit wiring, electronic components (such as capacitor, resistor, triode, MOS tube) and chips (such as microprocessor MCU2045, laser driving chip, limiting amplifier, clock data recovery CDR, power management chip, data processing chip DSP).
The circuit board 300 connects the electrical devices in the optical module together according to a circuit design through circuit wiring, so as to realize electrical functions such as power supply, electrical signal transmission, grounding and the like.
The circuit board 300 is generally a hard circuit board, and the hard circuit board can also realize a bearing function due to the relatively hard material, for example, the hard circuit board can stably bear chips; when the light emitting assembly 400 and the light receiving assembly 500 are located on the circuit board, the hard circuit board may also provide a smooth load bearing; the hard circuit board can also be inserted into an electric connector in the upper computer cage, specifically, a metal pin/golden finger is formed on the surface of one side tail end of the hard circuit board and is used for being connected with the electric connector; these are all inconvenient to implement with flexible circuit boards.
A flexible circuit board is also used in part of the optical modules and is used as a supplement of the hard circuit board; the flexible circuit board is generally used in cooperation with the hard circuit board, for example, the hard circuit board and the optical transceiver can be connected by using the flexible circuit board.
In an access network communication system, an optical line terminal and an optical network unit establish optical connection with each other to realize data communication. Specifically, the optical line terminal is provided with a first optical module, the optical network unit is provided with a second optical module, and optical connection is established between the first optical module and the second optical module; the optical line terminal sends an optical signal to the second optical module through the first optical module, so that the optical line terminal sends data to the optical network unit; the optical line terminal receives the optical signal from the second optical module through the first optical module, so that the optical line terminal receives the data from the optical network unit.
The optical line terminal and the optical network unit are upper computers of the optical modules; the upper computer inputs the data electric signals into the optical module, and the optical module converts the data electric signals into optical signals to be sent out so as to realize the data transmission of the upper computer; the optical module converts an optical signal from the outside into a data electrical signal, and inputs the data electrical signal into the upper computer so as to realize the data receiving of the upper computer.
The optical module is only a data transmitter in the upper computer, and the optical module can only be controlled by the upper computer, so that the optical module is manually controlled indirectly through the upper computer. In an access network physical network, an optical line terminal and/or an optical network unit are often located in environments inconvenient for manual operation, such as mountains, forests, and even water bodies, under which it becomes very difficult to operate an optical module by operating an upper computer or using the upper computer.
In this regard, a new communication manner may be provided, so that the optical module is not only controlled by the upper computer to which the optical module is connected, but also remote control may be implemented, and further remote control over the upper computer may also be implemented through remote control over the optical module.
In practical application, the running state of the remote module cannot be known under normal conditions, and if the data and state of the remote optical module can be monitored through the message channel technology of the color optical module, the control center can be helped to better evaluate the running state of the remote module and provide a certain analysis basis for fault analysis when faults occur.
Based on the background and the requirements, the embodiment of the application provides an optical module, which adopts a double-MCU scheme of a Master (Master) MCU and a Slave (Slave) MCU, wherein the Master MCU is responsible for the conventional general function processing of the optical module and interaction with an upper computer, and the Slave MCU is responsible for the sending and receiving processing of message information and interaction with the Master MCU. The aim of monitoring the running state of the remote module in real time or at any moment can be achieved through the cooperative application among the upper computer of the transmitting end, the main MCU of the transmitting end, the slave MCU of the transmitting end, the main MCU of the receiving end and the slave MCU of the receiving end.
Fig. 5 is a schematic diagram of use of a dual MCU in an optical module according to an embodiment of the present application. As shown in fig. 5, the transmitting-end optical module (first optical module) provided in the embodiment of the present application includes a first light emitting chip, a first light receiving chip, a first master MCU and a first slave MCU, where,
a first light emitting chip configured to emit a first light signal carrying a first low frequency message channel;
a first optical receiving chip configured to receive a second optical signal carrying a second low frequency message channel; the second low-frequency message channel is used for indicating DDM feedback information;
a first main MCU configured to generate a DDM acquisition command according to a value of a DDM information acquisition enable flag bit; reading DDM return information in the second optical signal;
a first slave MCU electrically connected to the first master MCU, the first light emitting chip, and the first light receiving chip, configured to load the received DDM acquisition command to a first low frequency message channel; and receiving and analyzing to obtain DDM feedback information in the second optical signal.
Specifically, a remote DDM information acquisition enabling flag bit is set in the first MCU of the transmitting end optical module, and the upper computer system conveys the requirement of acquiring the remote DDM information to the transmitting end optical module by setting 1 the flag bit.
Before the upper computer enables the module to send a command each time, the remote DDM information of the module is read to obtain an enabling flag bit, when the flag bit is 0, the flag bit indicates that the module is in an idle state, the module can be enabled to send the command, and the flag bit 1 is needed to be used for the enabling module to send at the moment.
And when the flag bit is 1, the upper computer at the transmitting end performs new command enabling invalidation until the inside of the module is queried to clear the flag bit, which indicates that the upper computer can enable the next command transmission.
In the embodiment of the application, a DDM command sending status indication pin is established between a first master MCU and a first slave MCU of a first optical module, and after the first master MCU issues a DDM acquisition command to the first slave MCU, the first slave MCU immediately pulls up the DDM sending status indication pin and starts to send multiple acquisition commands to a remote module by using a retransmission function. When the acquisition fails or is successful, the first MCU pulls down the DDM sending state indication pin, and at the moment, the first main MCU can read the specific register to acquire the acquisition result.
Specifically, after the first master MCU monitors that the DDM information acquisition enable flag bit is set to 1, the DDM command transmission status indication pin is queried first, if the DDM information acquisition enable flag bit is low, it indicates that the first slave MCU is currently in an idle state, and at this time, the first master MCU issues a DDM acquisition command to the first slave MCU (the DDM command transmission status indication pin is pulled up by the first slave MCU at this time).
The first master MCU then polls the monitor DDM command transmit status indication pin, and when the pin is again low, the first master MCU accesses the DDM information acquisition status register internal to the first slave MCU. When the register is 1, the acquisition is successful, the first main MCU reads acquired remote DDM information from a first slave MCU specific buffer, a 1DDM information acquisition success flag bit is juxtaposed, the flag bit is cleared after the upper computer reads, and at the moment, the module automatically clears the DDM information acquisition enabling flag bit; if the value of the DDM information acquisition status register of the bottom layer is 2, indicating that the acquisition fails, the first main MCU clears the remote DDM information acquisition enabling flag bit, and concatenates 1 module bottom layer retransmission failure flag bit for reporting that the acquisition of the remote DDM information fails; and if the value is other values, indicating that an invalid value exists, and reporting the module failure. In the embodiment of the application, when the optical module is initially powered on, the initial value of each register is 0, and the DDM command sending status indication pin and the DDM command obtaining indication pin are initially low level.
After receiving a DDM acquisition command sent by a first master MCU, a first slave MCU loads the DDM acquisition command to a first low-frequency message channel and controls a first light emitting chip to emit a first light signal carrying the first low-frequency message channel; the first slave MCU then waits for the second optical module to transmit the backhaul information. In this embodiment of the present application, all the data packet messages transmitted through the message channel are encoded, and the specific encoding format includes: data frame head, data length, command code number, valid data, checksum, data frame tail.
Specifically, after receiving a DDM acquisition command issued by the first master MCU, the first slave MCU immediately pulls up a DDM command transmission status indication pin, and starts a data retransmission mechanism to transmit a DDM acquisition command to the remote module. After the first slave MCU receives and correctly analyzes the DDM information reported by the remote module, the acquired DDM information is stored into a specific buffer, the first slave MCU finishes a data retransmission mechanism and pulls down a DDM command sending state indication pin, and meanwhile, the DDM information acquires a state register to write 1 and waits for an upper computer to read data.
When the first slave MCU sends a command and does not receive the reported DDM information of the remote module or the reported DDM information cannot be correctly analyzed within a preset time, the first slave MCU sends the command again until receiving the correct DDM information; when the command sending times of the first slave MCU reach a limiting threshold value and still fail to receive correct DDM information, the first slave MCU pulls down a DDM command sending state indication pin, and writes 2 in a DDM information acquisition state register to indicate that the DDM information acquisition fails.
The receiving-end optical module (second optical module) provided in the embodiment of the application includes a second light emitting chip, a second light receiving chip, a second master MCU and a second slave MCU, wherein,
a second optical receiving chip configured to receive a first optical signal carrying a first low frequency message channel;
a second light emitting chip configured to emit a second light signal carrying a second low frequency message channel; the second low-frequency message channel is used for indicating DDM feedback information;
the second slave MCU is electrically connected with the second light receiving chip and the light emitting chip and is configured to analyze and obtain a DDM acquisition command in the first low-frequency message channel; and loading the received DDM feedback information to a second low frequency message channel;
and the second master MCU is electrically connected with the second slave MCU and is configured to acquire current monitoring data according to the DDM acquisition command and establish DDM feedback information for the current monitoring data.
And a DDM command acquisition indication pin is established between a second master MCU and a second slave MCU of the second optical module, when the second slave MCU acquires a correct command, the DDM command acquisition indication pin is pulled up, and the second master MCU immediately writes the running state and data of the current module into the second slave MCU after monitoring and commands the second slave MCU to immediately send the command.
Specifically, after receiving the DDM acquisition instruction sent by the first optical module, the second slave MCU sets a 1DDM instruction acquisition success flag bit, and pulls up a DDM instruction acquisition indication pin, so as to inform the second master MCU that a specific instruction of the first optical module has been acquired.
And after the second slave MCU monitors that the second master MCU reads and clears the DDM instruction acquisition success flag bit, the DDM instruction acquisition indication pin is pulled down. When the second master MCU is monitored to send the operation monitoring data of the current module, the second slave MCU sends the data packet to the first optical module.
In this embodiment of the present application, after the second master MCU reads the DDM acquisition command from the second slave MCU, the second master MCU acquires current monitoring data of the second optical module according to the DDM acquisition command, and establishes DDM backhaul information according to the current monitoring data.
Specifically, after the second main MCU monitors that the DDM command acquisition indication pin is pulled up, the DDM command acquisition success zone bit is read and cleared, a monitoring data packet operated by the current module is issued to the second slave MCU, and the second slave MCU is started to transmit the DDM data packet.
The optical module provided by the embodiment of the application adopts a double MCU scheme of a master MCU and a slave MCU, the master MCU is responsible for conventional general function processing of the optical module and interaction with an upper computer, and the slave MCU is responsible for sending and receiving information and processing and interaction with the master MCU. The first main MCU of the transmitting end optical module generates a DDM acquisition command according to the value of the DDM information acquisition enabling zone bit; the first slave MCU of the transmitting end optical module loads the received DDM acquisition command to a first low-frequency message channel, and controls the transmitting end optical module to transmit a first optical signal carrying the first low-frequency message channel; after the second slave MCU of the receiving end optical module correctly receives the first optical signal, analyzing and obtaining a DDM acquisition command in the first low-frequency message channel, acquiring current monitoring data by the second master MCU of the receiving end optical module according to the DDM acquisition command, and establishing DDM feedback information according to the current monitoring data; the second slave MCU loads the DDM feedback information to the second low-frequency message through hole, and controls the second optical signal carrying the second low-frequency message channel to be sent to the first slave MCU; after the first slave MCU correctly receives the second optical signal, the first master MCU reads the DDM feedback information in the first slave MCU. According to the method and the device, the first master MCU and the first slave MCU of the transmitting end optical module are matched with the second master MCU and the second slave MCU of the receiving end optical module, so that the purpose of monitoring the running state of the second optical module in real time or at any moment is achieved.
Fig. 6 is a schematic diagram of an optical module in practical application according to an embodiment of the present application. As shown in fig. 6, when the first optical module transmits the first optical signal and the second optical module transmits the second optical signal, in order to facilitate transmission of the first optical signal and the second optical signal, a first combining and splitting device and a second combining and splitting device may be disposed between the first optical module and the second optical module, where the first combining and splitting device is connected with the first optical module and is used to combine and couple the first optical signal transmitted by the first optical module into one optical fiber 101, and transmit the first optical signal to the second optical module through the optical fiber 101; the second multiplexer/demultiplexer is connected with the second optical module, and is configured to couple a second optical signal emitted by the second optical module into one optical fiber 101, and transmit the second optical signal to the first optical module through the optical fiber 101.
The first multiplexer/demultiplexer not only can be used for coupling the first optical signal into the optical fiber 101 in a multiplexing manner, but also can be used for performing the demultiplexing processing on the second optical signal transmitted by the optical fiber 101, and the demultiplexed optical signal is transmitted to the first optical module through a corresponding channel; the second multiplexer/demultiplexer not only can be used for coupling the second optical signal into the optical fiber 101 in a multiplexing manner, but also can be used for performing the demultiplexing processing on the first optical signal transmitted by the optical fiber 101, and the demultiplexed optical signal is transmitted to the second optical module through the corresponding channel.
Based on the optical module provided by the embodiment, the embodiment of the application also provides a method for acquiring remote monitoring data based on the dual-MCU optical module, which adopts the dual-MCU optical module of the master MCU and the slave MCU, and realizes the purpose of monitoring the running state of the second optical module in real time or at any moment through the cooperative application between the first master MCU and the first slave MCU of the transmitting end optical module and the second master MCU and the second slave MCU of the receiving end optical module.
Fig. 7 is a flowchart of a method for obtaining remote monitoring data based on a dual MCU optical module according to an embodiment of the present application.
As shown in fig. 7, the method for obtaining remote monitoring data based on the dual MCU optical module provided in the embodiment of the present application includes:
s100: the first master MCU generates a DDM acquisition command according to the value of the DDM information acquisition enable flag bit.
After the first master MCU monitors that the DDM information acquisition enabling flag bit is set to be 1, firstly, inquiring a DDM command transmission state indication pin, if the DDM information acquisition enabling flag bit is low, indicating that the first slave MCU is in an idle state currently, and at the moment, the first master MCU issues a DDM acquisition command to the first slave MCU (the DDM command transmission state indication pin is pulled high by the first slave MCU at the moment).
S200: the first slave MCU loads the received DDM acquisition command to the first low frequency message channel and controls the transmission of a first optical signal carrying the first low frequency message channel.
After the first slave MCU receives the DDM acquisition command issued by the first master MCU, the first slave MCU immediately pulls up a DDM command transmission state indication pin, and starts a data retransmission mechanism to transmit a DDM acquisition command to the remote module. When the first slave MCU sends a command and does not receive the reported DDM information of the remote module or the reported DDM information cannot be correctly analyzed within a preset time, the first slave MCU sends the command again until receiving the correct DDM information; when the command sending times of the first slave MCU reach a limiting threshold value and still fail to receive correct DDM information, the first slave MCU pulls down a DDM command sending state indication pin, and writes 2 in a DDM information acquisition state register to indicate that the DDM information acquisition fails.
S300: and the second slave MCU analyzes the first low-frequency message channel in the first optical signal to obtain a DDM acquisition command.
After receiving the DDM acquisition instruction sent by the first optical module, the second slave MCU sets a 1DDM instruction acquisition success flag bit, and pulls up a DDM instruction acquisition indication pin for informing the second master MCU that the specific instruction of the first optical module is acquired.
And after the second slave MCU monitors that the second master MCU reads and clears the DDM instruction acquisition success flag bit, the DDM instruction acquisition indication pin is pulled down.
S400: the second main MCU acquires current monitoring data according to the DDM acquisition command.
S500: and the second main MCU establishes DDM feedback information according to the current monitoring data.
After the second main MCU monitors that the DDM command acquisition indication pin is pulled up, reading and resetting the DDM command acquisition success zone bit, issuing a monitoring data packet operated by the current module to the second slave MCU, and starting the second slave MCU to transmit the DDM data packet.
S600: the second slave MCU loads the DDM back transmission information to the second low-frequency message channel, and controls the transmission of a second optical signal carrying the second low-frequency message channel.
And after the second slave MCU monitors the operation monitoring data of the current module and the second master MCU transmits the operation monitoring data of the current module, the second slave MCU transmits the data packet to the first optical module.
S700: the first slave MCU receives a second optical signal carrying a second low-frequency message channel; wherein the second low frequency message channel is used for indicating the DDM to transmit back information.
After the first slave MCU receives and correctly analyzes the DDM information reported by the remote module, the acquired DDM information is stored into a specific buffer, the first slave MCU finishes a data retransmission mechanism and pulls down a DDM command sending state indication pin, and meanwhile, the DDM information acquires a state register to write 1 and waits for an upper computer to read data.
S800: the first master MCU reads DDM feedback information in the first slave MCU.
The first master MCU polls the monitor DDM command transmission status indication pin, and when the pin is at a low level again, the first master MCU accesses the DDM information acquisition status register inside the first slave MCU. When the register is 1, the acquisition is successful, the first main MCU reads acquired remote DDM information from a first slave MCU specific buffer, a 1DDM information acquisition success flag bit is juxtaposed, the flag bit is cleared after the upper computer reads, and at the moment, the module automatically clears the DDM information acquisition enabling flag bit; if the value of the DDM information acquisition status register of the bottom layer is 2, indicating that the acquisition fails, the first main MCU clears the remote DDM information acquisition enabling flag bit, and concatenates 1 module bottom layer retransmission failure flag bits for reporting that the acquisition of the remote DDM information fails; and if the value is other values, indicating that an invalid value exists, and reporting the module failure.
The embodiment of the application provides a method for acquiring remote monitoring data based on a double-MCU optical module, wherein the optical module adopts a double-MCU scheme of a main MCU and a slave MCU, the main MCU is responsible for conventional general function processing of the optical module and interaction with an upper computer, and the slave MCU is responsible for sending and receiving information and realizing interaction with the main MCU. And after the first master MCU issues the DDM acquisition command to the first slave MCU, the first slave MCU immediately pulls up the DDM transmission state indication pin and starts to transmit the acquisition command to the second optical module for multiple times by utilizing a retransmission function. When the acquisition fails or is successful, the first slave MCU pulls down the DDM sending state indication pin, and at the moment, the first master MCU can read the specific register to acquire the acquisition result, so that the whole function application is completed.
The function of acquiring the remote module monitoring data requires that the transmitting end optical module has the capability of repeatedly transmitting the command until the correct reported information is received, and meanwhile, the transmitting end optical module has the capability of indicating success or failure of information acquisition and allows the transmitting end upper computer to re-enable the acquisition command after the information acquisition fails. The functions are required to be used by the upper computer of the transmitting end, the main MCU of the transmitting end, the slave MCU of the transmitting end, the main MCU of the receiving end and the slave MCU of the receiving end in an effective cooperation mode, so that the purpose of monitoring the running state of the remote module in real time or at any moment is achieved.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.

Claims (7)

1. An optical module, comprising:
a first light emitting chip configured to emit a first light signal carrying a first low frequency message channel;
a first optical receiving chip configured to receive a second optical signal carrying a second low frequency message channel; the second low-frequency message channel is used for indicating DDM feedback information;
a first main MCU configured to generate a DDM acquisition command according to a value of a DDM information acquisition enable flag bit; the monitoring DDM command sending state indication pin accesses a DDM information acquisition state register in the first MCU according to the level of the DDM command sending state indication pin, judges whether to read the DDM return information in the second optical signal according to the value written by the DDM information acquisition state register, and monitors the operation state of the opposite-end optical module according to the DDM return information;
a first slave MCU electrically connected to the first master MCU, the first light emitting chip, and the first light receiving chip, configured to load the received DDM acquisition command to a first low frequency message channel; and writing a corresponding value in a DDM information acquisition status register according to whether the second optical signal is received within a preset threshold value, analyzing to obtain DDM return information in the second optical signal when the second optical signal is received within the preset threshold value, and storing the DDM return information into a specific buffer.
2. The light module of claim 1, wherein the first master MCU is further configured to be in an idle state when the DDM information acquisition enable flag is a first flag value; and generating the DDM acquisition command when the DDM information acquisition enabling flag bit is a second flag bit value.
3. The optical module of claim 1, wherein the first slave MCU is further configured to receive the DDM acquisition command, set a level of the DDM command transmission status indication pin to a first level, and transmit the DDM acquisition command to the peer optical module a plurality of times using a retransmission function.
4. The optical module of claim 3, wherein the first slave MCU is further configured to restore the level of the DDM command transmission status indication pin from the first level to a second level and write a first value to the DDM information acquisition status register when the DDM backhaul information is parsed.
5. The optical module of claim 4, wherein the first slave MCU is further configured to restore the level of the DDM command transmission status indication pin from the first level to the second level and write a second value to the DDM information acquisition status register when the number of transmissions of the DDM acquisition command reaches a defined threshold and the DDM backhaul information has not been received.
6. The optical module of claim 5, wherein the first host MCU is further configured to poll the DDM command transmission status indication pin, access the DDM information acquisition status register when the DDM command transmission status indication pin returns to the second level;
when the value of the DDM information acquisition status register is the first value, reading the DDM return information from the specific buffer, and setting the value of a DDM information acquisition success zone bit;
and when the value of the DDM information acquisition status register is the second value, resetting the DDM information acquisition enable flag bit and setting the value of the retransmission failure flag bit.
7. A method for obtaining remote monitoring data based on a dual MCU optical module, wherein the method comprises, based on the optical module of any one of claims 1-6:
the first main MCU generates a DDM acquisition command according to the value of the DDM information acquisition enabling zone bit;
after the first slave MCU receives the DDM acquisition command, modifying the level of a DDM command transmission state indication pin;
the first slave MCU loads the DDM acquisition command to a first low-frequency message channel and controls the transmission of a first optical signal carrying the first low-frequency message channel;
if the first slave MCU receives a second optical signal carrying a second low-frequency message channel within a preset threshold value, analyzing to obtain DDM feedback information indicated by the second low-frequency message channel;
the first MCU restores the level of the DDM command transmission state indication pin, and writes a corresponding value into a DDM information acquisition state register;
storing the DDM feedback information into a specific buffer in the first slave MCU;
the first main MCU monitors the DDM command transmission state indication pin, and accesses the DDM information acquisition state register after the level of the DDM command transmission state indication pin is recovered;
and when the value of the DDM information acquisition status register is a first value, the first main MCU reads the DDM return information so as to monitor the running status of the opposite-end optical module according to the DDM return information.
CN202110347636.3A 2021-03-31 2021-03-31 Optical module and method for acquiring remote monitoring data based on double MCU optical modules Active CN113098596B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110347636.3A CN113098596B (en) 2021-03-31 2021-03-31 Optical module and method for acquiring remote monitoring data based on double MCU optical modules
CN202310860981.6A CN116980041A (en) 2021-03-31 2021-03-31 Optical module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110347636.3A CN113098596B (en) 2021-03-31 2021-03-31 Optical module and method for acquiring remote monitoring data based on double MCU optical modules

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202310860981.6A Division CN116980041A (en) 2021-03-31 2021-03-31 Optical module

Publications (2)

Publication Number Publication Date
CN113098596A CN113098596A (en) 2021-07-09
CN113098596B true CN113098596B (en) 2023-07-18

Family

ID=76671643

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202110347636.3A Active CN113098596B (en) 2021-03-31 2021-03-31 Optical module and method for acquiring remote monitoring data based on double MCU optical modules
CN202310860981.6A Pending CN116980041A (en) 2021-03-31 2021-03-31 Optical module

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202310860981.6A Pending CN116980041A (en) 2021-03-31 2021-03-31 Optical module

Country Status (1)

Country Link
CN (2) CN113098596B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114389701A (en) * 2022-01-17 2022-04-22 青岛海信宽带多媒体技术有限公司 Optical module
CN114389702A (en) * 2022-01-17 2022-04-22 青岛海信宽带多媒体技术有限公司 Optical module
CN115065420A (en) * 2022-05-30 2022-09-16 新华三技术有限公司 Power supply control method, access device and network device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110430016A (en) * 2019-08-01 2019-11-08 青岛海信宽带多媒体技术有限公司 A kind of data receiver method, device and optical module
CN110519666A (en) * 2019-08-16 2019-11-29 青岛海信宽带多媒体技术有限公司 A kind of optical module wavelength configuration method, apparatus and optical module

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004303121A (en) * 2003-04-01 2004-10-28 Fujikura Ltd Control device, processor substrate, and signal transmission method
KR101975581B1 (en) * 2012-08-21 2019-09-11 삼성디스플레이 주식회사 Emission driver and organic light emitting display deivce including the same
CN106452599B (en) * 2013-05-08 2019-01-29 青岛海信宽带多媒体技术有限公司 A kind of control method of optical module and optical module
JP6315950B2 (en) * 2013-11-22 2018-04-25 三菱電機株式会社 Optical power monitoring circuit, optical module, station side device, optical power monitoring method and program
KR102649915B1 (en) * 2016-06-21 2024-03-22 삼성전자 주식회사 Method for controlling spectrometric sensor and electronic device implementing the same
CN106330323B (en) * 2016-09-18 2019-01-08 青岛海信宽带多媒体技术有限公司 OLT optical module and OLT
CN106341180B (en) * 2016-09-26 2018-11-30 青岛海信宽带多媒体技术有限公司 A kind of optical module and optical module control method, device
CN107966269A (en) * 2017-11-14 2018-04-27 东莞铭普光磁股份有限公司 A kind of optical module, optical device condition monitoring system
CN114827780A (en) * 2019-06-14 2022-07-29 青岛海信宽带多媒体技术有限公司 Optical module information interaction method and optical module
CN110430017B (en) * 2019-08-01 2022-02-11 青岛海信宽带多媒体技术有限公司 Data sending method and device and optical module
CN110380785A (en) * 2019-08-16 2019-10-25 青岛海信宽带多媒体技术有限公司 A kind of digital diagnostic information acquisition methods, device and optical module
CN113364523B (en) * 2020-03-06 2022-06-28 青岛海信宽带多媒体技术有限公司 Data sending method and optical module
CN112311464B (en) * 2020-10-29 2023-04-18 索尔思光电(成都)有限公司 Optical module modulation and demodulation system and method adopting double-MCU (microprogrammed control Unit) architecture

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110430016A (en) * 2019-08-01 2019-11-08 青岛海信宽带多媒体技术有限公司 A kind of data receiver method, device and optical module
CN110519666A (en) * 2019-08-16 2019-11-29 青岛海信宽带多媒体技术有限公司 A kind of optical module wavelength configuration method, apparatus and optical module
WO2021031652A1 (en) * 2019-08-16 2021-02-25 青岛海信宽带多媒体技术有限公司 Optical module wavelength configuration method and device, and optical module

Also Published As

Publication number Publication date
CN113098596A (en) 2021-07-09
CN116980041A (en) 2023-10-31

Similar Documents

Publication Publication Date Title
CN113098596B (en) Optical module and method for acquiring remote monitoring data based on double MCU optical modules
CN113098613B (en) Optical module and wavelength automatic communication method based on double-MCU optical module
CN110519666B (en) Optical module wavelength configuration method and device and optical module
CN110430016B (en) Data receiving method and device and optical module
EP1684446A2 (en) A method and apparatus for testing optical network equipment
CN111555810B (en) Optical module and data transmission method
CN113824498B (en) Rate mode switching method of optical module and optical module
CN111193547A (en) Optical module
WO2021169463A1 (en) Data sending method, data receiving method, and optical module
CN113098621B (en) Optical module and wavelength automatic polling method based on double-MCU optical module
CN113364523B (en) Data sending method and optical module
CN212083742U (en) Optical module
WO2023134737A1 (en) Optical module
CN113364524B (en) Data receiving method and optical module
CN113300773B (en) Optical module
CN215181036U (en) Optical module
CN216016871U (en) Optical module
CN216290918U (en) Optical module
CN113472449B (en) Optical module and signal polarity definition method
CN219831747U (en) Multi-node management circuit and server
CN217085338U (en) Optical module
CN114124228B (en) Optical module
CN113630186B (en) Optical module and communication method
CN114915345B (en) Optical module
CN218868237U (en) Optical module

Legal Events

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