[go: up one dir, main page]

CN102347798B - Optical signal transmission method, equipment and transmission systemof optical signal - Google Patents

Optical signal transmission method, equipment and transmission systemof optical signal Download PDF

Info

Publication number
CN102347798B
CN102347798B CN201110287931.0A CN201110287931A CN102347798B CN 102347798 B CN102347798 B CN 102347798B CN 201110287931 A CN201110287931 A CN 201110287931A CN 102347798 B CN102347798 B CN 102347798B
Authority
CN
China
Prior art keywords
optical signal
optical
sending device
signal sending
receiving device
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.)
Expired - Fee Related
Application number
CN201110287931.0A
Other languages
Chinese (zh)
Other versions
CN102347798A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201110287931.0A priority Critical patent/CN102347798B/en
Publication of CN102347798A publication Critical patent/CN102347798A/en
Application granted granted Critical
Publication of CN102347798B publication Critical patent/CN102347798B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Optical Communication System (AREA)

Abstract

本发明实施例公开了一种光信号的发送方法、设备和光信号的传输系统,其中方法包括:光信号发送设备确认是否需要发送光信号;若需要,则检测光信号发送设备的光模块的发光光强;若发光光强满足发送光信号的要求,则将光信号发送设备中的与光信号接收设备连接的接口配置为和对端建立物理链接状态;将所述光信号发送设备的接口配置为和对端建立物理链接状态后,光信号发送设备通过与光信号接收设备相连的单纤将需要发送的光信号发送给光信号接收设备。本方案可以减少接口故障点、降低线网配置复杂度并且降低光纤布线难度。

The embodiment of the present invention discloses an optical signal transmission method, equipment, and optical signal transmission system, wherein the method includes: the optical signal transmission equipment confirms whether it is necessary to transmit an optical signal; if necessary, detecting the light emission of the optical module of the optical signal transmission equipment Light intensity; if the luminous light intensity meets the requirements for sending optical signals, configure the interface connected to the optical signal receiving device in the optical signal sending device to establish a physical link state with the opposite end; configure the interface of the optical signal sending device After establishing a physical link state with the opposite end, the optical signal sending device sends the optical signal to be sent to the optical signal receiving device through the single fiber connected to the optical signal receiving device. This solution can reduce interface failure points, reduce the complexity of line network configuration, and reduce the difficulty of fiber optic wiring.

Description

一种光信号的发送方法、设备和光信号的传输系统Optical signal sending method, device and optical signal transmission system

技术领域technical field

本发明涉及通信技术领域,特别涉及一种光信号的发送方法、设备和光信号的传输系统。The present invention relates to the field of communication technology, in particular to an optical signal transmission method, equipment and an optical signal transmission system.

背景技术Background technique

随着网络技术的广泛应用,互联网暴露出越来越多的安全问题,例如:非法互联网协议电话(Voice over Internet Protocol,VOIP)日益猖獗,导致电信业务损失,大量带宽被非法流量。例如:对等网络(Peer to Peer,P2P)数据流吞噬大量带宽;非法共享带宽则导致用户流失。With the wide application of network technology, the Internet has exposed more and more security problems, such as: illegal Voice over Internet Protocol (VOIP) is becoming more and more rampant, resulting in the loss of telecommunications services, and a large amount of bandwidth is illegally trafficked. For example: peer-to-peer (Peer to Peer, P2P) data flow consumes a lot of bandwidth; illegal sharing of bandwidth leads to user loss.

为了消除网络隐患,需要通过后台分析系统对现网流量进行分析。但是由于网络流量海量增长,且应用也日趋复杂,后台分析系统因其平台的局限无法直接对流量进行处理。因此,需要分流设备来协助后台分析系统对流量进行处理。In order to eliminate hidden dangers in the network, it is necessary to analyze the current network traffic through the background analysis system. However, due to the massive increase in network traffic and the increasingly complex applications, the background analysis system cannot directly process the traffic due to the limitation of the platform. Therefore, a distribution device is needed to assist the background analysis system to process the traffic.

分流设备属于旁路设备,分流设备可以将网络中的部分或所有数据报文分解成适合报文分析服务器处理的粒度,然后将分解后的数据报文重定向到与数据报文对应的报文分析服务器,由报文分析服务器对数据报文进行分析。这样可以不影响网络流量传输。分流设备可以灵活多样的制定分流策略保证同源同宿,实现海量接入,并采用丰富的端口类型和高密度端口。该方案中的一个分流设备通常对应多个报文分析服务器,分流设备与报文分析服务器之间通过光纤相连。The distribution device is a bypass device. The distribution device can decompose some or all data packets in the network into a granularity suitable for processing by the packet analysis server, and then redirect the decomposed data packets to the packets corresponding to the data packets. The analysis server is configured to analyze the data message by the message analysis server. This will not affect network traffic transmission. The offloading device can flexibly formulate offloading strategies to ensure the same source and same destination, realize massive access, and adopt rich port types and high-density ports. One distribution device in this solution usually corresponds to multiple packet analysis servers, and the distribution device and the packet analysis servers are connected through optical fibers.

