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

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

Info

Publication number
CN113098596A
CN113098596A CN202110347636.3A CN202110347636A CN113098596A CN 113098596 A CN113098596 A CN 113098596A CN 202110347636 A CN202110347636 A CN 202110347636A CN 113098596 A CN113098596 A CN 113098596A
Authority
CN
China
Prior art keywords
ddm
mcu
optical
optical module
message channel
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.)
Granted
Application number
CN202110347636.3A
Other languages
Chinese (zh)
Other versions
CN113098596B (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

Images

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

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Optical Communication System (AREA)

Abstract

The application provides an optical module and a method for acquiring remote monitoring data based on a double-MCU optical module.A sending end sends 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; a second slave MCU of the receiving end optical module receives and analyzes the DDM acquisition command, a second master MCU acquires current monitoring data according to the DDM acquisition command, and establishes DDM return information according to the current monitoring data, and the second slave MCU sends a second optical signal according to the DDM return information; and after the first slave MCU of the optical module at the sending end receives the second optical signal, the first master MCU reads DDM (distributed data management) postback information in the first slave MCU. The method and the device can realize the purpose of monitoring the running state of the second optical module in real time or at any time through the cooperative application between the first master MCU and the second slave MCU of the sending end optical module and the second master MCU and the second slave MCU of the receiving end optical module.

Description

Optical module and method for acquiring remote monitoring data based on double-MCU optical module
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 the optical module with double MCUs.
Background
In the access network communication system, mutual optical connection is established between an optical line terminal and an optical network unit 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 to realize 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 computer, the optical module can only be controlled by the upper computer, and the optical module is manually and indirectly controlled through the upper computer. In the physical network of the access network, the optical line terminal and/or the optical network unit are often located in an environment inconvenient for manual operation, such as a mountain, a forest or even a water body, and it becomes very difficult to operate the optical module by operating the upper computer or using the upper computer in the environments.
Therefore, a new communication mode can be provided, so that the optical module is controlled by an upper computer accessed by the optical module, remote control can be realized, and the remote control of the upper computer can be realized through the remote control of the optical module.
Disclosure of Invention
The embodiment of the application provides an optical module and a method for acquiring remote monitoring data by the optical module based on double MCUs, so that the optical module is controlled by an upper computer connected with the optical module, 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 optical 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; wherein, the second low frequency message channel is used for indicating DDM backhaul information;
the first master MCU is configured to generate a DDM acquisition command according to the value of the DDM information acquisition enabling flag bit; and reading the DDM backhaul information in the second optical signal;
the first slave MCU is electrically connected with the first master MCU, the first light emitting chip and the first light receiving chip and is configured to load the received DDM acquisition command to a first low-frequency message channel; and receiving and analyzing the DDM return information in the second optical signal.
In a second aspect, the present application provides a light 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 optical signal carrying a second low frequency message channel; wherein, the second low frequency message channel is used for indicating DDM backhaul 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; loading the received DDM return 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 return information for the current monitoring data.
In a third aspect, the present application provides a method for acquiring remote monitoring data based on dual MCU optical modules, where the method includes:
the first main MCU generates a DDM acquisition command according to the value of the DDM information acquisition enabling flag bit;
the first slave MCU loads the received DDM acquisition command to a first low-frequency message channel and controls to transmit 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; wherein, the second low frequency message channel is used for indicating DDM backhaul information;
and the first master MCU reads DDM return information in the first slave MCU.
In a fourth aspect, the present application provides a method for acquiring remote monitoring data based on dual MCU optical modules, where the method includes:
the second slave MCU analyzes the 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 return information according to the current monitoring data;
and the second slave MCU loads the DDM return information to a second low-frequency message channel and controls to transmit a second optical signal carrying the second low-frequency message channel.
As can be seen from the foregoing embodiments, the present application provides 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 processing general functions of the optical module and interacting with an upper computer, and the slave MCU is responsible for sending and receiving message information and implementing interaction with the master MCU. A first main MCU of a sending end optical module generates a DDM acquisition command according to the value of the DDM information acquisition enabling flag bit; a first slave MCU of a sending end optical module loads a received DDM acquisition command to a first low-frequency message channel and controls to send a first optical signal carrying the first low-frequency message channel to a receiving end optical module; after a second slave MCU of the receiving end optical module correctly receives the first optical signal, a DDM acquisition command in a first low-frequency message channel is obtained through analysis, a second master MCU of the receiving end optical module acquires current monitoring data according to the DDM acquisition command, and DDM return information is established according to the current monitoring data; the second slave MCU loads DDM return information to the second low-frequency message through hole and controls to send a second optical signal carrying a second low-frequency message channel to the first slave MCU; and after the first slave MCU correctly receives the second optical signal, the first master MCU reads DDM return information in the first slave MCU. The first master MCU and the first slave MCU of the sending end optical module and the second master MCU and the second 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 realized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a connection relationship of an optical communication terminal;
FIG. 2 is a schematic diagram of an optical network unit;
fig. 3 is a schematic structural diagram of an optical module according to an embodiment of the present disclosure;
fig. 4 is an exploded structural diagram of an optical module according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram illustrating a use of dual MCUs in an optical module according to an embodiment of the present application;
fig. 6 is an optical path diagram of an optical module provided in the embodiment of the present application in practical application;
fig. 7 is a flowchart of a method for acquiring remote monitoring data based on a dual MCU optical module according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
One of the core elements of fiber optic communications is the conversion of optical to electrical signals. The optical fiber communication uses the optical signal carrying information to transmit in the optical fiber/optical waveguide, and the information transmission with low cost and low loss can be realized by using the passive transmission characteristic of the light in the optical fiber. The information processing devices such as computers use electrical signals, which require the interconversion between electrical signals and optical signals during the signal transmission process.
The optical module realizes the photoelectric conversion function in the technical field of optical fiber communication, and the interconversion 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, main electrical connections comprise power supply, I2C signals, data signal transmission, grounding and the like, 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 characteristic in most optical modules.
Fig. 1 is a schematic diagram of 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 the far-end server, one end of the network cable is connected with the local information processing equipment, and the connection between the local information processing equipment and the far-end 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 completed by an optical network unit with an optical module.
An optical port of the optical module 200 is connected with the optical fiber 101 and establishes bidirectional optical signal connection with the optical fiber; the electrical port of the optical module 200 is accessed into the optical network unit 100, and establishes bidirectional electrical signal connection with the optical network unit; the optical module realizes the mutual conversion of optical signals and electric signals, thereby realizing the 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 the mutual conversion of the photoelectric signals, and has no function of processing data, and information is not changed in the photoelectric conversion process.
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 module is connected with the network cable through the optical network unit, specifically, the optical network unit transmits a signal from the optical module to the network cable and transmits the signal from the network cable to the optical module, and the optical network unit is used as an upper computer of the optical module to monitor the work of the optical module.
At this point, a bidirectional signal transmission channel is established between the remote server and the local information processing device 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, provides data signals for the optical module, and receives the 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, the optical network unit 100 includes a circuit board 105, and a cage 106 is disposed on a surface of the circuit board 105; an electric connector is arranged in the cage 106 and used for connecting an electric port of an optical module 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 a fin for increasing a heat radiation area.
The optical module 200 is inserted into an optical network unit, specifically, an electrical port of the optical module is inserted into an electrical connector in the cage 106, and an optical port of the optical module is connected with the optical fiber 101.
The cage 106 is positioned on the circuit board, enclosing the electrical connectors on the circuit board in the cage; the optical module is inserted into the cage, the cage fixes the optical module, and heat generated by the optical module is conducted to the cage through the optical module housing and finally diffused through the heat sink 107 on the cage.
Fig. 3 is a schematic structural diagram of an optical module 200 according to an embodiment of the present disclosure, and fig. 4 is an exploded structural diagram of the optical module 200 according to the present disclosure. As shown in fig. 3 and 4, an optical module 200 provided in an embodiment of the present application includes an upper housing 201, a lower housing 202, an unlocking handle 203, a circuit board 300, a light emitting module 400, and a light receiving module 500.
The upper shell 201 is covered on the lower shell 202 to form a wrapping cavity with two openings; the outer contour of the wrapping cavity is generally a square body, and specifically, the lower shell comprises a main plate and two side plates which are positioned at two sides of the main plate and are perpendicular to the main plate; the upper shell comprises a cover plate, and the cover plate covers two side plates of the upper shell to form a wrapping cavity; the upper shell can also comprise two side walls which are positioned at 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 to realize that the upper shell covers the lower shell.
The two openings may be two openings (204, 205) located at the same end of the optical module, or two openings located at different ends of the optical module; one opening is an electric port 204, and a gold 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 optical fiber access to connect the optical transmitting assembly 400 and the optical receiving assembly 500 inside the optical module; the optoelectronic devices such as the circuit board 300, the light emitting assembly 400 and the light receiving assembly 500 are positioned in the package cavity.
The assembly mode of combining the upper shell and the lower shell is adopted, so that the circuit board 300, the light emitting assembly 400, the light receiving assembly 500 and other devices can be conveniently installed in the shells, and the outermost packaging protection shell of the optical module is formed by the upper shell and the lower shell; the upper shell and the lower shell are made of metal materials generally, so that electromagnetic shielding and heat dissipation are facilitated; generally, the shell of the optical module cannot be made into an integrated structure, so that when devices such as a circuit board and the like are assembled, the positioning component, the heat dissipation structure and the electromagnetic shielding structure cannot be installed, and the production automation is not facilitated.
The unlocking handle 203 is located on the outer wall of the wrapping cavity/lower shell 202 and 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; the tail end of the unlocking handle is pulled to enable the unlocking handle to move relatively 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 through 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 drawn out from the cage of the upper computer.
The circuit board 300 is provided with circuit traces, electronic components (such as capacitors, resistors, triodes, and MOS transistors), and chips (such as the microprocessor MCU2045, the laser driver chip, the limiting amplifier, the clock data recovery CDR, the power management chip, and the data processing chip DSP).
The circuit board 300 connects the electrical devices in the optical module together according to the circuit design through circuit wiring to realize the electrical functions of power supply, electrical signal transmission, grounding and the like.
The circuit board 300 is generally a rigid circuit board, which can also perform a bearing function due to its relatively rigid material, for example, the rigid circuit board can stably bear a chip; the rigid circuit board may also provide a smooth load bearing when the light emitting assembly 400 and the light receiving assembly 500 are located on the circuit board; the hard circuit board can also be inserted into an electric connector in the upper computer cage, and specifically, a metal pin/golden finger is formed on the surface of the tail end of one side of the hard circuit board and is used for being connected with the electric connector; these are not easily implemented with flexible circuit boards.
A flexible circuit board is also used in a part of the optical module to supplement a rigid circuit board; the flexible circuit board is generally used in combination with a rigid circuit board, for example, the rigid circuit board may be connected to the optical transceiver device through the flexible circuit board.
In the access network communication system, mutual optical connection is established between an optical line terminal and an optical network unit 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 to realize 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 upper computer inputs the data electrical signal into the optical module, and the optical module converts the data electrical signal into an optical signal to be sent out so as to realize the data sending of the upper computer; the optical module converts an optical signal from the outside into a data electric signal, and the data electric signal is input into the upper computer to realize the data receiving of the upper computer.
The optical module is only a data transmitter in the upper computer, the optical module can only be controlled by the upper computer, and the optical module is indirectly controlled by the upper computer manually. In an access network physical network, an optical line terminal and/or an optical network unit are often located in an environment which is inconvenient for manual operation, such as a mountain, a forest and even a water body, and it becomes very difficult to operate an optical module by operating an upper computer or using the upper computer in the environments.
Therefore, a new communication mode can be provided, so that the optical module is controlled by an upper computer accessed by the optical module, remote control can be realized, and the remote control of the upper computer can be realized through the remote control of 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 monitoring of the remote optical module can be realized 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 a fault occurs.
Based on the above background and requirements, an embodiment of the present application provides an optical module, where the optical module employs a dual-MCU scheme including a Master (Master) MCU and a Slave (Slave) MCU, the Master MCU is responsible for processing general functions of the optical module and interacting with an upper computer, and the Slave MCU is responsible for sending and receiving message information and implementing interaction with the Master MCU. Through the cooperation application among the transmitting end upper computer, the transmitting end main MCU, the transmitting end slave MCU, the receiving end main MCU and the receiving end slave MCU, the purpose of monitoring the running state of the remote module in real time or at any moment can be realized.
Fig. 5 is a schematic diagram illustrating a use of dual MCUs in an optical module according to an embodiment of the present application. As shown in fig. 5, a transmitting-end optical module (a first optical module) provided in this 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,
a first light emitting chip configured to emit a first optical 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; wherein, the second low frequency message channel is used for indicating DDM backhaul information;
the first master MCU is configured to generate a DDM acquisition command according to the value of the DDM information acquisition enabling flag bit; and reading the DDM backhaul information in the second optical signal;
the first slave MCU is electrically connected with the first master MCU, the first light emitting chip and the first light receiving chip and is configured to load the received DDM acquisition command to a first low-frequency message channel; and receiving and analyzing the DDM return information in the second optical signal.
Specifically, a far-end DDM information acquisition enabling flag bit is set in a first MCU of the transmitting-end optical module, and the upper computer system transmits a requirement for acquiring far-end DDM information to the transmitting-end optical module by setting the flag bit 1.
Before the upper computer sends a command, the upper computer reads the remote DDM information of the module to obtain an enabling zone bit, when the zone bit is 0, the module is in an idle state, the enabling module can send the command, and at the moment, the module needs to use the zone bit 1 for sending the enabling module.
When the flag bit is 1, the upper computer of the sending end makes a new command enable invalid until the flag bit is cleared in the module, which indicates that the upper computer can make the next command send.
In the embodiment of the application, a DDM command transmission 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 transmission status indication pin and starts to transmit multiple acquisition commands to a remote module by using a retransmission function. When the acquisition fails or succeeds, the first MCU pulls down the DDM transmission status indication pin, and at this time, the first main MCU can read the specific register to acquire the acquisition result.
Specifically, after monitoring that the DDM information acquisition enable flag bit is set to 1, the first master MCU first queries the DDM command transmission status indication pin, and if the DDM command transmission status indication pin is low, it indicates that the first slave MCU is currently in an idle state, and at this time, the first master MCU issues the 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).
And then the first master MCU polls a monitoring DDM command sending status indication pin, and when the pin is low level again, the first master MCU accesses a DDM information acquisition status register in the first slave MCU. When the register is 1, the acquisition is successful, the first master MCU reads the acquired remote DDM information from the specific buffer of the first slave MCU, the 1DDM information acquisition success flag bit is juxtaposed, the flag bit is cleared after the upper computer reads the remote DDM information acquisition success flag bit, and at the moment, the module automatically clears the DDM information acquisition enabling flag bit; if the value of the bottom-layer DDM information acquisition status register is 2, the acquisition failure is indicated, the first main MCU clears the far-end DDM information acquisition enabling flag bit, and sets 1 module bottom-layer retransmission failure flag bit for reporting the failure of the acquisition of the far-end DDM information; and if the other values indicate that invalid values exist, reporting the module fault. In this embodiment of the present application, when an optical module is initially powered on, an initial value of each register is 0, and a DDM command transmission state indication pin and a DDM command acquisition indication pin are initially at a 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; and then the first slave MCU waits for the second optical module to send the backhaul information. In the embodiment of the present application, all data packet messages transmitted through the message channel are encoded, and the specific encoding format includes: data frame head, data length, command code number, effective data, check sum and data frame tail.
Specifically, after receiving a DDM acquisition command issued by the first master MCU, the first slave MCU immediately raises the DDM command transmission status indication pin, and starts a data retransmission mechanism to transmit a DDM acquisition command to the remote module. When the first slave MCU receives and correctly analyzes the DDM information reported by the remote module, the acquired DDM information is stored in a specific buffer, the first slave MCU ends a data retransmission mechanism and pulls down a DDM command sending status indication pin, and meanwhile, a DDM information acquisition status register is written in 1 to wait for the 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 within a preset time or the reported DDM information cannot be analyzed correctly, the first slave MCU sends the command again until the correct DDM information is received; when the correct DDM information still cannot be received after the command sending times of the first slave MCU reach the limited threshold value, the first slave MCU pulls down the DDM command sending state indication pin, and writes 2 in the DDM information acquisition state register to indicate that the DDM information acquisition fails.
The receiving-end optical module (second optical module) provided by the embodiment of the application comprises 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 optical signal carrying a second low frequency message channel; wherein, the second low frequency message channel is used for indicating DDM backhaul 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; loading the received DDM return 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 return 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, and 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 current module running state and data into the second slave MCU after monitoring and commands the second slave MCU to immediately send the current module running state and data out.
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 the DDM instruction acquisition indication pin, so as to notify the second master MCU that the 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. And when the second master MCU is monitored to send the running monitoring data of the current module, the second slave MCU sends the data packet to the first optical module.
In the embodiment of the application, after the second master MCU reads the DDM acquisition command from the second slave MCU, the second master MCU acquires the 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 monitoring that the pin of the DDM command acquisition indication is pulled high, the second master MCU reads and clears the DDM command acquisition success flag bit, issues the monitoring data packet operated by the current module to the second slave MCU, and starts the second slave MCU to transmit the DDM data packet.
The optical module that this application embodiment provided adopts the two MCU schemes of main MCU and slave MCU, and main MCU is responsible for the conventional general function processing of optical module and is responsible for interacting with the host computer, and slave MCU is responsible for the sending and receiving of message information and realizes the interaction with main MCU. A first main MCU of a sending end optical module generates a DDM acquisition command according to the value of the DDM information acquisition enabling flag bit; a first slave MCU of a sending end optical module loads a received DDM acquisition command to a first low-frequency message channel and controls to send a first optical signal carrying the first low-frequency message channel to a receiving end optical module; after a second slave MCU of the receiving end optical module correctly receives the first optical signal, a DDM acquisition command in a first low-frequency message channel is obtained through analysis, a second master MCU of the receiving end optical module acquires current monitoring data according to the DDM acquisition command, and DDM return information is established according to the current monitoring data; the second slave MCU loads DDM return information to the second low-frequency message through hole and controls to send a second optical signal carrying a second low-frequency message channel to the first slave MCU; and after the first slave MCU correctly receives the second optical signal, the first master MCU reads DDM return information in the first slave MCU. The first master MCU and the first slave MCU of the sending end optical module and the second master MCU and the second slave MCU of the receiving end optical module are cooperatively applied, so that the purpose of monitoring the running state of the second optical module in real time or at any moment is realized.
Fig. 6 is an optical path diagram of an optical module provided in an embodiment of the present application in practical application. As shown in fig. 6, when the first optical module transmits a first optical signal and the second optical module transmits a second optical signal, in order to conveniently transmit the first optical signal and the second optical signal, a first multiplexer/demultiplexer and a second multiplexer/demultiplexer may be disposed between the first optical module and the second optical module, the first multiplexer/demultiplexer is connected to the first optical module and configured to multiplex 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 to the second optical module, and is configured to couple a second optical signal transmitted by the second optical module to one optical fiber 101, and transmit the second optical signal to the first optical module through the optical fiber 101.
The first multiplexer/demultiplexer can couple the first optical signal into the optical fiber 101 in a multiplexing manner, and can also perform demultiplexing on a second optical signal transmitted by the optical fiber 101, wherein the demultiplexed optical signal is transmitted to the first optical module through a corresponding channel; the second multiplexer/demultiplexer may couple the second optical signal to the optical fiber 101 in a multiplexing manner, and may perform a demultiplexing process on the first optical signal transmitted by the optical fiber 101, where the demultiplexed optical signal is transmitted to the second optical module through a corresponding channel.
Based on the optical module provided by the embodiment, the embodiment of the application further provides a method for acquiring remote monitoring data based on the dual-MCU optical module, the method adopts the dual-MCU optical module of the master MCU and the slave MCU, and the purpose of monitoring the running state of the second optical module in real time or at any moment is realized through the cooperative application of the first master MCU and the first slave MCU of the sending 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 acquiring 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 acquiring remote monitoring data based on a dual MCU optical module provided in the embodiment of the present application includes:
s100: and the first main MCU generates a DDM acquisition command according to the value of the DDM information acquisition enabling zone bit.
After monitoring that the DDM information acquisition enable flag bit is set to 1, the first master MCU queries the DDM command transmission status indication pin, and if the DDM command transmission status indication pin 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).
S200: and the first slave MCU loads the received DDM acquisition command to the first low-frequency message channel and controls to transmit a first optical signal carrying the first low-frequency message channel.
After receiving a DDM acquisition command issued by the first master MCU, the first slave MCU immediately raises a DDM command transmission state indication pin and starts a data retransmission mechanism to transmit the 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 within a preset time or the reported DDM information cannot be analyzed correctly, the first slave MCU sends the command again until the correct DDM information is received; when the correct DDM information still cannot be received after the command sending times of the first slave MCU reach the limited threshold value, the first slave MCU pulls down the DDM command sending state indication pin, and writes 2 in the 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 the DDM instruction acquisition indication pin, so as to inform the second master MCU that the 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.
S400: and the second main MCU acquires the current monitoring data according to the DDM acquisition command.
S500: and the second main MCU establishes DDM return information according to the current monitoring data.
And after monitoring that the DDM command acquisition indication pin is pulled up, the second master MCU reads and clears the DDM command acquisition success flag bit, issues a monitoring data packet operated by the current module to the second slave MCU, and starts the second slave MCU to transmit the DDM data packet.
S600: and the second slave MCU loads the DDM return information to a second low-frequency message channel and controls to transmit a second optical signal carrying the second low-frequency message channel.
And when the second slave MCU monitors that the second master MCU issues the operation monitoring data of the current module, the second slave MCU sends 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; and the second low-frequency message channel is used for indicating DDM backhaul information.
When the first slave MCU receives and correctly analyzes the DDM information reported by the remote module, the acquired DDM information is stored in a specific buffer, the first slave MCU ends a data retransmission mechanism and pulls down a DDM command sending status indication pin, and meanwhile, a DDM information acquisition status register is written in 1 to wait for the upper computer to read data.
S800: and the first master MCU reads DDM backhaul information in the first slave MCU.
And the first master MCU polls a monitoring DDM command sending status indication pin, and accesses the DDM information acquisition status register in the first slave MCU when the pin is in a low level again. When the register is 1, the acquisition is successful, the first master MCU reads the acquired remote DDM information from the specific buffer of the first slave MCU, the 1DDM information acquisition success flag bit is juxtaposed, the flag bit is cleared after the upper computer reads the remote DDM information acquisition success flag bit, and at the moment, the module automatically clears the DDM information acquisition enabling flag bit; if the value of the bottom-layer DDM information acquisition status register is 2, the acquisition failure is indicated, the first main MCU clears the far-end DDM information acquisition enabling flag bit, and sets 1 module bottom-layer retransmission failure flag bit for reporting the failure of the acquisition of the far-end DDM information; and if the other values indicate that invalid values exist, reporting the module fault.
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 message information and realizing interaction with the main MCU. A DDM command sending state indication pin is established between a first master MCU and a first slave MCU of a first optical module, 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 state indication pin and starts to send a plurality of times of acquisition commands to a second optical module by utilizing a retransmission function. When the acquisition fails or succeeds, the first slave MCU pulls down the DDM transmission status 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 monitoring data of the remote module requires that the sending-end optical module has the capability of repeatedly sending the command until receiving correct reported information, and meanwhile, the sending-end optical module needs to have the capability of indicating the success or failure of information acquisition and allow the sending-end upper computer to enable the acquisition command again after the information acquisition fails. The functions are required to be based on effective matching application among the transmitting end upper computer, the transmitting end main MCU, the transmitting end slave MCU, the receiving end main MCU and the receiving end slave MCU, so that the purpose of monitoring the running state of the remote end module in real time or at any time is achieved.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; 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 solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A light module, comprising:
a first light emitting chip configured to emit a first optical 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; wherein, the second low frequency message channel is used for indicating DDM backhaul information;
the first master MCU is configured to generate a DDM acquisition command according to the value of the DDM information acquisition enabling flag bit; and reading the DDM backhaul information in the second optical signal;
the first slave MCU is electrically connected with the first master MCU, the first light emitting chip and the first light receiving chip and is configured to load the received DDM acquisition command to a first low-frequency message channel; and receiving and analyzing the DDM return information in the second optical signal.
2. The optical module of claim 1, wherein the first slave MCU is further configured to write a corresponding value in a DDM information acquisition status register according to whether the second optical signal is received within a preset threshold.
3. The optical module according to claim 2, wherein the first host MCU is further configured to determine whether to read the DDM backhaul information according to the value written by the DDM information acquisition status register.
4. A light 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 optical signal carrying a second low frequency message channel; wherein, the second low frequency message channel is used for indicating DDM backhaul 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; loading the received DDM return 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 return information for the current monitoring data.
5. A method for acquiring remote monitoring data based on double MCU optical modules is characterized by comprising the following steps:
the first main MCU generates a DDM acquisition command according to the value of the DDM information acquisition enabling flag bit;
the first slave MCU loads the received DDM acquisition command to a first low-frequency message channel and controls to transmit 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; wherein, the second low frequency message channel is used for indicating DDM backhaul information;
and the first master MCU reads DDM return information in the first slave MCU.
6. The method for acquiring remote monitoring data based on the dual-MCU optical module according to claim 5, wherein the first host MCU generates a DDM acquisition command according to a value of a DDM information acquisition enable flag bit, comprising:
the first main MCU monitors whether the DDM information acquisition enabling flag bit is a first flag value or not;
if the DDM information acquisition enabling flag bit is the first flag value, inquiring whether the first slave MCU is in an idle state;
and if the first slave MCU is in an idle state, sending the DDM acquisition command to the first slave MCU.
7. The method for acquiring remote monitoring data based on the dual-MCU optical module of claim 5, wherein the first slave MCU receives the second optical signal carrying the second low frequency message channel, which previously comprises:
judging whether the first slave MCU receives the second optical signal within a preset threshold value;
and if the first slave MCU does not receive the second optical signal within the preset threshold value, writing a second value in a DDM information acquisition status register.
8. The method for acquiring remote monitoring data based on the dual-MCU optical module of claim 7, wherein the first slave MCU receives the second optical signal carrying the second low frequency message channel, and then comprises:
if the first slave MCU receives the second optical signal within the preset threshold value, storing DDM return information in the second optical signal;
and writing a first value in the DDM information acquisition status register.
9. The method according to claim 8, wherein the reading, by the first master MCU, DDM backhaul information in the first slave MCU comprises:
the first main MCU polls a monitoring DDM command sending state indication pin;
accessing the DDM information acquisition state register according to the state of the DDM command sending state indication pin;
and reading the DDM return information according to the value written in the DDM information acquisition state register.
10. A method for acquiring remote monitoring data based on double MCU optical modules is characterized by comprising the following steps:
the second slave MCU analyzes the 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 return information according to the current monitoring data;
and the second slave MCU loads the DDM return information to a second low-frequency message channel and controls to transmit a second optical signal carrying the second low-frequency message channel.
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 true CN113098596A (en) 2021-07-09
CN113098596B CN113098596B (en) 2023-07-18