两个设备采用光纤相连进行通信的方案中,光纤需要使用光发送和接收模块,来与设备接口相连。光发送和接收模块简称光模块。由于光纤中传输的是光信号,而分流设备和报文分析服务器只能处理电信号,光模块则实现光信号和电信号之间的转换。所以,在光纤接入接口时,需要通过光模块先进行光电信号的转换。另外,光接收模块将光信号转换为电信号时,对接收的光信号的光强有一定的范围要求,光强太大或太小都会导致光模块不能正常解析光信号。不同厂家与不同类型的光模块支持不同的收光、发送光强。In the solution where two devices are connected by optical fiber for communication, the optical fiber needs to use optical sending and receiving modules to connect with the device interface. Optical sending and receiving modules are called optical modules for short. Since the optical signal is transmitted in the optical fiber, the distribution device and the packet analysis server can only process the electrical signal, and the optical module realizes the conversion between the optical signal and the electrical signal. Therefore, when the optical fiber is connected to the interface, it is necessary to first convert the photoelectric signal through the optical module. In addition, when the optical receiving module converts the optical signal into an electrical signal, there is a certain range requirement for the light intensity of the received optical signal. If the light intensity is too large or too small, the optical module cannot analyze the optical signal normally. Different manufacturers and different types of optical modules support different receiving and sending light intensities.

发明内容Contents of the invention

本发明实施例提供了一种光信号的发送方法、设备和光信号的传输系统,以解决现有技术线网配置复杂度高的问题。Embodiments of the present invention provide an optical signal transmission method, equipment, and an optical signal transmission system, so as to solve the problem of high complexity of line network configuration in the prior art.

一种光信号的发送方法,包括:A method for sending an optical signal, comprising:

光信号发送设备确认是否需要发送光信号;The optical signal sending device confirms whether to send an optical signal;

若需要,则检测光信号发送设备的光模块的发光光强;If necessary, detect the luminous light intensity of the optical module of the optical signal sending device;

若发光光强满足发送光信号的要求,则将光信号发送设备中的与光信号接收设备连接的接口配置为和对端建立物理链接状态;If the luminous light intensity meets the requirements for sending optical signals, configure the interface connected to the optical signal receiving device in the optical signal sending device to establish a physical link state with the opposite end;

将所述光信号发送设备的接口配置为和对端建立物理链接状态后,光信号发送设备通过与光接收设备光信号接收设备相连的单纤将需要发送的光信号发送给光信号接收设备。After the interface of the optical signal sending device is configured to establish a physical link state with the opposite end, the optical signal sending device sends the optical signal to be sent to the optical signal receiving device through the single fiber connected to the optical receiving device and the optical signal receiving device.

一种光信号发送设备,包括:An optical signal sending device, comprising:

需求确认单元,用于确认光信号发送设备是否需要发送光信号;A requirement confirmation unit, configured to confirm whether the optical signal sending device needs to send an optical signal;

光强检测单元,用于若需求确认单元确认结果为需要,则检测光信号发送设备的光模块的发光光强;The light intensity detection unit is used to detect the luminous light intensity of the optical module of the optical signal sending device if the confirmation result of the demand confirmation unit is required;

状态配置单元,用于若光强检测单元检测结果为满足,则将光信号发送设备中的与光信号接收设备连接的接口配置为和对端建立物理链接状态;The state configuration unit is used to configure the interface connected to the optical signal receiving device in the optical signal sending device to establish a physical link state with the opposite end if the detection result of the light intensity detection unit is satisfied;

光信号发送单元,用于在状态配置单元将所述光信号发送设备的接口配置为和对端建立物理链接状态后,通过光模块将需要发送的光信号发送给光The optical signal sending unit is used to send the optical signal to be sent to the optical signal through the optical module after the state configuration unit configures the interface of the optical signal sending device to establish a physical link state with the opposite end.

信号接收设备。Signal receiving equipment.

一种光信号的传输系统,包括:An optical signal transmission system, comprising:

采用单纤连接的光信号发送设备和光信号接收设备;Optical signal sending equipment and optical signal receiving equipment connected by single fiber;

所述光信号发送设备,用于确认是否需要发送光信号;若需要,则检测光信号发送设备的光模块的发光光强;若发光光强满足发送光信号的要求,则将光信号发送设备中的与光信号接收设备连接的接口配置为和对端建立物理链接状态;将所述光信号发送设备的接口配置为和对端建立物理链接状态后,光信号发送设备通过与光接收设备光信号接收设备相连的单纤将需要发送的光信号发送给光信号接收设备;The optical signal sending device is used to confirm whether it is necessary to send an optical signal; if necessary, detect the luminous light intensity of the optical module of the optical signal sending device; if the luminous light intensity meets the requirements for sending an optical signal, then send the optical signal The interface connected to the optical signal receiving device is configured to establish a physical link state with the opposite end; after the interface of the optical signal transmitting device is configured to establish a physical link state with the opposite end, the optical signal transmitting device communicates with the optical receiving device through an optical The single fiber connected to the signal receiving device sends the optical signal to be sent to the optical signal receiving device;

光信号接收设备,用于接收光信号发送设备发送的光信号。The optical signal receiving device is configured to receive the optical signal sent by the optical signal sending device.

从以上技术方案可以看出,本发明实施例具有以下优点:光信号发送设备与光信号的接收设备采用单纤连接;在缺少输入光纤的情况下,光信号发送设备通过检测自身光模块的发光光强,确定是否能够发送光信号;在发光光强属于正常范围时,通过设置接口为建立物理链接状态,使接口能够正常向对端发送光信号。该方案使用光信号发送设备与光信号的接收设备采用单纤连接,相比于使用输入输出两根光纤的方案,减少了接口故障点、降低了线网配置复杂度并且降低了光纤布线难度。It can be seen from the above technical solutions that the embodiments of the present invention have the following advantages: the optical signal sending device and the receiving device of the optical signal are connected by a single fiber; Light intensity, to determine whether it is possible to send optical signals; when the luminous light intensity is within the normal range, set the interface to establish a physical link state, so that the interface can normally send optical signals to the peer. This solution uses a single-fiber connection between the optical signal sending device and the optical signal receiving device. Compared with the solution using two optical fibers for input and output, it reduces interface failure points, reduces the complexity of network configuration, and reduces the difficulty of fiber optic wiring.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.

图1为本发明实施例方法流程示意图;Fig. 1 is a schematic flow chart of the method of the embodiment of the present invention;

图2为本发明实施例设备结构示意图;Fig. 2 is a schematic diagram of the device structure of the embodiment of the present invention;

图3为本发明实施例设备结构示意图;Fig. 3 is a schematic diagram of the device structure of the embodiment of the present invention;

图4为本发明实施例系统结构示意图。Fig. 4 is a schematic diagram of the system structure of the embodiment of the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部份实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments . Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

发明人在实现本发明实施例的过程中发现:分流设备与报文分析服务器的每个光纤接口具有一个输入光纤和一个输出光纤,输入光纤接光模块的接收模块,输出光纤接光模块的发送模块。接收模块在接收到光信号,并且光信号的强度达到了预定值时,驱动接口进入建立物理链接状态,这时可以发送光信号。因此,分流设备和报文分析服务器相连接的接口的物理层状态依赖于输入光纤接收光的光强。由于有输入输出两根光纤,因此接口的故障点较多,线网配置的复杂度较高,光纤布线难度较大。In the process of realizing the embodiment of the present invention, the inventor found that each optical fiber interface between the branching device and the packet analysis server has an input optical fiber and an output optical fiber, the input optical fiber is connected to the receiving module of the optical module, and the output optical fiber is connected to the sending module of the optical module. module. When the receiving module receives the optical signal and the intensity of the optical signal reaches a predetermined value, the drive interface enters the state of establishing a physical link, and at this time, the optical signal can be sent. Therefore, the state of the physical layer of the interface connecting the distribution device and the packet analysis server depends on the intensity of light received by the input optical fiber. Because there are two optical fibers for input and output, there are many fault points on the interface, the complexity of the network configuration is high, and the fiber optic wiring is difficult.

本发明实施例提供了一种光信号的发送方法,如图1所示,包括:An embodiment of the present invention provides a method for sending an optical signal, as shown in FIG. 1 , including:

101:光信号发送设备确认是否需要发送光信号;101: The optical signal sending device confirms whether it is necessary to send an optical signal;

基于路由器应用的场景,光信号发送设备可以为旁路设备。更具体地,旁路设备可以为:路由器分流设备。光信号接收设备可以为:报文分析服务器。需要说明的是,本发明实施例可以应用在满足以下条件的任意场景中:光信号发送设备与光信号接收设备采用单纤连接,光信号发送设备需要发送光信号不需要接收光信号。因此,以上旁路设备和报文分析服务器的举例不应理解为对光信号发送设备和光信号接收设备的穷举,不应理解为对本发明实施例的限定。Based on a router application scenario, the optical signal sending device may be a bypass device. More specifically, the bypass device may be: a router distribution device. The optical signal receiving device may be: a packet analysis server. It should be noted that the embodiments of the present invention can be applied in any scenario that meets the following conditions: the optical signal sending device and the optical signal receiving device are connected by a single fiber, and the optical signal sending device needs to send optical signals but not receive optical signals. Therefore, the above examples of the bypass device and the packet analysis server should not be understood as an exhaustive list of the optical signal sending device and the optical signal receiving device, and should not be understood as a limitation to the embodiment of the present invention.

102:若需要,则检测光信号发送设备的光模块的发光光强;102: If necessary, detect the luminous light intensity of the optical module of the optical signal sending device;

可以理解的是,如果不需要发送光信号,那么本流程就可以至此结束。It can be understood that, if there is no need to send an optical signal, then this process can end here.

由于采用单纤连接,光信号发送设备缺少输入光纤,本步骤光信号发送设备通过检测自身发光光强,可以判断光信号是否能发送出去。旁路设备的接口能检测到光强,如果发光光强在合理的范围内,则可以认为能正常发送光信号。Since the single-fiber connection is adopted, the optical signal transmission device lacks an input optical fiber. In this step, the optical signal transmission device can determine whether the optical signal can be transmitted by detecting its own light intensity. The interface of the bypass device can detect the light intensity. If the light intensity is within a reasonable range, it can be considered that the optical signal can be sent normally.

103:若发光光强满足发送光信号的要求,则将光信号发送设备中的与光信号接收设备连接的接口配置为和对端建立物理链接状态;103: If the luminous light intensity meets the requirements for sending an optical signal, configure the interface connected to the optical signal receiving device in the optical signal sending device to establish a physical link state with the opposite end;

可以理解的是,如发光光强不满足发送光信号的要求,也就是说光模块无法成功发送光信号,那么本流程可以至此结束。It can be understood that if the luminous light intensity does not meet the requirements for sending an optical signal, that is to say, the optical module cannot successfully send an optical signal, then this process can end here.

本步骤使光信号发送设备中的与光信号接收设备连接的接口处于UP状态,光信号发送设备中的与光信号接收设备连接的接口处于UP状态时光模块就能正常发送光信号。In this step, the interface connected to the optical signal receiving device in the optical signal sending device is in the UP state, and the optical module can normally send the optical signal when the interface connected to the optical signal receiving device in the optical signal sending device is in the UP state.