Family

ID=76671643

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202310860981.6A Pending CN116980041A (en) 2021-03-31 2021-03-31 Optical module
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

Family Applications Before (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) CN116980041A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114389702A (en) * 2022-01-17 2022-04-22 青岛海信宽带多媒体技术有限公司 Optical module
CN114389701A (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 (15)

* 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
EP2701142A2 (en) * 2012-08-21 2014-02-26 Samsung Display Co., Ltd. Emission control driver and organic light emitting display device having the same
JP2015103914A (en) * 2013-11-22 2015-06-04 三菱電機株式会社 Optical power monitor circuit, optical module, station-side device, optical power monitor method, and program
CN106452599A (en) * 2013-05-08 2017-02-22 青岛海信宽带多媒体技术有限公司 Optical module and control method of the optical module
US20170201331A1 (en) * 2016-09-26 2017-07-13 Hisense Broadband Multimedia Technologies Co., Ltd. Optical Module And Method For Controlling Optical Module
WO2017222284A1 (en) * 2016-06-21 2017-12-28 삼성전자 주식회사 Spectrometric sensor control method and electronic device for supporting same
US20180083713A1 (en) * 2016-09-18 2018-03-22 Hisense Broadband Multimedia Technologies Co., Ltd. Olt optical module and olt
CN107966269A (en) * 2017-11-14 2018-04-27 东莞铭普光磁股份有限公司 A kind of optical module, optical device condition monitoring system
CN110380785A (en) * 2019-08-16 2019-10-25 青岛海信宽带多媒体技术有限公司 A kind of digital diagnostic information acquisition methods, device and optical module
CN110430016A (en) * 2019-08-01 2019-11-08 青岛海信宽带多媒体技术有限公司 A kind of data receiver method, device and optical module
CN110430017A (en) * 2019-08-01 2019-11-08 青岛海信宽带多媒体技术有限公司 A kind of data transmission method for uplink, device and optical module
CN110519666A (en) * 2019-08-16 2019-11-29 青岛海信宽带多媒体技术有限公司 A kind of optical module wavelength configuration method, apparatus and optical module
CN112087677A (en) * 2019-06-14 2020-12-15 青岛海信宽带多媒体技术有限公司 Optical module information interaction method and optical module
CN112311464A (en) * 2020-10-29 2021-02-02 索尔思光电(成都)有限公司 Optical module modulation and demodulation system and method adopting double-MCU (microprogrammed control Unit) architecture
CN113364523A (en) * 2020-03-06 2021-09-07 青岛海信宽带多媒体技术有限公司 Data sending method and optical module

Patent Citations (16)

* 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
EP2701142A2 (en) * 2012-08-21 2014-02-26 Samsung Display Co., Ltd. Emission control driver and organic light emitting display device having the same
CN106452599A (en) * 2013-05-08 2017-02-22 青岛海信宽带多媒体技术有限公司 Optical module and control method of the optical module
JP2015103914A (en) * 2013-11-22 2015-06-04 三菱電機株式会社 Optical power monitor circuit, optical module, station-side device, optical power monitor method, and program
WO2017222284A1 (en) * 2016-06-21 2017-12-28 삼성전자 주식회사 Spectrometric sensor control method and electronic device for supporting same
US20180083713A1 (en) * 2016-09-18 2018-03-22 Hisense Broadband Multimedia Technologies Co., Ltd. Olt optical module and olt
US20170201331A1 (en) * 2016-09-26 2017-07-13 Hisense Broadband Multimedia Technologies Co., Ltd. Optical Module And Method For Controlling Optical Module
CN107966269A (en) * 2017-11-14 2018-04-27 东莞铭普光磁股份有限公司 A kind of optical module, optical device condition monitoring system
CN112087677A (en) * 2019-06-14 2020-12-15 青岛海信宽带多媒体技术有限公司 Optical module information interaction method and optical module
CN110430016A (en) * 2019-08-01 2019-11-08 青岛海信宽带多媒体技术有限公司 A kind of data receiver method, device and optical module
CN110430017A (en) * 2019-08-01 2019-11-08 青岛海信宽带多媒体技术有限公司 A kind of data transmission method for uplink, device and optical module
CN110519666A (en) * 2019-08-16 2019-11-29 青岛海信宽带多媒体技术有限公司 A kind of optical module wavelength configuration method, apparatus and optical module
CN110380785A (en) * 2019-08-16 2019-10-25 青岛海信宽带多媒体技术有限公司 A kind of digital diagnostic information acquisition methods, device and optical module
WO2021031652A1 (en) * 2019-08-16 2021-02-25 青岛海信宽带多媒体技术有限公司 Optical module wavelength configuration method and device, and optical module
CN113364523A (en) * 2020-03-06 2021-09-07 青岛海信宽带多媒体技术有限公司 Data sending method and optical module
CN112311464A (en) * 2020-10-29 2021-02-02 索尔思光电(成都)有限公司 Optical module modulation and demodulation system and method adopting double-MCU (microprogrammed control Unit) architecture

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨春玲等: "基于FPGA的通用光纤通信***设计", 《电子技术应用》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114389702A (en) * 2022-01-17 2022-04-22 青岛海信宽带多媒体技术有限公司 Optical module
CN114389701A (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

Also Published As

Publication number Publication date
CN113098596B (en) 2023-07-18
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
CN110430016B (en) Data receiving method and device and optical module
CN113660035B (en) Optical module and calibration unit definition method
CN111555810A (en) Optical module and data transmission method
CN113179131A (en) Optical module
CN113640922B (en) Optical module
CN111193547A (en) Optical module
CN112505855A (en) Optical module
CN110401486B (en) Optical module and light emission control method
CN215186763U (en) Optical module
CN113098621B (en) Optical module and wavelength automatic polling method based on double-MCU optical module
CN113364523A (en) Data sending method and optical module
CN215181036U (en) Optical module
CN113472449B (en) Optical module and signal polarity definition method
CN216016871U (en) Optical module
CN213780448U (en) Optical module
CN113300773B (en) Optical module
CN113364524B (en) Data receiving method and optical module
CN113630186B (en) Optical module and communication method
CN211554392U (en) Optical module
CN214228254U (en) Optical module
CN114915345B (en) Optical module
CN114124228B (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