具体地,由于底层芯片和光模块的生产厂商不同,接口的寄存器里每个比特(BIT)代表了不同的意义,可以通过配置寄存器的方式改变光信号发送设备中的与光信号接收设备连接的接口状态。那么,上述将光信号发送设备中的与光信号接收设备连接的接口配置为和对端建立物理链接状态可以是:将光信号发送设备中的接口的寄存器的状态位设置为和对端建立物理链接状态。Specifically, due to the different manufacturers of the underlying chips and optical modules, each bit (BIT) in the interface register represents a different meaning, and the interface connected to the optical signal receiving device in the optical signal sending device can be changed by configuring the register. state. Then, the above-mentioned configuration of the interface connected to the optical signal receiving device in the optical signal sending device to establish a physical link state with the opposite end may be: setting the status bit of the register of the interface in the optical signal sending device to establish a physical link state with the opposite end link status.

104:将上述光信号发送设备的接口配置为和对端建立物理链接状态后,光信号发送设备通过与光信号接收设备相连的单纤,将需要发送的光信号发送给光信号接收设备。104: After configuring the interface of the optical signal sending device to establish a physical link state with the opposite end, the optical signal sending device sends the optical signal to be sent to the optical signal receiving device through the single fiber connected to the optical signal receiving device.

具体地:上述通过与光信号接收设备相连的单纤,将需要发送的光信号发送给光信号接收设备包括:向上述光模块输入预定码率的电信号,使上述光模块的驱动芯片驱动光模块的激光器件产生光信号,通过上述光信号发送设备与上述光信号接收设备相连的单纤将上述激光器件产生的光信号发送给上述光信号接收设备。上述向光模块输入预定码率的电信号的设备为光信号发送设备,例如:旁路设备。Specifically: the above-mentioned sending the optical signal to be sent to the optical signal receiving device through the single fiber connected to the optical signal receiving device includes: inputting an electrical signal with a predetermined code rate to the above-mentioned optical module, so that the driver chip of the above-mentioned optical module drives the optical signal The laser device of the module generates an optical signal, and sends the optical signal generated by the above-mentioned laser device to the above-mentioned optical signal receiving device through a single fiber connected to the above-mentioned optical signal sending device and the above-mentioned optical signal receiving device. The above-mentioned device for inputting an electrical signal of a predetermined code rate to the optical module is an optical signal sending device, for example, a bypass device.

光模块由光电子器件、功能电路和光接口等组成。光电子器件通常包括发射和接收两部分。发射部分是:输入一定码率的电信号经内部驱动芯片处理后驱动激光器件,如:半导体激光器或发光二级管,发射出相应速率的调制光信号。发射部分内部有光功率自动控制电路,使输出的光的光信号功率保持稳定。接收部分是:一定码率的光信号输入模块后由光探测二级管转换为电信号。通过控制旁路设备接口,当插入光模块后,向光模块输入预定码率的电信号,使光模块的驱动芯片驱动光模块的激光器件,就能使激光器件发射出相应速率的调制光信号,使激光器件处于发光状态。上述向光模块输入预定码率的电信号的设备为光信号发送设备,例如:旁路设备。电信号的码率则由旁路设备依据需要发送的数据来确定。The optical module is composed of optoelectronic devices, functional circuits and optical interfaces. Optoelectronic devices usually include two parts: transmitting and receiving. The transmitting part is: the input electrical signal of a certain code rate is processed by the internal driver chip to drive the laser device, such as a semiconductor laser or a light-emitting diode, and emit a modulated optical signal at a corresponding rate. There is an optical power automatic control circuit inside the transmitting part to keep the optical signal power of the output light stable. The receiving part is: the optical signal of a certain code rate is input into the module and then converted into an electrical signal by the light detection diode. By controlling the bypass device interface, when the optical module is inserted, an electrical signal with a predetermined code rate is input to the optical module, so that the driver chip of the optical module drives the laser device of the optical module, and the laser device can emit a modulated optical signal at a corresponding rate , so that the laser device is in a light-emitting state. The above-mentioned device for inputting an electrical signal of a predetermined code rate to the optical module is an optical signal sending device, for example, a bypass device. The code rate of the electrical signal is determined by the bypass device according to the data to be sent.

本发明实施例的光信号发送设备与光信号的接收设备采用单纤连接;在缺少输入光纤的情况下,光信号发送设备通过检测自身光模块的发光光强,确定是否能够发送光信号;在能够发送光信号时,通过配置接口为和对端建立物理链接状态使接口能够正常发送光信号。该方案使用光信号发送设备与光信号的接收设备采用单纤连接,相比于使用输入输出两根光纤的方案,减少了接口故障点增强了可维护性、通过减少了一根光纤,降低了线网配置复杂度并且降低了光纤布线难度。The optical signal sending device and the receiving device of the optical signal in the embodiment of the present invention are connected by a single fiber; in the absence of an input optical fiber, the optical signal sending device determines whether it can send an optical signal by detecting the light intensity of its own optical module; When the optical signal can be sent, configure the interface to establish a physical link state with the opposite end so that the interface can send optical signals normally. This solution uses a single-fiber connection between the optical signal sending device and the optical signal receiving device. Compared with the solution using two optical fibers for input and output, it reduces interface failure points and enhances maintainability. By reducing one fiber, it reduces Cable network configuration complexity and reduce the difficulty of fiber optic cabling.

本发明实施例还提供了一种光信号发送设备,如图2所示,包括:The embodiment of the present invention also provides an optical signal sending device, as shown in FIG. 2 , including:

需求确认单元201,用于确认光信号发送设备是否需要发送光信号;A requirement confirmation unit 201, configured to confirm whether the optical signal sending device needs to send an optical signal;

光强检测单元202,用于若需求确认单元201确认结果为需要,则检测光信号发送设备的光模块的发光光强;The light intensity detection unit 202 is used to detect the luminous light intensity of the optical module of the optical signal sending device if the confirmation result of the demand confirmation unit 201 is required;

状态配置单元203,用于若光强检测单元202检测结果为满足,则将光信号发送设备中的与光信号接收设备连接的接口配置为和对端建立物理链接状态;The state configuration unit 203 is used to configure the interface connected to the optical signal receiving device in the optical signal sending device to establish a physical link state with the opposite end if the detection result of the light intensity detection unit 202 is satisfied;

光信号发送单元204,用于在状态配置单元203将上述光信号发送设备的接口配置为和对端建立物理链接状态后,通过光模块将需要发送的光信号发送给光信号接收设备。The optical signal sending unit 204 is configured to send the optical signal to be sent to the optical signal receiving device through the optical module after the state configuration unit 203 configures the interface of the optical signal sending device to establish a physical link state with the opposite end.

上述光信号发送设备为:旁路设备。更具体地,旁路设备可以为:路由器分流设备。需要说明的是,本发明实施例可以应用在满足以下条件的任意场景中:光信号发送设备与光信号接收设备采用单纤连接,光信号发送设备需要发送光信号不需要接收光信号。因此,以上旁路设备的举例不应理解为对光信号发送设备的穷举,不应理解为对本发明实施例的限定。The above-mentioned optical signal sending device is: a bypass device. More specifically, the bypass device may be: a router distribution device. It should be noted that the embodiments of the present invention can be applied in any scenario that meets the following conditions: the optical signal sending device and the optical signal receiving device are connected by a single fiber, and the optical signal sending device needs to send optical signals but not receive optical signals. Therefore, the above examples of the bypass device should not be understood as an exhaustive list of optical signal sending devices, and should not be understood as a limitation to the embodiment of the present invention.

可选地,如图3所示,上述光信号发送单元204包括:Optionally, as shown in FIG. 3 , the optical signal sending unit 204 includes:

电信号输入单元301,用于上述光信号发送设备的接口配置为和对端建立物理链接状态后,向上述光模块输入预定码率的电信号,使上述光模块的驱动芯片驱动光模块的激光器件产生光信号;The electrical signal input unit 301 is used to configure the interface of the above-mentioned optical signal sending device to establish a physical link state with the opposite end, and then input an electrical signal with a predetermined code rate to the above-mentioned optical module, so that the driver chip of the above-mentioned optical module drives the laser of the optical module components to generate optical signals;

光信号发送子单元302,用于通过上述光信号发送设备与上述光信号接收设备相连的单纤将上述激光器件产生的光信号发送给光信号接收设备。The optical signal sending subunit 302 is configured to send the optical signal generated by the above-mentioned laser device to the optical signal receiving device through the single fiber connecting the above-mentioned optical signal sending device to the above-mentioned optical signal receiving device.

可选地,上述状态配置单元203,具体用于若光强检测单元202检测结果为满足,则将光信号发送设备中的接口的寄存器的状态位设置为和对端建立物理链接状态。Optionally, the above state configuration unit 203 is specifically configured to set the state bit of the register of the interface in the optical signal sending device to establish a physical link state with the opposite end if the detection result of the light intensity detection unit 202 is satisfied.

本发明实施例还提供了一种光信号的传输系统,如图4所示,包括:The embodiment of the present invention also provides an optical signal transmission system, as shown in Figure 4, including:

采用单纤连接的光信号发送设备401和光信号接收设备402;An optical signal sending device 401 and an optical signal receiving device 402 connected by a single fiber;

上述光信号发送设备401,用于确认是否需要发送光信号;若需要,则检测光信号发送设备401的光模块的发光光强;若发光光强满足发送光信号的要求,则将光信号发送设备401中的与光信号接收设备402连接的接口配置为和对端建立物理链接状态;将上述光信号发送设备401的接口配置为和对端建立物理链接状态后,光信号发送设备401通过与光信号接收设备402相连的单纤将需要发送的光信号发送给光信号接收设备402;The above-mentioned optical signal sending device 401 is used to confirm whether it is necessary to send an optical signal; if necessary, detect the luminous light intensity of the optical module of the optical signal sending device 401; if the luminous light intensity meets the requirements for sending an optical signal, then send the optical signal The interface connected to the optical signal receiving device 402 in the device 401 is configured to establish a physical link state with the opposite end; after the interface of the above optical signal sending device 401 is configured to establish a physical link state with the opposite end, the optical signal sending device 401 passes through The single fiber connected to the optical signal receiving device 402 sends the optical signal to be sent to the optical signal receiving device 402;

光信号接收设备402,用于接收光信号发送设备401发送的光信号。The optical signal receiving device 402 is configured to receive the optical signal sent by the optical signal sending device 401 .

上述光信号发送设备401为:旁路设备;更具体地,旁路设备可以为:路由器分流设备;上述光信号接收设备402为:报文分析服务器。The above-mentioned optical signal sending device 401 is: a bypass device; more specifically, the bypass device may be: a router distribution device; the above-mentioned optical signal receiving device 402 is: a packet analysis server.

更具体地,上述通过与光信号接收设备402相连的单纤,将需要发送的光信号发送给光信号接收设备402包括:向上述光模块输入预定码率的电信号,使上述光模块的驱动芯片驱动上述光模块的激光器件产生光信号,通过上述光信号发送设备401与上述光信号接收设备402相连的单纤将激光器件产生的光信号发送给光信号接收设备402。More specifically, the above-mentioned sending the optical signal to be sent to the optical signal receiving device 402 through the single fiber connected to the optical signal receiving device 402 includes: inputting an electrical signal with a predetermined code rate to the above-mentioned optical module, so that the driving of the above-mentioned optical module The chip drives the laser device of the optical module to generate an optical signal, and sends the optical signal generated by the laser device to the optical signal receiving device 402 through the single fiber connected to the optical signal receiving device 402 through the above optical signal sending device 401 .

更具体地,上述将光信号发送设备401中的与光信号接收设备402连接的接口配置为和对端建立物理链接状态包括:将光信号发送设备中的接口的寄存器的状态位设置为和对端建立物理链接状态。More specifically, configuring the interface connected to the optical signal receiving device 402 in the optical signal sending device 401 to establish a physical link state with the opposite end includes: setting the status bit of the register of the interface in the optical signal sending device to and the opposite end The end establishes the physical link state.

本发明实施例的光信号发送设备与光信号的接收设备采用单纤连接;在缺少输入光纤的情况下,光信号发送设备通过检测自身光模块的发光光强,确定是否能够发送光信号;在能够发送光信号时,通过配置接口为和对端建立物理链接状态使接口能够正常发送光信号。该方案使用光信号发送设备与光信号的接收设备采用单纤连接,相比于使用输入输出两根光纤的方案,减少了接口故障点增强了可维护性、通过减少了一根光纤,降低了线网配置复杂度并且降低了光纤布线难度。The optical signal sending device and the receiving device of the optical signal in the embodiment of the present invention are connected by a single fiber; in the absence of an input optical fiber, the optical signal sending device determines whether it can send an optical signal by detecting the light intensity of its own optical module; When the optical signal can be sent, configure the interface to establish a physical link state with the opposite end so that the interface can send optical signals normally. This solution uses a single-fiber connection between the optical signal sending device and the optical signal receiving device. Compared with the solution using two optical fibers for input and output, it reduces interface failure points and enhances maintainability. By reducing one fiber, it reduces Cable network configuration complexity and reduce the difficulty of fiber optic cabling.

值得注意的是,上述用户设备和基站实施例中,所包括的各个单元只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本发明的保护范围。It is worth noting that in the above embodiments of user equipment and base station, each unit included is only divided according to functional logic, but is not limited to the above division, as long as the corresponding functions can be realized; in addition, each functional unit The specific names are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present invention.

另外,本领域普通技术人员可以理解实现上述各方法实施例中的全部或部分步骤是可以通过程序来指令相关的硬件完成,相应的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。In addition, those of ordinary skill in the art can understand that all or part of the steps in the above-mentioned method embodiments can be completed by instructing related hardware through programs, and the corresponding programs can be stored in a computer-readable storage medium. The storage medium can be read-only memory, magnetic disk or optical disk and so on.

以上仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明实施例揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above are only preferred specific implementation modes of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the embodiments of the present invention. , should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.

Claims (15)

1.一种光信号的发送方法,其特征在于,包括:1. A method for sending an optical signal, comprising: 光信号发送设备确认是否需要发送光信号;The optical signal sending device confirms whether to send an optical signal; 若需要,则检测所述光信号发送设备的光模块的发光光强;If necessary, detecting the luminous light intensity of the optical module of the optical signal sending device; 若所述光信号发送设备的光模块的发光光强满足发送光信号的要求,则将所述光信号发送设备中的与光信号接收设备连接的接口配置为和对端建立物理链接状态;If the light intensity of the optical module of the optical signal sending device meets the requirements for sending an optical signal, configuring the interface connected to the optical signal receiving device in the optical signal sending device to establish a physical link state with the opposite end; 将所述光信号发送设备的接口配置为和对端建立物理链接状态后,所述光信号发送设备通过与所述光信号接收设备相连的单纤将需要发送的光信号发送给所述光信号接收设备。After the interface of the optical signal sending device is configured to establish a physical link state with the opposite end, the optical signal sending device sends the optical signal to be sent to the optical signal through the single fiber connected to the optical signal receiving device receiving device. 2.根据权利要求1所述方法,其特征在于,2. method according to claim 1, is characterized in that, 所述光信号发送设备为:旁路设备;The optical signal sending device is: a bypass device; 所述光信号接收设备为:报文分析服务器。The optical signal receiving device is: a packet analysis server. 3.根据权利要求1或2所述方法,其特征在于,所述通过与光信号接收设备相连的单纤,将需要发送的光信号发送给所述光信号接收设备包括:3. The method according to claim 1 or 2, wherein the sending the optical signal to be sent to the optical signal receiving device through a single fiber connected to the optical signal receiving device comprises: 向所述光模块输入预定码率的电信号,使光模块的驱动芯片驱动光模块的激光器件产生光信号,通过所述光信号发送设备与所述光信号接收设备相连的单纤将所述激光器件产生的光信号发送给所述光信号接收设备。Input an electrical signal with a predetermined code rate to the optical module, so that the driver chip of the optical module drives the laser device of the optical module to generate an optical signal, and the single fiber connected to the optical signal receiving device through the optical signal sending device connects the The optical signal generated by the laser device is sent to the optical signal receiving device. 4.根据权利要求1或2所述方法,其特征在于,所述将光信号发送设备中的与所述光信号接收设备连接的接口配置为和对端建立物理链接状态包括:4. The method according to claim 1 or 2, wherein configuring the interface connected to the optical signal receiving device in the optical signal sending device to establish a physical link state with the opposite end comprises: 将所述光信号发送设备中的接口的寄存器的状态位设置为和对端建立物理链接状态。Setting the state bit of the register of the interface in the optical signal sending device to establish a physical link state with the opposite end. 5.根据权利要求3所述方法,其特征在于,所述将所述光信号发送设备中的与所述光信号接收设备连接的接口配置为和对端建立物理链接状态包括:5. The method according to claim 3, wherein the configuring the interface connected to the optical signal receiving device in the optical signal sending device to establish a physical link state with the opposite end comprises: 将所述光信号发送设备中的接口的寄存器的状态位设置为和对端建立物理链接状态。Setting the state bit of the register of the interface in the optical signal sending device to establish a physical link state with the opposite end. 6.一种光信号发送设备,其特征在于,包括:6. An optical signal sending device, characterized in that it comprises: 需求确认单元,用于确认所述光信号发送设备是否需要发送光信号;A requirement confirmation unit, configured to confirm whether the optical signal sending device needs to send an optical signal; 光强检测单元,用于若需求确认单元确认结果为需要,则检测所述光信号发送设备的光模块的发光光强;A light intensity detection unit, configured to detect the luminous light intensity of the optical module of the optical signal sending device if the confirmation result of the demand confirmation unit is required; 状态配置单元,用于若所述光强检测单元检测结果为满足,则将所述光信号发送设备中的与光信号接收设备连接的接口配置为和对端建立物理链接状态;A state configuration unit, configured to configure the interface connected to the optical signal receiving device in the optical signal sending device to establish a physical link state with the opposite end if the detection result of the light intensity detection unit is satisfied; 光信号发送单元,用于在状态配置单元将所述光信号发送设备的接口配置为和对端建立物理链接状态后,通过光模块将需要发送的光信号发送给所述光信号接收设备。The optical signal sending unit is configured to send the optical signal to be sent to the optical signal receiving device through the optical module after the state configuration unit configures the interface of the optical signal sending device to establish a physical link state with the opposite end. 7.根据权利要求6所述光信号发送设备,其特征在于,所述光信号发送设备为:旁路设备。7. The optical signal sending device according to claim 6, wherein the optical signal sending device is a bypass device. 8.根据权利要求6或7所述光信号发送设备,其特征在于,所述光信号发送单元包括:8. The optical signal sending device according to claim 6 or 7, wherein the optical signal sending unit comprises: 电信号输入单元,用于所述光信号发送设备的接口配置为和对端建立物理链接状态后,向所述光模块输入预定码率的电信号,使所述光模块的驱动芯片驱动光模块的激光器件产生光信号;The electrical signal input unit is used for the interface of the optical signal sending device to be configured to input an electrical signal with a predetermined code rate to the optical module after establishing a physical link state with the opposite end, so that the driver chip of the optical module drives the optical module The laser device generates an optical signal; 光信号发送子单元,用于通过所述光信号发送设备与所述光信号接收设备相连的单纤将所述激光器件产生的光信号发送给所述光信号接收设备。The optical signal sending subunit is configured to send the optical signal generated by the laser device to the optical signal receiving device through a single fiber connecting the optical signal sending device to the optical signal receiving device. 9.根据权利要求6或7所述光信号发送设备,其特征在于,9. The optical signal sending device according to claim 6 or 7, characterized in that, 所述状态配置单元,具体用于若所述光强检测单元检测结果为满足,则将所述光信号发送设备中的接口的寄存器的状态位设置为和对端建立物理链接状态。The state configuration unit is specifically configured to set the state bit of the register of the interface in the optical signal sending device to establish a physical link state with the opposite end if the detection result of the light intensity detection unit is satisfied. 10.根据权利要求8所述光信号发送设备,其特征在于,10. The optical signal sending device according to claim 8, characterized in that, 所述状态配置单元,具体用于若所述光强检测单元检测结果为满足,则将光信号发送设备中的接口的寄存器的状态位设置为和对端建立物理链接状态。The state configuration unit is specifically configured to set the state bit of the register of the interface in the optical signal sending device to establish a physical link state with the opposite end if the detection result of the light intensity detection unit is satisfied. 11.一种光信号的传输系统,其特征在于,包括:11. An optical signal transmission system, characterized in that it comprises: 采用单纤连接的光信号发送设备和光信号接收设备;Optical signal sending equipment and optical signal receiving equipment connected by single fiber; 所述光信号发送设备,用于确认是否需要发送光信号;若需要,则检测所述光信号发送设备的光模块的发光光强;若所述光信号发送设备的光模块的发光光强满足发送光信号的要求,则将所述光信号发送设备中的与所述光信号接收设备连接的接口配置为和对端建立物理链接状态;将所述光信号发送设备的接口配置为和对端建立物理链接状态后,所述光信号发送设备通过与所述光信号接收设备相连的单纤将需要发送的光信号发送给所述光信号接收设备;The optical signal sending device is used to confirm whether it is necessary to send an optical signal; if necessary, detect the luminous light intensity of the optical module of the optical signal sending device; if the luminous light intensity of the optical module of the optical signal sending device satisfies To send optical signals, configure the interface connected to the optical signal receiving device in the optical signal sending device to establish a physical link state with the opposite end; configure the interface of the optical signal sending device to establish a physical link with the opposite end After the physical link state is established, the optical signal sending device sends the optical signal to be sent to the optical signal receiving device through a single fiber connected to the optical signal receiving device; 所述光信号接收设备,用于接收所述光信号发送设备发送的光信号。The optical signal receiving device is configured to receive the optical signal sent by the optical signal sending device. 12.根据权利要求11所述系统,其特征在于,12. The system of claim 11, wherein: 所述光信号发送设备为:旁路设备;The optical signal sending device is: a bypass device; 所述光信号接收设备为:报文分析服务器。The optical signal receiving device is: a packet analysis server. 13.根据权利要求11或12所述系统,其特征在于,13. The system according to claim 11 or 12, characterized in that, 所述通过与所述光信号接收设备相连的单纤,将需要发送的光信号发送给所述光信号接收设备包括:向所述光模块输入预定码率的电信号,使所述光模块的驱动芯片驱动光模块的激光器件产生光信号,通过所述光信号发送设备与所述光信号接收设备相连的单纤将所述激光器件产生的光信号发送给所述光信号接收设备。The sending the optical signal to be sent to the optical signal receiving device through the single fiber connected to the optical signal receiving device includes: inputting an electrical signal with a predetermined code rate to the optical module, so that the optical module The driving chip drives the laser device of the optical module to generate an optical signal, and sends the optical signal generated by the laser device to the optical signal receiving device through a single fiber connected to the optical signal receiving device. 14.根据权利要求11或12所述系统,其特征在于,14. The system according to claim 11 or 12, characterized in that, 所述将所述光信号发送设备中的与所述光信号接收设备连接的接口配置为和对端建立物理链接状态包括:将所述光信号发送设备中的接口的寄存器的状态位设置为和对端建立物理链接状态。The configuring the interface connected to the optical signal receiving device in the optical signal sending device to establish a physical link state with the opposite end includes: setting the status bit of the register of the interface in the optical signal sending device to and The peer establishes a physical link state. 15.根据权利要求13所述系统,其特征在于,15. The system of claim 13, wherein: 所述将所述光信号发送设备中的与所述光信号接收设备连接的接口配置为和对端建立物理链接状态包括:将所述光信号发送设备中的接口的寄存器的状态位设置为和对端建立物理链接状态。The configuring the interface connected to the optical signal receiving device in the optical signal sending device to establish a physical link state with the opposite end includes: setting the status bit of the register of the interface in the optical signal sending device to and The peer establishes a physical link state.
CN201110287931.0A 2011-09-26 2011-09-26 Optical signal transmission method, equipment and transmission systemof optical signal Expired - Fee Related CN102347798B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110287931.0A CN102347798B (en) 2011-09-26 2011-09-26 Optical signal transmission method, equipment and transmission systemof optical signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110287931.0A CN102347798B (en) 2011-09-26 2011-09-26 Optical signal transmission method, equipment and transmission systemof optical signal

Publications (2)

Publication Number Publication Date
CN102347798A CN102347798A (en) 2012-02-08
CN102347798B true CN102347798B (en) 2014-12-24

Family

ID=45546119

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110287931.0A Expired - Fee Related CN102347798B (en) 2011-09-26 2011-09-26 Optical signal transmission method, equipment and transmission systemof optical signal

Country Status (1)

Country Link
CN (1) CN102347798B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105915286B (en) * 2016-04-14 2018-06-05 北京锐安科技有限公司 Data distribution method and current divider
CN106470070B (en) * 2016-09-28 2019-02-19 杭州迪普科技股份有限公司 The method and apparatus for detecting link state
CN111555985B (en) * 2020-04-26 2022-06-28 恒安嘉新(北京)科技股份公司 Flow shunting module and flow shunting system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5937126A (en) * 1996-12-10 1999-08-10 Kokusai Denshin Denwa Kabushiki Kaisha Optically amplifying/repeating transmission system and optical amplifier
CN101356771A (en) * 2005-11-16 2009-01-28 松下电器产业株式会社 Wireless communication device and method for obtaining ad hoc routing information
CN102104401A (en) * 2009-12-22 2011-06-22 上海晨兴希姆通电子科技有限公司 Radio communication module

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5937126A (en) * 1996-12-10 1999-08-10 Kokusai Denshin Denwa Kabushiki Kaisha Optically amplifying/repeating transmission system and optical amplifier
CN101356771A (en) * 2005-11-16 2009-01-28 松下电器产业株式会社 Wireless communication device and method for obtaining ad hoc routing information
CN102104401A (en) * 2009-12-22 2011-06-22 上海晨兴希姆通电子科技有限公司 Radio communication module

Also Published As

Publication number Publication date
CN102347798A (en) 2012-02-08

Similar Documents

Publication Publication Date Title
US8059961B2 (en) Customer premises optical network unit and optical transmission system
US10887116B2 (en) Ethernet power distribution
CN112865880B (en) System and method for one-way data transmission through optical port
EP2981004A1 (en) Interconnection system and apparatus, and data transmission method
WO2014194599A1 (en) Method and apparatus for suppressing pcie noise output in optical fiber communications, and communications node
WO2015158208A1 (en) Networking method, optical module and device
CN116527128B (en) PCIe optical interconnection link establishment method, device, equipment, medium and system
US7796892B2 (en) Optical transceiver module having wireless communications capabilities
CN102347798B (en) Optical signal transmission method, equipment and transmission systemof optical signal
CN100382521C (en) Method for supporting photoelectric multiplexing of multi-gigabit Ethernet ports
US9432309B2 (en) Transmission device control system
CN101873513A (en) Integrated optical transceiver and optical communication system and method
WO2011056261A1 (en) Network switch
US20130215936A1 (en) Two-In-One CFP Form-Factor Pluggable Adapter
JP5144735B2 (en) Subscriber premises optical line termination equipment
JP2010056709A (en) Communication apparatus at subscriber home
CN104753598A (en) Communication method for passive beam splitting RS-485 optical fiber bus
CN104283734A (en) Systems and methods for low cost and low power network troubleshooting
JP2008160197A (en) Subscriber premise optical line terminating apparatus and optical transmission system
US20030187994A1 (en) Methods, systems, and computer program products for communicating using a hybrid physical network
TWI746903B (en) A system for unidirectional data transfer and sender module
US20040081465A1 (en) System and method for supplying power to media converters for optical communication
CN105679007B (en) Transformer substation data transmission method and device
KR100651371B1 (en) IEEE1394 Home Network Service Platform Device
JPH0513072Y2 (en)

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20141224

CF01 Termination of patent right due to non-payment of annual fee