CN102769495B - An optical fiber connection communication method, apparatus and system for network device - Google Patents

An optical fiber connection communication method, apparatus and system for network device Download PDF

Info

Publication number
CN102769495B
CN102769495B CN 201210254377 CN201210254377A CN102769495B CN 102769495 B CN102769495 B CN 102769495B CN 201210254377 CN201210254377 CN 201210254377 CN 201210254377 A CN201210254377 A CN 201210254377A CN 102769495 B CN102769495 B CN 102769495B
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
device
packet
path information
information
according
Prior art date
Application number
CN 201210254377
Other languages
Chinese (zh)
Other versions
CN102769495A (en )
Inventor
张前
郭鹏
王智琢
Original Assignee
瑞斯康达科技发展股份有限公司
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
Grant date

Links

Abstract

本发明公开了一种光纤接入网设备通信方法、装置及系统,涉及通信技术,通过设备的级联实现各个设备与主控盘的连接,主控盘向所辖子域内的目的设备发送报文时,在报文中携带主控盘到目的设备的路径信息,通过主控盘和目的设备之间的中间设备根据该路径信息转发该报文至目的设备,处理报文的设备按照路径信息返回响应报文,进而实现对主控盘子域内的设备进行管理。 The present invention discloses an optical fiber connected to a communication method, apparatus and system for network device, relates to a communication technology, each device connected to the master disc, the master disc is transmitted to the destination device within the jurisdiction packets by concatenating the sub-device when the text, the master disc carrying path information to the destination device in the packet, forwarding the packet based on the path information to the destination apparatus via an intermediate apparatus between the master disk and the destination device, the packet processing device according to the path information It sends a response, so as to realize the equipment master plate domain management.

Description

一种光纤接入网设备通信方法、装置及系统 An optical fiber connection communication method, apparatus and system for network device

技术领域 FIELD

[0001] 本发明涉及通信技术,尤其涉及一种光纤接入网设备通信方法、装置及系统。 [0001] The present invention relates to communication technology, and particularly relates to an optical fiber connected to a communication method, apparatus and system for network device.

背景技术 Background technique

[0002] 随着电信业务功能、接入技术的不断提高,以及光纤覆盖的扩展,光纤接入网中接入设备的数量与日倶增,对于这些接入设备的管理显得愈加重要。 [0002] With the expansion of the telecommunications business functions, and constantly improve the access technology, and fiber coverage, the number of optical fiber access network access devices with the Japanese Ju increase, it is increasingly important for the management of these access devices. 如果接入设备的管理足够细致周到,就可以大大降低设备的故障发生率,保证业务的长时间稳定运行,同时在发生故障时,提供快速定位和解决问题的方法。 If the management of the access device meticulous and thoughtful enough, it can greatly reduce the failure rate of the equipment to ensure stable operation of the business for a long time, but in the event of failure to provide a method to quickly locate and solve the problem.

[0003] 光纤接入网中具有设备数量多、光纤接入设备分布广等特点,网管中心需要管理网络中的所有设备,但又不可能将网络中的所有接入设备都直接连到网管中心。 [0003] In optical access network having a number of devices, widely distributed optical access equipment, etc., the network management center to manage all the devices in the network, but can not access all the devices in the network are connected directly to the network management center . 所以通常通过主控盘来监控和管理其所辖子域中的所有设备,进而监控设备上各种业务运行的状态,对产生的告警进行及时的上报,该主控盘提供较方便的人机接口,允许通过主控盘对设备进行配置和操作。 It is usually monitored by the master disk and manage all the devices under the jurisdiction subdomain, and thus the monitoring device of the status of various business operations, alarms generated timely reporting, of the master disk to provide a more convenient man-machine interface that allows to configure and operate the device through the master disc.

[0004] 现有的主控盘对子域设备的监控管理方式有以下两种: [0004] There are two conventional master disk sub-monitor device management domain:

[0005] 第一种,对于子域中设备较少的,每个子域设备都与主控盘直接相连。 [0005] First, for device sub-fields less, each subdomain device are directly connected to the master disk. 主控盘可以通过轮询各个子域设备来进行监控。 Master disc can be monitored by polling each sub-domain device.

[0006] 但采用这种方式时,子域中设备的数量被主控盘的接口数量所限制,对于设备众多的接入网子域,就需要多个主控盘来进行监控,而这些主控盘都要上接网管中心,需要消耗大量主控盘和网络资源,而设置专门的中转设施,又过于耗材耗力,不便于维护。 [0006] When employing this manner, the number of sub-domain device is limited by the number of interfaces of the master disc, for many access network device sub-field, it is necessary to monitor a plurality of master disks, and these main must control disk access on the network management center, you need to consume large amounts of the master disk and network resources, and set up a dedicated transit facilities, supplies are too labor-intensive, not easy to maintain.

[0007] 第二种,对于子域中都是以太方式通信的设备的网络,主控盘可以通过点对点的方式,直接与子域中的任一设备进行通信。 [0007] Second, for all devices communicate Ethernet network, the master disc subdomain can directly communicate with a device according to any child domain by point to point manner.

[0008] 但是,通常难以保证每个设备都支持以太方式的通信,而实际中,确实有大量的接入网设备,并没有采用以太方式进行通信。 [0008] However, it is often difficult to ensure that each device to support Ethernet communication mode, and in practice, does a large number of access network device does not use the Ethernet communication mode.

发明内容 SUMMARY

[0009] 本发明实施例提供一种光纤接入网设备通信方法、装置及系统,以实现对主控盘所辖子域中各设备进行有效管理。 Example embodiments provide an optical fiber connected to a communication method, apparatus and system for network device [0009] The present invention, in order to achieve for each disk device hosting the jurisdiction subdomain effective management.

[0010] 一种光纤接入网设备通信方法,包括: [0010] An optical fiber communication method in an access network apparatus, comprising:

[0011] 主控盘向所辖子域内的目的设备发送报文,所述报文中携带所述主控盘到所述目的设备的路径信息; [0011] The main object of the disc apparatus to transmit packets subdomain jurisdiction, the message carries the master disk path information to the destination apparatus;

[0012] 接收处理所述报文的设备按照所述路径信息返回的响应报文。 [0012] The packet reception processing apparatus according to the path information returned by the response packet.

[0013] 一种光纤接入网设备通信方法,包括: [0013] An optical fiber communication method in an access network apparatus, comprising:

[0014] 主控盘子区域内的设备在接收到主控盘发送的的报文后,根据所述报文中携带的所述主控盘到所述目的设备的路径信息,处理所述报文或者将所述报文转发至所述路径信息中的下一设备; [0014] The master device within the plate areas after receiving the message sent by the master disk, according to which packet carries the master disk device to the destination route information, the packet processing or forwards the packet to the next device in the path information;

[0015] 主控盘子区域内的设备在处理所述报文后,按照所述路径信息向所述主控盘返回响应报文。 [0015] The master device within the treated areas after plate packet, returns a response message to the master disk according to the path information.

[0016] 一种光纤接入网设备通信装置,包括: [0016] An optical fiber access network equipment communication apparatus, comprising:

[0017] 发送单元,用于向所辖子域内的目的设备发送报文,所述报文中携带所述主控盘到所述目的设备的路径信息; [0017] The sending unit, configured to send the packet to the destination equipment served by the sub-domain, the message carries the master disk path information to the destination apparatus;

[0018] 接收单元,用于接收处理所述报文的设备,按照所述路径信息返回的响应报文。 [0018] a receiving unit, for receiving said packet processing apparatus, the path information returned by the response packet.

[0019] 一种光纤接入网设备通信装置,包括: [0019] An optical fiber access network equipment communication apparatus, comprising:

[0020] 处理转发单元,用于在接收到主控盘发送的的报文后,根据所述报文中携带的所述主控盘到所述目的设备的路径信息,处理所述报文或者将所述报文转发至所述路径信息中的下一设备; [0020] Processing forwarding unit, configured to, after receiving the message sent by the master disk, according to which packet carries the master disk to the device path information of the object, or processing the packet forwarding the packet to the next device in the path information;

[0021] 响应单元,用于在处理所述报文后,按照所述路径信息向所述主控盘返回响应报文。 [0021] In response means for processing after the packet, returns a response message to the master disk according to the path information.

[0022] 一种光纤接入网设备通信系统,包括: [0022] An optical fiber communication system access network apparatus, comprising:

[0023] 主控盘,用于向所辖子域内的目的设备发送报文,所述报文中携带所述主控盘到所述目的设备的路径信息;接收处理所述报文的设备按照所述路径信息返回的响应报文; [0023] The master disc, used for transmitting packets to the destination device under the jurisdiction of the sub-domain, the path information packet carries the master disk to the destination device; receiving said packet processing apparatus according to the path information returned by the response packet;

[0024] 至少一个主控盘子区域内的设备,用于在接收到主控盘发送的的报文后,根据所述报文中携带的所述主控盘到所述目的设备的路径信息,处理所述报文或者将所述报文转发至所述路径信息中的下一设备;在处理所述报文后,按照所述路径信息向所述主控盘返回响应报文。 [0024] at least one device within master plate area, configured to, after receiving the message sent by the master disc, the path information to the destination apparatus based on the packet carries the master disk, the packet processing or forwarding the packet to the next device in the path information; after processing the packet, returns a response message to the master disk according to the path information.

[0025] 本发明实施例提供一种光纤接入网设备通信方法、装置及系统,通过设备的级联实现各个设备与主控盘的连接,主控盘向所辖子域内的目的设备发送报文时,在报文中携带主控盘到目的设备的路径信息,通过主控盘和目的设备之间的中间设备根据该路径信息转发该报文至目的设备,处理报文的设备按照路径信息返回响应报文,进而实现对主控盘子域内的设备进行管理。 [0025] Example embodiments provide an optical fiber connection communication method, apparatus and system for network device according to the present invention, to realize each device connected to the master disc, the master disc send packets to the destination device via a cascade jurisdiction subdomain device when the text, the master disc carrying path information to the destination device in the packet, forwarding the packet based on the path information to the destination apparatus via an intermediate apparatus between the master disk and the destination device, the packet processing device according to the path information It sends a response, so as to realize the equipment master plate domain management.

附图说明 BRIEF DESCRIPTION

[0026] 图1为本发明实施例提供的光纤接入网设备通信方法流程图之一; [0026] FIG optical fiber access network device provided in a communication method according to one embodiment of the present invention, a flow chart;

[0027]图2为本发明实施例提供的光纤接入网设备级联结构示意图; [0027] FIG. 2 provides a schematic view of an optical fiber network device connected to a cascade structure of the present embodiment of the invention;

[0028] 图3为本发明实施例提供的设备配置方法流程图; [0028] Device Configuration FIG. 3 is a flowchart of a method embodiment of the present embodiment of the invention;

[0029]图4为本发明实施例提供的较具体的设备配置方法流程图; [0029] FIG 4 is a flowchart of a more specific method of device configuration according to an embodiment of the present invention;

[0030]图5为本发明实施例提供的设备状态查询方法流程图; [0030] FIG. 5 device status query is a flowchart of a method embodiment of the present invention embodiment;

[0031]图6为本发明实施例提供的较具体的设备状态查询方法流程图; [0031] FIG 6 is a flowchart of a more specific device status query method according to an embodiment of the present invention;

[0032] 图7为本发明实施例提供的上级设备确定下级设备在位状态的方法流程图; [0032] Figure 7 provides a flowchart of a method embodiment the upper apparatus determines the state of the bit of the lower device embodiment of the invention;

[0033]图8为本发明实施例提供的在位状态查询方法流程图; [0033] FIG 8 bit status query method according to an embodiment of the present invention, a flow chart;

[0034] 图9为本发明实施例提供的光纤接入网设备通信方法流程图之二; [0034] FIG 9 according to an embodiment fiber access network device is a flowchart of a communication method of the present invention, two;

[0035] 图10为本发明实施例提供的光纤接入网设备通信装置结构示意图之一; [0035] FIG 10 according to an embodiment fiber apparatus communication apparatus according to the present invention a schematic view of one of the access network;

[0036] 图11为本发明实施例提供的光纤接入网设备通信装置结构示意图之二; [0036] FIG 11 according to an embodiment fiber access network device communication apparatus of the present invention, a schematic view of the two;

[0037]图12为本发明实施例提供的光纤接入网设备通信系统结构示意图。 [0037] FIG 12 a schematic view of an optical fiber communication system provided by the network device connected to the structure of the present embodiment of the invention.

具体实施方式 detailed description

[0038] 本发明实施例提供一种光纤接入网设备通信方法、装置及系统,通过设备的级联实现各个设备与主控盘的连接,主控盘向所辖子域内的目的设备发送报文时,在报文中携带主控盘到目的设备的路径信息,通过主控盘和目的设备之间的中间设备根据该路径信息转发该报文至目的设备,处理报文的设备按照路径信息返回响应报文,进而实现对主控盘子域内的设备进行管理。 [0038] Example embodiments provide an optical fiber connection communication method, apparatus and system for network device according to the present invention, to realize each device connected to the master disc, the master disc send packets to the destination device via a cascade jurisdiction subdomain device when the text, the master disc carrying path information to the destination device in the packet, forwarding the packet based on the path information to the destination apparatus via an intermediate apparatus between the master disk and the destination device, the packet processing device according to the path information It sends a response, so as to realize the equipment master plate domain management.

[0039] 如图1所示,本发明实施例提供的一种光纤接入网设备通信方法,包括: [0039] As shown in FIG. 1, an optical fiber according to an embodiment of the present invention is a communication method for an access network apparatus, comprising:

[0040] 步骤S101、主控盘向所辖子域内的目的设备发送报文,报文中携带主控盘到目的设备的路径信息; [0040] step S101, the destination device sends the master disk jurisdiction subdomain message packet carries the master disk device path information to the destination;

[0041] 步骤S102、接收处理报文的设备按照路径信息返回的响应报文。 [0041] Step S102, the packet reception processing apparatus according to the path information returned by the response packet.

[0042] 在本发明实施例中,各个设备直接连接主控盘或者通过其它设备连接主控盘,当主控盘管理设备时,只需要在报文中携带路径信息,即可由主控盘和目的设备之间的中间设备按照该路径信息,将报文转发至目的设备,进而实现对主控盘子域内的设备进行管理。 [0042] In an embodiment of the present invention, each device is directly connected via a master disk or master disk is connected to other devices, when the master disc management device, only the path information carried in the packet, to the destination device by the master disk and an intermediate device according to the path information between the packets forwarded to the destination device, so as to realize the equipment management domain master plate.

[0043] 主控盘到目的设备的路径信息的内容需要使得各个设备能够识别出自身是否为目的设备,并在确定自身不是目的设备时,能够确定将该报文转发至哪一个设备中,具体的,该路径信息可以为主控盘和目的设备之间的所有中间设备信息及连接顺序信息。 [0043] SUMMARY route information to the destination device so that the master disk requires each device to identify whether the destination device itself, and not the purpose of determining when the device itself, can determine which forwards the packet to a device, particularly , which may route information based intermediate device information of all information and the connection between the control disk and the order of the destination device.

[0044] 例如,如图2所示,子域中,与主控盘直接相连的设备为I级设备,与I级设备直接相连的下级设备为2级设备,与2级设备直接相连的下级设备为3级设备,以此类推。 [0044] For example, the device as shown in FIG child domain, the master disc 2 is directly connected devices Class I, Class I devices with lower device directly connected to 2-stage device, and the lower-level device 2 is directly connected equipment for the class 3 devices, and so on. 主控盘通过设备逐层发现的方式,即主控盘发现I级设备、I级设备发现2级设备、2级设备发现3级设备,以此类推的方式,构建以自己为根节点的设备管理多叉树。 Master disc device layer by layer manner by finding that the master disk devices found Class I, Class 2 Class I device discovery, discovery Class 2 Class 3 devices, and so a way to build their own equipment for the root manage multiple tree.

[0045] 若主控盘通过一级设备l_n、二级设备2_m连接三级设备3_s,那么主控盘在向三级设备3_s发送报文时,携带的路径信息可以为“l_n~2_m~3_s”,一级设备l_n在接收到报文时,若确定自身不能处理该报文,则根据该路径信息转发至下一设备2_m,二级设备2_m若确定自身不能处理该报文,则根据该路径信息转发至下一设备3_s,三级设备3_s根据路径信息即可确定自身为路径终点,为目的设备,接收并处理该报文。 [0045] When the master disk by a device l_n, two devices connected to three devices 2_m 3_s, then the master disk when the device sends packets to the three 3_s, carries the path information may be "l_n ~ 2_m ~ 3_s ", a device l_n upon receiving the message, if the determination itself can not process the message, based on the path information is forwarded to the next apparatus 2_m, two 2_m device determines if the packet can not be processed itself is based on the path information forwarded to the next device 3_S, three 3_S device itself can be determined as the end of the path, for the purpose of the device, receives and processes the message according to the path information.

[0046] 处理报文的设备需要返回响应报文,响应报文中也可以携带相应的路径信息,或者响应报文中不携带路径信息,各个设备在接收到响应报文后,根据所对应的报文的路径信息进行转发,此时,在步骤S102中,接收处理报文的设备按照路径信息返回的响应报文,具体包括: [0046] The message processing apparatus needs to return a response message, the response message may also carry respective path information, or a response packet does not carry routing information, each device receives the response packet, in accordance with the corresponding packet forwarding path information, this time, in step S102, the packet reception processing apparatus according to the path information returned by the response packet comprises:

[0047] 处理报文的设备处理报文后,生成响应报文; [0047] The post-processing apparatus processing the message packet, generating a response message;

[0048] 处理报文的设备将响应报文发送给传输给自身报文的中间设备; [0048] The message processing apparatus of the response packet to the intermediate apparatus to transmit its own packets;

[0049] 各设备接收到响应报文后,确定该响应报文对应的报文,根据报文的路径信息,向路径信息中当前设备的前一设备发送响应报文; [0049] Each device receives the response packet, determines that the response packet corresponding to the packet, based on the path information packet, before sending a response packet to the device path information of the current device;

[0050] 主控盘接收响应报文。 [0050] Master disc received response packet.

[0051] 通常,主控盘对子域内的设备进行管理,其管理内容包括两大类,一种是向设备发送配置命令报文对其进行配置,另一种是获取其状态信息,其中,状态信息可以包括两种,分别为设备自身的状态信息和设备的在位状态信息。 [0051] Generally, the disc apparatus main sub-domain management, which includes managing two categories, one is a configuration command to send packets to configure the device, the other is to get its state information, wherein, status information may include two, respectively, the bit state of the device itself and status information of the device information. 对于配置命令报文,可以采用两头过滤中间透传的方法完成执行;对于获取状态信息的报文,则可以通过子域中的各级设备上的设备管理子功能模块,来监控下级设备的在位和状态变化。 For the configuration command packet, two methods may pass through the intermediate filter employed completion of execution; for acquiring state information message, the management apparatus through the sub-function blocks on the device subdomain levels to monitor the lower-level device changes in position and status. 下面,通过具体的实施例,分别对各项管理内容进行详细说明: Here, by way of specific embodiments, each of the management contents described in detail:

[0052] 实施例一、 [0052] Example I.

[0053] 主控盘向设备发送配置命令报文对其进行配置。 [0053] The master disc configuration command packets to the transmitting device to configure.

[0054] 此时,步骤SlOl中,主控盘向所辖子域内的目的设备发送报文,具体为: [0054] In this case, step SlOl, the master disk to the destination device jurisdiction subdomain transmission packets, in particular:

[0055] 主控盘向所辖子域内的目的设备发送配置命令报文; [0055] Master disc configuration command sending packets to the destination device jurisdiction subdomains;

[0056] 步骤S102中,接收处理报文的设备按照路径信息返回的响应报文,具体包括: [0056] In step S102, the packet reception processing apparatus according to the path information returned by the response packet comprises:

[0057] 接收目的设备接收到配置命令报文并执行配置命令后,按照路径信息返回的携带配置命令执行结果的响应报文。 After [0057] receiving destination device receives the configuration command packets and execute configuration commands, the configuration according to the path information carried in the command execution result returned response packet.

[0058] 具体的,主控盘向所辖子域内的目的设备发送配置命令报文,具体包括: [0058] Specifically, the master disc configuration command packet to the transmission destination equipment served by the sub-domain comprises:

[0059] 主控盘确定主控盘到目的设备的路径信息,并将路径信息设置在配置命令报文中; [0059] Master disc master determines the path to the destination information of the disc apparatus, and path information set in the configuration command packet;

[0060] 主控盘将配置命令报文发送至路径信息中与主控盘直接连接的中间设备; [0060] The master disc configuration command packets to the path the intermediate apparatus with the master disk information is directly connected;

[0061] 各设备接收到配置命令报文后,若确定自身为路径信息中的最后一个设备,则确定自身为目的设备,接收并处理配置命令报文,否则,按照路径信息将配置命令报文转发至路径信息中的下一设备。 [0061] Each device receives the configuration command packet, if it is determined itself as the last device path information, determining itself as the destination device to receive and process configuration command packets, or according to route information to the configuration command packets forwarding path information to a next device.

[0062] 配置命令包括设备级配置和业务级配置,设备级配置主要包括控制设备某项功能开启和关闭的命令、设置设备重启的命令、设置设备当前时间的命令等;业务级配置则包括设置某项业务功能开启和关闭的命令、设置某项业务具体配置的命令等。 [0062] The configuration commands and configuration including device-level service level configuration, device-level configuration includes a control device commands a function of opening and closing, restart command setting device, command setting device current time and the like; the configuration includes setting service level a business function of opening and closing command, setting commands specific configuration of a business and the like.

[0063] 两头过滤中间透传的方法,是指主控盘对某个目的设备发送配置命令时,主控盘和该目的设备都会对该配置与当前配置进行比较,发现与当前配置不同,并且是合理配置时,才会进行配置下发或配置执行;位于主控盘和该目的设备之间的中间路径上的设备,收到配置命令报文后,判断路径的终点不是自己,就按照路径信息的指示,将报文发往路径的下一站。 [0063] Method two intermediate transparent transmission filter means when a master disc configuration command transmission destination device, the destination device and the master disk are compared with the current configuration to the configuration, different from the current configuration found, and when reasonable configuration, or the configuration will be sent to the next configuration; an intermediate device on the path between the master plate and the destination device, the configuration command after receiving the message, the end of the path is determined not themselves, we follow the path information indicating the packet is sent to the next path.

[0064] 如图3所示,主控盘接收到网管中心对于其所辖子域内的某个设备的配置命令后,进行如下步骤: [0064] FIG. 3, after receiving the master disk as shown in FIG configuration command to a network management center under the jurisdiction subdomains apparatus performs the steps of:

[0065] 步骤S301、主控盘接收对目的设备的配置命令; [0065] step S301, the master disc for the purposes of receiving the device configuration commands;

[0066] 步骤S302、主控盘比较配置命令和目的设备的当前配置是否相同,如果是,执行步骤S316,否则执行步骤S303 ; [0066] Step S302, the master disc configuration commands and compare the current configuration of the destination device is the same, if yes, step S316, the else step S303;

[0067] 步骤S303、主控盘确定配置命令是否合法,如果是,继续执行步骤S304,否则执行步骤S317 ; [0067] step S303, the master disk configuration command to determine whether legal, and if so, proceed to step S304, otherwise step S317;

[0068] 步骤S304、生成配置命令报文,并携带目的设备的路径信息,将该配置命令报文发送给路径信息中与主控盘连接的设备; [0068] step S304, the command is arranged to generate packets, and carries the path information of the destination device, the configuration command packet route information device connected to a master disc;

[0069] 步骤S305、各个设备接收到配置命令报文后,确定自身是否为路径信息中的最后一个设备,如果是,执行步骤S307 ;否则,执行步骤S306 ; [0069] step S305, the respective receiving device configuration command packet, determines whether it is the last device in the route information, if yes, performs step S307; otherwise, to step S306;

[0070] 步骤S306、按照路径信息将配置命令报文转发至路径信息中的下一设备,执行步骤S305 ; [0070] step S306, the route information according to the configuration command packets forwarded to the next device in the path information, performs step S305;

[0071] 步骤S307、确定自身为目的设备,接收配置命令报文; [0071] Step S307, where the destination device itself, receive a configuration command packets;

[0072] 步骤S308、目的设备比较配置命令和自身的当前配置是否相同,如果是,执行步骤S310,否则执行步骤S309 ; [0072] step S308, the destination device configuration commands and compare the current configuration itself is the same, if yes, step S310, the else step S309;

[0073] 步骤S309、目的设备确定配置命令是否合法,如果是,继续执行步骤S312,否则执行步骤S311 ; [0073] step S309, the destination device to determine the configuration command is legitimate, and if so, proceed to step S312, otherwise step S311;

[0074] 步骤S310、目的设备确定配置命令执行结果为成功,继续执行步骤S313 ; [0074] step S310, the destination device to determine the configuration for the successful execution of the command, proceed to step S313;

[0075] 步骤S311、目的设备确定配置命令执行结果为失败,继续执行步骤S313 ; [0075] Step S311, the destination device determines the configuration of the command execution result is failed, proceed to step S313;

[0076] 步骤S312、目的设备执行配置命令,并确定配置命令执行结果,继续执行步骤S313 ; [0076] step S312, the destination device performs configuration commands, the configuration commands and determines an execution result, proceed to step S313;

[0077] 步骤S313、目的设备生成携带配置命令执行结果的响应报文,向传输给自身报文的设备发送该响应报文; [0077] step S313, the destination device that carries the results of command execution in response to the configuration message and sends the response packet to be transmitted to own equipment packets;

[0078] 步骤S314、各设备接收到响应报文后,确定该响应报文对应的报文,根据报文的路径信息,向路径信息中当前设备的前一设备发送响应报文,直至主控盘接收到该响应报文; [0078] step S314, the respective device after receiving the response packet, determines the response packet corresponding to the packet based on the packet route information, a current device before the device transmits a response message to path information until the master disk receiving the response packet;

[0079] 步骤S315、主控盘接收到响应报文后,根据配置命令执行结果修改设备管理多叉树上相应设备的配置,并执行步骤S318 ; After the [0079] step S315, the master disc receiving the response packet, according to the configuration command execution result to modify the device management apparatus of the respective multi-branch tree configuration, and performs step S318;

[0080] 步骤S316、主控盘确定配置命令执行结果为成功,并执行步骤S318 ; [0080] step S316, the master disc to determine the configuration for the successful execution of the command, and performs step S318;

[0081] 步骤S317、主控盘确定配置命令执行结果为失败,并执行步骤S318 ; [0081] Step S317, the master disk is determined as failed configuration command execution result, and performs step S318;

[0082] 步骤S318、主控盘向网管中心返回配置命令执行结果。 [0082] step S318, the master disc configuration command returns an execution result to the network management center.

[0083] 具体的,仍以主控盘通过一级设备l_n、二级设备2_m连接三级设备3_s为例,如图4所示,主控盘在向三级设备3_s发送配置命令报文时,携带的路径信息可以为“l_n~2_m~3_s”,一级设备l_n和二级设备2_m在接收到报文时,确定自身不是目的设备,则根据该路径信息转发该报文,三级设备3_s根据路径信息确定自身为目的设备,接收并处理该报文后,返回响应报文,各设备接收到响应报文后,向上级设备转发该响应报文。 [0083] Specifically, the apparatus is still the master disc by a l_n, two devices connected to three devices 3_s 2_m an example, as shown, the master disc configuration command packet sent to the three devices 4 3_s carrying path information may be "l_n ~ 2_m ~ 3_s", a device and secondary devices 2_m L_n when receiving the packet, determines that it is not the destination device, the packet forwarding, three devices according to the path information after 3_s determines itself as the destination device to receive and process the message according to the path information, sends a response, each of the device after receiving the response packet, forwards the response message to the upstream device.

[0084] 在步骤S306中,各设备可以在按照路径信息将配置命令报文转发至路径信息中的下一设备前,先对路径信息进行处理,删除路径信息中自身以前的信息,从而减小路径信息的复杂度,便于下一设备识别。 [0084] In step S306, the devices may be configured according to the path information to the command packet forwarding path information before the next device in the first path for processing information, route information deleting previous information itself, thereby reducing the complexity of the route information to facilitate identification of the next device. 例如,以主控盘通过一级设备l_n、二级设备2_m连接三级设备3_s为例,二级设备2_!11接收到报文后,即可将路径信息修改为“2_m~3_s”或者“3_s”,再转发至三级设备3_s。 For example, the master disc by a L_n apparatus, two devices connected to three devices 3_S Example 2_m, two devices 2_! 11 receives the packet, to modify the path information is "2_m ~ 3_s" or " 3_s ", and then forwarded to three devices 3_s.

[0085] 实施例二、 [0085] Example II.

[0086] 主控盘向设备发送状态查询报文对其进行状态查询。 [0086] master disk device to send status query messages its status query.

[0087] 步骤SlOl中,主控盘向所辖子域内的目的设备发送报文,具体为: [0087] Step SlOl, the master disk to the destination device jurisdiction subdomain transmission packets, in particular:

[0088] 主控盘向所辖子域内的目的设备发送状态查询报文; [0088] Master disc status request packets to the destination device transmits jurisdiction subdomains;

[0089] 此时,可以由目的设备处理该报文,也可以由维护有该目的设备的状态的目的设备与主控盘之间的中间设备处理该报文,当目的设备的管理通道带宽较小时,通过维护有该目的设备的状态的中间设备处理该报文,可以防止状态查询报文的响应超时,步骤S102中,接收处理报文的设备按照路径信息返回的响应报文,具体包括: Intermediate between the packet processing device [0089] In this case, the object of the packet processing apparatus may be maintained by the state of the destination device and destination device has the master disk, if the destination management channel bandwidth is more hour, by maintaining a state where the destination device is an intermediate device processing the packet, the packet can be prevented status query response timeout, step S102, the packet reception processing apparatus in accordance with the response message returned path information comprises:

[0090] 接收目的设备接收到状态查询报文后,按照路径信息返回的携带自身状态信息的响应报文;或者 [0090] After receiving the destination device receives the status query message, according to the path information returned response packet carries its own state information; or

[0091 ] 接收目的设备与主控盘之间的中间设备接收到状态查询报文后,根据自身维护的目的设备的状态信息,按照路径信息返回的携带目的设备状态信息的响应报文。 [0091] The intermediate device between the receiving device and the object to the master disk receiving state query message according to the state information maintained by the destination device, according to the path information returned by the response from the destination device carrying status information.

[0092] 具体的,主控盘向所辖子域内的目的设备发送状态查询报文,具体包括: [0092] Specifically, the disc master query message to the destination device jurisdiction subdomains transmission state comprises:

[0093] 主控盘确定主控盘到目的设备的路径信息,并将路径信息设置在状态查询报文中; [0093] Master disc information of the disc to determine the path to the destination master device, and the path information provided in the status query message;

[0094] 主控盘将状态查询报文发送至路径信息中与主控盘直接连接的中间设备; [0094] The master disc status inquiry message to the intermediate apparatus and the route information directly connected to the master disc;

[0095] 各设备接收到状态查询报文后,若确定自身中维护有目的设备的状态信息,则接收并处理状态查询报文,否则,按照路径信息将状态查询报文转发至路径信息中的下一设备。 [0095] After each device receives the status query message, if itself maintains the destination device status information is determined, the receiving and processing status inquiry messages, or, according to route information of the status query message is forwarded to the route information the next device.

[0096] 对于子域中设备的管理,采用层级管理方式,是指子域中的每个设备都具有设备管理子功能模块,协助主控盘对其下级设备进行监控。 [0096] For the sub-device management domain, using hierarchical management, it means that each device has a sub-domain device management sub-function module, to assist the master disk monitor their subordinate equipment.

[0097] 子域中的各个设备,在启动完成、业务正常后,开启设备管理子功能,对下级设备与自己进行通信的所有通道进行监控,以及时发现下级设备;对被发现的下级设备按照通道号和设备类型进行排序,依次查询各个设备的状态信息;接收到主控盘查询自己下级设备的状态信息的报文时,不继续转发,查询记录的该下级设备的状态回复,直接返回主控盘,如果接收到的查询报文,是查询一个已经不在位的下级设备,通过响应报文通知主控盘该下级设备已经断开链接。 [0097] each device sub-domain, the completion of the start, after normal operations, turn on the device management functions, to the lower device for communication with all their channels to monitor, and found that the lower device; subordinate apparatus is found in accordance with channel number and the type of sorting apparatus, successively each query the status information of the device; received packet time to the master lower-level device to the disk check their state information, it does not continue to forward the state of the lower device query responses recorded directly return to the main control disk, if the received query message queries the lower device is a bit longer, notifies the main control packet in response to the lower plate through the link device has been turned off.

[0098] 以子域中上一级设备可以对其下一级设备进行状态维护为例,如图5所示,主控盘对子域中的设备进行状态查询的流程如下: [0098] In a device may be a device under a state thereof on the sub-domain maintenance, for example, shown in Figure 5, a master disc process equipment makes the status inquiry sub-domain as follows:

[0099] 主控盘周期性轮询子域内每个设备,获取每个设备的状态信息,当轮询至某设备时,则以该设备作为目的设备向其发送状态查询报文: [0099] Master disc subdomains periodic polling each device, each device acquires the state information, when the polling to a device, places the device as a destination device to send status inquiry messages:

[0100] 步骤S501、主控盘生成状态查询报文,携带目的设备的路径信息,将该状态查询报文发送给路径信息中与主控盘连接的设备; [0100] step S501, the master disk generates a status query message carries the path information of the destination device, the status inquiry messages sent to the device connected to the path information of the master disk;

[0101] 步骤S502、各个设备接收到状态查询报文后,确定自身是否维护有目的设备的状态信息,如果是则执行步骤S504 ;否则,执行步骤S503 ; [0101] step S502, each device after receiving the status query message, determines whether the destination device itself maintains status information, if yes, performs step S504; otherwise, to step S503;

[0102] 若上一级设备可以对其下一级设备进行状态维护,则可以直接确定自身是否为目的设备的上一级设备。 [0102] If on one device can maintain its state at a device, it may be determined whether it is on a device directly to the destination device.

[0103] 步骤S503、按照路径信息将状态查询报文转发至路径信息中的下一设备,执行步骤S502 ; [0103] step S503, the route information according to the state inquiry packet forwarding path information to the next device in step S502;

[0104] 步骤S504、接收该状态查询报文,并生成携带目的设备状态信息的响应报文,向传输给自身报文的设备发送该响应报文; [0104] step S504, receives the status inquiry message, and the destination device that carries the status information response message, transmits the response packet to be transmitted to own equipment packets;

[0105] 步骤S505、各设备接收到响应报文后,确定该响应报文对应的报文,根据报文的路径信息,向路径信息中当前设备的前一设备发送响应报文,直至主控盘接收到该响应报文; [0105] step S505, each device after receiving the response packet, determines the response packet corresponding to the packet based on the packet route information, route information to the device before a current device transmits a response packet until the master disk receiving the response packet;

[0106] 步骤S506、主控盘接收到响应报文后,根据目的设备的类型,将响应报文分配给相应的处理模块来解包和处理,如果有告警状态,主动向网管中心上报告警,否则,保存处理结果,等待网管中心查询。 After the [0106] step S506, the master disc receiving the response packet, according to the type of destination, the response packet processing module assigned to the corresponding processing to unpack and, if there is an alarm condition, an alarm is reported to the network management center otherwise, save the results, waiting for network management center inquiry.

[0107] 具体的,仍以主控盘通过一级设备l_n、二级设备2_m连接三级设备3_s为例,如图6所示,二级设备2_m周期性查询三级设备3_s的状态信息,具体查询方式也可以采用发送状态查询报文的方式。 [0107] Specifically, the apparatus is still the master disc by a l_n, two devices connected to three devices 3_s an example, as shown in FIG 2_m 6, two apparatus state information periodically query 2_m 3_s of three devices, specific query query the status packets can also be used. 主控盘在向三级设备3_s发送状态查询报文时,携带的路径信息可以为“ l_n~2_m~3_s”,一级设备l_n确定自身没有维护目的设备的状态信息,则根据该路径信息转发该报文,二级设备2_m确定自身维护有三级设备3_s的状态信息,则不再转发该报文,直接接收并处理该报文,返回携带三级设备3_s状态信息的响应报文,各设备接收到响应报文后,向上级设备转发该响应报文。 When the disc master query message sent to the device 3_S three status information may be carried in the path "l_n ~ 2_m ~ 3_s", a device state information itself is not L_n determine equipment maintenance purposes, it is forwarded according to the path information packet, determines two 2_m device itself maintains three 3_s device status information, the message is not forwarded directly receive and process the packet, returns a response packet carries three 3_s device status information, each after the device receiving the response message, forwards the response message to the upstream device.

[0108] 与实施例一相同,在步骤S503中,各设备可以在按照路径信息将状态查询报文转发至路径信息中的下一设备前,先对路径信息进行处理,删除路径信息中自身以前的信息,从而减小路径信息的复杂度,便于下一设备识别。 [0108] the same manner as in Example 1. In step S503, the devices according to the path information may be status query message prior to forwarding the information to the next device in the path, the first path for processing information, route information deleting itself before information, thereby reducing the complexity of the route information to facilitate identifying the next device. 例如,以主控盘通过一级设备l_n、二级设备2_m连接三级设备3_s为例,二级设备2_m接收到报文后,即可将路径信息修改为“2_m~3_s”或者“3_s”,再转发至三级设备3_s。 For example, the master disc by a L_n apparatus, two devices connected to three devices 3_S 2_m example, two devices 2_m After receiving the message, to modify the route information "2_m ~ 3_s" or "3_s" and then forwarded to three devices 3_s.

[0109] 实施例三、 [0109] Example III.

[0110] 主控盘向设备发送在位查询报文对其下级设备进行在位查询。 [0110] master disk device sends query packets reign reign query its subordinate device.

[0111] 步骤SlOl中,主控盘向所辖子域内的目的设备发送报文,具体为: [0111] Step SlOl, the master disk to the destination device jurisdiction subdomain transmission packets, in particular:

[0112] 主控盘向所辖子域内的目的设备发送在位查询报文; [0112] the master disk to the destination device transmits the bit jurisdiction subdomain query message;

[0113] 步骤S102中,接收处理报文的设备按照路径信息返回的响应报文,具体包括: [0113] In step S102, the packet reception processing apparatus according to the path information returned by the response packet comprises:

[0114] 接收目的设备接收到在位查询报文后,按照路径信息返回的携带其下级设备的在位信息的响应报文。 [0114] After receiving the destination device receiving the bit query message, which carries the path information according to the bit information of the subordinate apparatus a response packet is returned.

[0115] 具体的,主控盘向所辖子域内的目的设备发送在位查询报文,具体包括: [0115] Specifically, the disc master inquiry transmission bit packet to the destination equipment served by the sub-domain comprises:

[0116] 主控盘确定主控盘到目的设备的路径信息,并将路径信息设置在在位查询报文中; [0116] Master disc information of the disc to determine the path to the destination master device, and the path information provided in place of the query message;

[0117] 主控盘将在位查询报文发送至路径信息中与主控盘直接连接的中间设备; [0117] The master disc in place to the intermediate query message sent to the master device path information of the disc directly connected;

[0118] 各设备接收到在位查询报文后,确定自身为路径信息中的最后一个设备,则确定自身为目的设备,则接收并处理在位查询报文,否则,按照路径信息将在位查询报文转发至路径信息中的下一设备。 [0118] Each device receives the bit query message, determines that it is the last route information apparatus itself is determined as the destination device, the receive and process the query message bit, otherwise, according to the path information at the bit query packet forwarding path information to the next device.

[0119] 此时,各个设备需要周期性轮询自身的所有通信通道,确定其下级设备的在位信息。 [0119] In this case, each device requires its own periodic polling of all communication channels, which determines the bit information of the subordinate apparatus.

[0120] 如图7所示,当前设备确定其下级设备的在位信息具体包括: [0120] 7, which device determines the current-position information of the lower-level device comprises:

[0121] 步骤S701、当前设备依次轮询用于下级设备与自身进行通信的所有通道; [0121] step S701, the current device and the lower device for sequentially polling all channels of communication itself;

[0122] 步骤S702、确定当前通道是否发现下级设备,如果是,执行步骤S703,否则执行步骤S701 ; [0122] step S702, determines whether the current channel is found lower-level device, if yes, step S703, the step S701, or;

[0123] 步骤S703、确定该下级设备是否为已经记录的下级设备,如果是,执行步骤S707,否则执行步骤S704 ; [0123] step S703, the apparatus determines whether the subordinate lower device already recorded, if yes, step S707, or else step S704;

[0124] 步骤S704、若初次发现该下级设备,则为该下级设备分配序号,在每次发现该下级设备时增加下级设备的发现次数; [0124] step S704, if the initial discovery of the subordinate device, the subordinate device was assigned serial number, found to increase the number of lower-level device was found at each of the subordinate apparatus;

[0125] 步骤S705、判断该下级设备的发现次数是否以达到设定阈值,如果是,执行步骤S706,否则执行步骤S701 ; [0125] step S705, the determination whether the number of the subordinate device was found to reach the set threshold, if yes, step S706, the step S701, or;

[0126] 步骤S706、记录该下级设备的基本信息; [0126] step S706, the recording of the basic information of the subordinate apparatus;

[0127] 步骤S707、向该下级设备发送状态查询报文; [0127] step S707, the transmission state to the lower-level query packet;

[0128] 步骤S708、判断在设定时间内是否接收到该下级设备的响应报文,如果是,执行步骤709,否则执行步骤S710 ; [0128] step S708, determines whether a response packet to the subordinate apparatus in the set time, if yes, perform step 709, otherwise step S710;

[0129] 步骤S709、更新存储的该下级设备的状态信息; [0129] step S709, the subordinate device stores the update status information;

[0130] 步骤S710、增加该下级设备超时未响应的次数,判断超时未响应的次数是否达到设定阈值,如果是,执行步骤S711,否则执行步骤S701 ; [0130] step S710, the time-out increase the number of the subordinate apparatus is not responding, the number of non-responses is determined whether the timeout reaches a set threshold, and if yes, step S711, step S701, or;

[0131] 步骤S711、删除存储的该下级设备的所有信息。 [0131] step S711, all the lower-level device to delete information stored.

[0132] 主控盘对当前维护的多叉树中所有设备进行轮询,如图8所示,主控盘对子域中的设备进行在位查询的流程如下: [0132] maintenance of the master disc of the current multi-branch tree polls all the devices shown in Figure 8, the disc device main-place child domain query process is as follows:

[0133] 步骤S801、主控盘生成在位查询报文,携带目的设备的路径信息,将该在位查询报文发送给路径信息中与主控盘连接的设备; [0133] step S801, the master disc to generate the bit query message carries the destination device path information, the bit query message sent to the device connected to the path information of the master disk;

[0134] 步骤S802、各个设备接收到在位查询报文后,确定自身是否为目的设备,如果是则执行步骤S804 ;否则,执行步骤S803 ; After the [0134] step S802, the respective device query message is received in place, it is determined whether itself is the destination device, if yes, performs step S804; otherwise, to step S803;

[0135] 步骤S803、按照路径信息将在位查询报文转发至路径信息中的下一设备,执行步骤S802 ; [0135] step S803, the route information according to the bit query message to the next device forwards the path information, performs step S802;

[0136] 步骤S804、接收该在位查询报文,并生成携带下级设备在位信息的响应报文,向传输给自身报文的设备发送该响应报文; [0136] step S804, the bit receiving the query message, and generates a carry bit in response to the lower device message information, transmitting the response packet to transmit the packet to the device itself;

[0137] 步骤S805、各设备接收到响应报文后,确定该响应报文对应的报文,根据报文的路径信息,向路径信息中当前设备的前一设备发送响应报文,直至主控盘接收到该响应报文; [0137] step S805, the respective device after receiving the response packet, determines the response packet corresponding to the packet based on the packet route information, route information to the device before a current device transmits a response packet until the master disk receiving the response packet;

[0138] 步骤S806、主控盘接收到响应报文后,更新所维护的设备管理树。 After the [0138] step S806, the master disk in response to the received packet, updates the device management tree maintained.

[0139] 主控盘收到某设备返回的下级设备信息时,与当前设备管理树进行比较,如果树上原先没有某下级设备,认为在自己管理的子域中发现了新设备;如果发现树上原先有某下级设备,但本次收到的信息中已无该下级设备的信息,则认为自己管理的子域中丢失了一个设备。 When [0139] the master disk device information for a device to receive the lower return, compared with the current device management tree, if the tree was not originally an inferior devices that manage their own subdomain in the discovery of new equipment; If you find a tree there are original equipment on a subordinate, but the information that the lower device information received in this no longer is considered lost his management of subdomains of a single device.

[0140] 本发明实施例还相应提供一种光纤接入网设备通信方法,如图9所示,包括: [0140] Embodiments of the invention further provides a corresponding communication method in an optical fiber access network apparatus, shown in Figure 9, comprising:

[0141] 步骤S901、主控盘子区域内的设备在接收到主控盘发送的的报文后,根据报文中携带的主控盘到目的设备的路径信息,处理报文或者将报文转发至路径信息中的下一设备; [0141] Step S901,, the master device in the area of ​​the plate, after receiving the message sent by the master disk, according to the routing information carried in the packet to the destination master disk device, processing the packets or packet forwarding to the next device in the path information;

[0142] 步骤S902、主控盘子区域内的设备在处理报文后,按照路径信息向主控盘返回响应报文。 [0142] step S902, the master device in the area of ​​the plate after processing the message, returns a response message to the master disc according to the path information.

[0143] 其中,主控盘到目的设备的路径信息,包括: [0143] wherein the master disk to the destination route information, comprising:

[0144] 主控盘和目的设备之间的所有中间设备信息及连接顺序信息。 [0144] All the intermediate devices between the master disk and the destination information and the connection order information.

[0145] 主控盘子区域内的设备在接收到响应报文时,确定响应报文所对应报文中的路径信息,向路径信息中当前设备的前一设备发送响应报文。 [0145] apparatus main dish in the area when receiving the response message, determining in response to the path information packet corresponding to the packet, before sending a response message to the device path information of the current device.

[0146] 对应于实施例一,当报文为配置命令报文时,根据报文中携带的主控盘到目的设备的路径信息,处理报文或者将报文转发至路径信息中的下一设备,具体包括: [0146] correspond to the first embodiment, when the packet is a configuration command packet based on the packet carried in the master disk device path information to the destination, processing the packets or packet forwarding path information to a next the device comprises:

[0147] 若确定自身为路径信息中的最后一个设备,则确定自身为目的设备,接收配置命令报文并执行配置命令,否则,按照路径信息将配置命令报文转发至路径信息中的下一设备; [0147] If the device determines that it is the last route information, it is determined as the destination device itself, and receives the configuration command packets execute configuration commands, otherwise, sends a configuration command in accordance with the path information packet forwarding path information to a next equipment;

[0148] 主控盘子区域内的设备在处理报文后,按照路径信息向主控盘返回响应报文,具体包括: [0148] apparatus main dish in the region after processing the message, returns a response message to the master disc according to the path information comprises:

[0149] 主控盘子区域内的设备在执行配置命令后,按照路径信息返回携带配置命令执行结果的响应报文。 [0149] the device in the master plate region after executing the configuration commands, the configuration according to the path information is returned to carry the command execution result response message.

[0150] 对应于实施例二,当报文为状态查询报文时,根据报文中携带的主控盘到目的设备的路径信息,处理报文或者将报文转发至路径信息中的下一设备,具体包括: [0150] corresponding to the second embodiment, when the packet is a status query message, according to the path information carried in the packet to the destination master disk device, processing the packets or packet forwarding path information to a next the device comprises:

[0151] 若确定自身中维护有目的设备的状态信息,则接收并处理状态查询报文,否则,按照路径信息将状态查询报文转发至路径信息中的下一设备; [0151] If the target device itself maintains status information, the status inquiry receiving and processing packets, otherwise, according to the path information packet forwarding status inquiry to the next device in the path information is determined;

[0152] 主控盘子区域内的设备在处理报文后,按照路径信息向主控盘返回响应报文,具体包括: [0152] apparatus main dish in the region after processing the message, returns a response message to the master disc according to the path information comprises:

[0153]目的设备接收到状态查询报文后,按照路径信息返回携带自身状态信息的响应报文;或者 After [0153] the destination device receives the status query message, according to the path information is returned response packet carries its own state information; or

[0154]目的设备与主控盘之间的中间设备接收到状态查询报文后,根据自身维护的目的设备的状态信息,按照路径信息返回携带目的设备状态信息的响应报文。 [0154] After an intermediate device between the master device and the disc object receiving the status query message, according to the state information maintained by the destination device, it returns a response packet carries a destination device status information in accordance with the path information.

[0155] 对应于实施例三,当报文为在位查询报文时,根据报文中携带的主控盘到目的设备的路径信息,处理报文或者将报文转发至路径信息中的下一设备,具体包括: [0155] corresponding to the third embodiment, when the packet is the bit query message according to the path information carried in the packet to the destination master disk device, processing the packets or packet forwarding path information to a device comprises:

[0156] 若确定自身为路径信息中的最后一个设备,则确定自身为目的设备,则接收并处理在位查询报文,否则,按照路径信息将在位查询报文转发至路径信息中的下一设备 [0156] If the device determines that it is the last route information, determining itself as the destination device, the receive and process the query message bit, otherwise, the bit according to the path information query message is forwarded to the route information a device

[0157] 主控盘子区域内的设备在处理报文后,按照路径信息向主控盘返回响应报文,具体包括: [0157] apparatus main dish in the region after processing the message, returns a response message to the master disc according to the path information comprises:

[0158]目的设备接收到在位查询报文后,按照路径信息返回携带其下级设备的在位信息的响应报文。 [0158] After the destination device receives the bit query message which returns carries the bit information of the subordinate apparatus according to the response packet path information.

[0159]目的设备周期性轮询自身的所有通信通道,确定其下级设备的在位信息。 [0159] Objective device periodically polls all its own communication channel, determine bit information of the subordinate apparatus.

[0160] 本发明实施例还相应提供一种光纤接入网设备通信装置,该装置可以具体为主控盘,如图10所示,该装置包括: [0160] The present invention further provides an optical access network corresponding to a communication apparatus means may be embodied main control disk shown in Figure 10, the apparatus comprising:

[0161] 发送单元1001,用于向所辖子域内的目的设备发送报文,报文中携带主控盘到目的设备的路径信息; [0161] sending unit 1001, configured to send a packet to the destination equipment served by the sub-domain, the path information packet carries the master disk to the destination device;

[0162] 接收单元1002,用于接收处理报文的设备,按照路径信息返回的响应报文。 [0162] The receiving unit 1002, configured to receive a message processing apparatus, the path information returned by the response packet.

[0163] 对应于实施例一,发送单元1001具体用于: [0163] correspond to the first embodiment, the sending unit 1001 is configured to:

[0164] 向所辖子域内的目的设备发送配置命令报文; [0164] configuration command sending packets to the destination device jurisdiction subdomains;

[0165] 接收单元1002具体用于: [0165] The receiving unit 1002 is configured to:

[0166] 接收目的设备接收到配置命令报文并执行配置命令后,按照路径信息返回的携带配置命令执行结果的响应报文。 After [0166] receiving destination device receiving the configuration command packets and execute configuration commands, the configuration according to the path information carried in the command execution result returned response packet.

[0167] 对应于实施例二,发送单元1001具体用于: [0167] corresponding to the second embodiment, the sending unit 1001 is configured to:

[0168] 向所辖子域内的目的设备发送状态查询报文; [0168] transmits status request packets to the destination device jurisdiction subdomains;

[0169] 接收单元1002具体用于: [0169] The receiving unit 1002 is configured to:

[0170] 接收目的设备接收到状态查询报文后,按照路径信息返回的携带自身状态信息的响应报文;或者 [0170] After receiving the destination device receives the status query message, according to the path information returned response packet carries its own state information; or

[0171 ] 接收目的设备与主控盘之间的中间设备接收到状态查询报文后,根据自身维护的目的设备的状态信息,按照路径信息返回的携带目的设备状态信息的响应报文。 [0171] receiving an intermediate device between the master device and the object of the disc receiving state query message according to the state information maintained by the destination device, according to the path information returned by the response from the destination device carrying status information.

[0172] 对应于实施例三,发送单元1001具体用于: [0172] corresponding to the third embodiment, the sending unit 1001 is configured to:

[0173] 向所辖子域内的目的设备发送在位查询报文; [0173] sent to the destination device in place under the jurisdiction of the sub-domain query message;

[0174] 接收单元1002具体用于: [0174] The receiving unit 1002 is configured to:

[0175] 接收目的设备接收到在位查询报文后,按照路径信息返回的携带其下级设备的在位信息的响应报文。 [0175] After receiving the destination device receiving the bit query message, which carries the path information according to the bit information of the subordinate apparatus a response packet is returned.

[0176] 本发明实施例还相应提供一种光纤接入网设备通信装置,该装置可以具体为主控盘子域内的设备,如图11所示,该装置包括: [0176] The present invention further provides an optical access network corresponding to a communication apparatus means may be embodied main control disk device sub-domain, as shown in FIG. 11, the apparatus comprising:

[0177] 处理转发单元1101,用于在接收到主控盘发送的的报文后,根据报文中携带的主控盘到目的设备的路径信息,处理报文或者将报文转发至路径信息中的下一设备; [0177] forwarding processing unit 1101, configured to, after receiving the message sent by the master disk, according to the routing information carried in the packet to the destination master disk device, processing the packets or packet forwarding path information to a next device;

[0178] 响应单元1102,用于在处理报文后,按照路径信息向主控盘返回响应报文。 [0178] response unit 1102, after treatment for the packet, returns a response message to the master disc according to the path information.

[0179] 其中,响应单元1102还用于: [0179] wherein the response unit 1102 is further configured to:

[0180] 在接收到响应报文时,确定响应报文所对应报文中的路径信息,向路径信息中当前设备的前一设备发送响应报文。 [0180] Upon receiving the response message, determining in response to the path information packet corresponding to the packet, before sending a response message to the device path information of the current device.

[0181] 对应于实施例一,当报文为配置命令报文时,处理转发单元1101根据报文中携带的主控盘到目的设备的路径信息,处理报文或者将报文转发至路径信息中的下一设备,具体包括: [0181] correspond to the first embodiment, when the packet is a configuration command packet, the forwarding processing unit 1101 according to the path information carried in the packet to the destination master disk device, processing the packets or packet forwarding path information to a next device, comprises:

[0182] 若确定自身为路径信息中的最后一个设备,则确定自身为目的设备,接收配置命令报文并执行配置命令,否则,按照路径信息将配置命令报文转发至路径信息中的下一设备; [0182] If the device determines that it is the last route information, it is determined as the destination device itself, and receives the configuration command packets execute configuration commands, otherwise, sends a configuration command in accordance with the path information packet forwarding path information to a next equipment;

[0183] 响应单元1102具体用于: [0183] response unit 1102 is configured to:

[0184] 在执行配置命令后,按照路径信息返回携带配置命令执行结果的响应报文。 [0184] After performing the configuration commands, the configuration according to the path information is returned to carry the command execution result response message.

[0185] 对应于实施例二,当报文为状态查询报文时,处理转发单元1101根据报文中携带的主控盘到目的设备的路径信息,处理报文或者将报文转发至路径信息中的下一设备,具体包括: [0185] corresponding to the second embodiment, when the packet is a status query message, forwarding processing unit 1101 according to the path information carried in the packet to the destination master disk device, processing the packets or packet forwarding path information to a next device, comprises:

[0186] 若确定自身中维护有目的设备的状态信息,则接收并处理状态查询报文,否则,按照路径信息将状态查询报文转发至路径信息中的下一设备; [0186] If the target device itself maintains status information, the status inquiry receiving and processing packets, otherwise, according to the path information packet forwarding status inquiry to the next device in the path information is determined;

[0187] 响应单元1102具体用于: [0187] response unit 1102 is configured to:

[0188] 接收到状态查询报文后,按照路径信息返回携带自身状态信息的响应报文;或者 [0188] After receiving the status query message, according to the path information is returned response packet carries its own state information; or

[0189] 接收到状态查询报文后,根据自身维护的目的设备的状态信息,按照路径信息返回携带目的设备状态信息的响应报文。 [0189] After receiving the status query message, according to the state information maintained by the destination device, it returns a response packet carries a destination device status information in accordance with the path information.

[0190] 对应于实施例三,当报文为在位查询报文时,处理转发单元1101根据报文中携带的主控盘到目的设备的路径信息,处理报文或者将报文转发至路径信息中的下一设备,具体包括: [0190] corresponding to the third embodiment, when the packet is the bit query message forwarding processing unit 1101 according to the path information carried in the packet to the destination master disk device, processing the packets or packet forwarding path to a next information apparatus comprises:

[0191] 若确定自身为路径信息中的最后一个设备,则确定自身为目的设备,则接收并处理在位查询报文,否则,按照路径信息将在位查询报文转发至路径信息中的下一设备; [0191] If the device determines that it is the last route information, determining itself as the destination device, the receive and process the query message bit, otherwise, the bit according to the path information query message is forwarded to the route information a device;

[0192] 响应单元1102具体用于: [0192] response unit 1102 is configured to:

[0193] 接收到在位查询报文后,按照路径信息返回携带其下级设备的在位信息的响应报文。 [0193] After receiving the bit query message, which carries in position to return the information of the subordinate apparatus according to the response packet path information.

[0194] 响应单元1102还用于: [0194] responding unit 1102 is further configured to:

[0195] 周期性轮询自身的所有通信通道,确定其下级设备的在位信息。 [0195] periodic polling all its communication channels, which determines the bit information of the subordinate apparatus.

[0196] 本发明实施例还提供一种光纤接入网设备通信系统,如图12所示,包括: [0196] Embodiments of the present invention further provides an optical fiber communication system, an access network apparatus, shown in Figure 12, comprising:

[0197] 主控盘1201,用于向所辖子域内的目的设备发送报文,报文中携带主控盘到目的设备的路径信息;接收处理报文的设备按照路径信息返回的响应报文; [0197] 1201 master disc for the path information to the destination device to the destination device jurisdiction subdomain packet transmission, packet carries the master disk; packet reception processing apparatus according to the path information returned by the response packet ;

[0198] 至少一个主控盘子区域内的设备1202,用于在接收到主控盘发送的的报文后,根据报文中携带的主控盘到目的设备的路径信息,处理报文或者将报文转发至路径信息中的下一设备;在处理报文后,按照路径信息向主控盘返回响应报文。 [0198] at least one master device 1202 within the plate area, configured to, after receiving the message sent by the master disk, according to the routing information carried in the packet to the destination master disk device, processing the packets or packets forwarded to the next device in the path information; after processing the message, returns a response message to the master disc according to the path information.

[0199] 本发明实施例提供一种光纤接入网设备通信方法、装置及系统,通过设备的级联实现各个设备与主控盘的连接,主控盘向所辖子域内的目的设备发送报文时,在报文中携带主控盘到目的设备的路径信息,通过主控盘和目的设备之间的中间设备根据该路径信息转发该报文至目的设备,处理报文的设备按照路径信息返回响应报文,进而实现对主控盘子域内的设备进行管理。 [0199] Example embodiments provide an optical fiber connection communication method, apparatus and system for network device according to the present invention, to realize each device connected to the master disc, the master disc send packets to the destination device via a cascade jurisdiction subdomain device when the text, the master disc carrying path information to the destination device in the packet, forwarding the packet based on the path information to the destination apparatus via an intermediate apparatus between the master disk and the destination device, the packet processing device according to the path information It sends a response, so as to realize the equipment master plate domain management.

[0200] 本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。 [0200] skilled in the art should understand that the embodiments of the present invention may provide a method, system, or computer program product. 因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。 Thus, embodiments of the present invention may be employed entirely hardware embodiment, an entirely software embodiment, or an embodiment in conjunction with the form of software and hardware aspects. 而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。 Further, the present invention may take the form of a computer program product embodied in one or more of which comprises a computer usable storage medium having computer-usable program code (including but not limited to, disk storage, CD-ROM, optical memory, etc.).

[0201] 本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。 [0201] The present invention has been described in accordance with the method of Example of the present invention, apparatus (systems) and computer program products flowchart and / or block diagrams described. 应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。 It should be understood and implemented by computer program instructions and block, and the flowchart / or block diagrams each process and / or flowchart illustrations and / or block diagrams of processes and / or blocks. 可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。 These computer program instructions may be provided to a processor a general purpose computer, special purpose computer, embedded processor or other programmable data processing apparatus to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing apparatus generating in a device for implementing the flow chart or more flows and / or block diagram block or blocks in a specified functions.

[0202] 这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。 [0202] These computer program instructions may also be stored in a can direct a computer or other programmable data processing apparatus to function in a particular manner a computer-readable memory produce an article of manufacture such that the storage instruction means comprises a memory in the computer-readable instructions the instruction means implemented in a flowchart or more flows and / or block diagram block or blocks in a specified function.

[0203] 这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。 [0203] These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps on the computer or other programmable apparatus to produce a computer implemented so that the computer or other programmable apparatus execute instructions to provide processes for implementing a process or flows and / or block diagram block or blocks a function specified step.

[0204] 尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。 [0204] While the present invention has been described with preferred embodiments, but those skilled in the art from the underlying inventive concept can make other modifications and variations to these embodiments. 所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。 Therefore, the appended claims are intended to explain embodiments including the preferred embodiment as fall within the scope of the invention and all changes and modifications.

[0205] 显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。 [0205] Obviously, those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. 这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。 Thus, if these modifications and variations of the present invention fall within the claims of the invention and the scope of equivalents thereof, the present invention intends to include these modifications and variations.

Claims (22)

  1. 1.一种光纤接入网设备通信方法,其特征在于,包括: 主控盘向所辖子域内的目的设备发送报文,所述报文中携带所述主控盘到所述目的设备的路径信息; 接收处理所述报文的设备按照所述路径信息返回的响应报文; 其中,所述主控盘到所述目的设备的路径信息,包括: 所述主控盘和所述目的设备之间的所有中间设备信息及连接顺序信息; 所述接收处理所述报文的设备按照所述路径信息返回的响应报文,具体包括: 处理所述报文的设备处理所述报文后,生成响应报文; 处理所述报文的设备将所述响应报文发送给传输给自身所述报文的中间设备; 各中间设备接收到所述响应报文后,确定该响应报文对应的报文,根据所述报文的路径信息,向路径信息中当前设备的前一设备发送所述响应报文; 所述主控盘接收所述响应报文。 An optical fiber access network equipment communication method comprising: transmitting a master disk to the destination device jurisdiction subdomains packet, the packet carries the destination apparatus to the master disc route information; receiving a response packet processing said message returned by the device according to the path information; wherein, the master disc path information to the destination apparatus, comprising: the master disk and the destination apparatus All intermediate apparatus information and the connection between the order information; the packet reception processing apparatus according to the path information returned by the response packet comprises: the processing of the packet to the packet processing apparatus, generating a response message; the message processing apparatus of the response itself of the intermediate apparatus to transmit packets to the packet to; each intermediate apparatus, after receiving the response packet, it determines that the response packet corresponding to the packets, according to the path information of the packet is transmitted to the current path information of the device before the device a response packet; the master disc receiving the response packet.
  2. 2.如权利要求1所述的方法,其特征在于,所述主控盘向所辖子域内的目的设备发送报文,具体为: 所述主控盘向所辖子域内的目的设备发送配置命令报文; 所述接收处理所述报文的设备按照所述路径信息返回的响应报文,具体包括: 接收所述目的设备接收到所述配置命令报文并执行所述配置命令后,按照所述路径信息返回的携带配置命令执行结果的响应报文。 The master disk to the destination device transmits jurisdiction arranged subdomains: 2. The method as claimed in claim 1, wherein the master disk to send packets to the destination device jurisdiction subdomains, specifically command packet; the packet reception processing apparatus in response to the packet according to the path information returned, comprises: receiving the destination device receives the configuration command packet and performing the configuration command, according to the path information carried in the configuration of the command execution results returned response packet.
  3. 3.如权利要求2所述的方法,其特征在于,所述主控盘向所辖子域内的目的设备发送配置命令报文,具体包括: 主控盘确定所述主控盘到所述目的设备的路径信息,并将所述路径信息设置在所述配置命令报文中; 主控盘将所述配置命令报文发送至路径信息中与所述主控盘直接连接的中间设备;各中间设备接收到所述配置命令报文后,若确定自身为所述路径信息中的最后一个设备,则确定自身为目的设备,接收并处理所述配置命令报文,否则,按照所述路径信息将所述配置命令报文转发至路径信息中的下一设备。 3. The method according to claim 2, wherein the master disc configuration command sending packets to the destination device jurisdiction subdomain comprises: determining a master disk to the master disk the object device path information and the path information provided in the configuration command packet; the master disc configuration command packet to the intermediate device path information of the master disc with direct connection; each intermediate after receiving the device configuration command packet, to determine if the device itself is the last in the path information, it is determined as the destination device itself, configured to receive and process the command packet, otherwise, according to the path information the configuration command packet forwarding path information to a next device.
  4. 4.如权利要求1所述的方法,其特征在于,所述主控盘向所辖子域内的目的设备发送报文,具体为: 所述主控盘向所辖子域内的目的设备发送状态查询报文; 所述接收处理所述报文的设备按照所述路径信息返回的响应报文,具体包括: 接收所述目的设备接收到所述状态查询报文后,按照所述路径信息返回的携带自身状态信息的响应报文;或者接收所述目的设备与所述主控盘之间的中间设备接收到所述状态查询报文后,根据自身维护的目的设备的状态信息,按照所述路径信息返回的携带所述目的设备状态信息的响应报文。 The master disk to the destination device transmits a state jurisdiction subdomain: 4. A method as claimed in claim 1, wherein the master disk to send packets to the destination device jurisdiction subdomains, specifically query message; the message reception process of the apparatus according to the path information returned by the response packet comprises: after receiving the destination device receives the status query message, according to the path information returned by carries its own state in response to the message information; receiving the intermediate apparatus or the destination device between the master disk and receiving the status inquiry messages, according to the state information maintained by the destination device, according to said path the object carrying device status information response packet returned information.
  5. 5.如权利要求4所述的方法,其特征在于,所述主控盘向所辖子域内的目的设备发送状态查询报文,具体包括: 主控盘确定所述主控盘到所述目的设备的路径信息,并将所述路径信息设置在所述状态查询报文中; 主控盘将所述状态查询报文发送至路径信息中与所述主控盘直接连接的中间设备;各中间设备接收到所述状态查询报文后,若确定自身中维护有所述目的设备的状态信息,则接收并处理所述状态查询报文,否则,按照所述路径信息将所述状态查询报文转发至路径信息中的下一设备。 5. The method according to claim 4, wherein the master disk to the destination device transmits a state jurisdiction subdomain query message comprises: determining a master disk to the master disk the object device path information and the path information provided in the status query message; the master disc status inquiry packet to the intermediate device path information of the master disc with direct connection; each intermediate after receiving the device status query message, if it is determined to maintain state information itself has the destination device, the receive and process the status query message, otherwise, the path information according to the status inquiry messages forwarding path information to a next device.
  6. 6.如权利要求1所述的方法,其特征在于,所述主控盘向所辖子域内的目的设备发送报文,具体为: 所述主控盘向所辖子域内的目的设备发送在位查询报文; 所述接收处理所述报文的设备按照所述路径信息返回的响应报文,具体包括: 接收所述目的设备接收到所述在位查询报文后,按照所述路径信息返回的携带其下级设备的在位信息的响应报文。 6. The method according to claim 1, wherein the master disk to send packets to the destination device jurisdiction subdomains, specifically: in the master disk to the destination device transmits jurisdiction subdomains bit query message; the message reception process in response to the message returned by the device according to the path information comprises: after receiving the destination device receiving the query message bit information according to said path return to carry his reign lower-level device information response packet.
  7. 7.如权利要求6所述的方法,其特征在于,所述主控盘向所辖子域内的目的设备发送在位查询报文,具体包括: 主控盘确定所述主控盘到所述目的设备的路径信息,并将所述路径信息设置在所述在位查询报文中; 主控盘将所述在位查询报文发送至路径信息中与所述主控盘直接连接的中间设备;各中间设备接收到所述在位查询报文后,确定自身为所述路径信息中的最后一个设备,则确定自身为目的设备,则接收并处理所述在位查询报文,否则,按照所述路径信息将所述在位查询报文转发至路径信息中的下一设备。 7. The method according to claim 6, wherein the master disc in place query message sent to the destination device jurisdiction subdomain comprises: determining a master disk to the master disk the destination device path information and the path information provided in place of the query message; master disc in place the query message to the intermediate device transmits the route information and the master disk directly connected ; each intermediate device in place after receiving the query message, determines that it is in the path information of the last device, for the purpose of determining its own device, the reception and processing the query message bit, otherwise, in accordance with the path of the bit information query message is forwarded to the next device in the path information.
  8. 8.如权利要求6所述的方法,其特征在于,还包括: 所述目的设备周期性轮询自身的所有通信通道,确定其下级设备的在位信息。 8. The method according to claim 6, characterized in that, further comprising: periodically polling the destination device itself all the communication channels, which determines the bit information of the subordinate apparatus.
  9. 9.一种光纤接入网设备通信方法,其特征在于,包括: 主控盘子区域内的设备在接收到主控盘发送的报文后,根据所述报文中携带的所述主控盘到目的设备的路径信息,处理所述报文或者将所述报文转发至所述路径信息中的下一设备; 主控盘子区域内的设备在处理所述报文后,按照所述路径信息向所述主控盘返回响应报文; 其中,所述主控盘到所述目的设备的路径信息,包括: 所述主控盘和所述目的设备之间的所有中间设备信息及连接顺序信息; 主控盘子区域内的设备在接收到响应报文时,确定所述响应报文所对应报文中的路径信息,向所述路径信息中当前设备的前一设备发送所述响应报文。 An optical access network apparatus communication method comprising: equipment in the main plate areas after receiving the message sent by the master disk, according to the message carrying the master plate path information to the destination device, the packet processing or forwarding the packet to the next device in the path information; device region within the master plate after processing the packet, according to the path information returns a response message to the master plate; wherein said disc master path information to the destination apparatus, comprising: an intermediate device between all of the master disk device and the destination information and the connection order information ; apparatus main dish in the region receiving the response packet, determines the path information packet corresponding to the response packet, the response packet sent to the current path information from a previous apparatus device.
  10. 10.如权利要求9所述的方法,其特征在于,当所述报文为配置命令报文时,所述根据所述报文中携带的所述主控盘到所述目的设备的路径信息,处理所述报文或者将所述报文转发至所述路径信息中的下一设备,具体包括: 若确定自身为所述路径信息中的最后一个设备,则确定自身为目的设备,接收所述配置命令报文并执行所述配置命令,否则,按照所述路径信息将所述配置命令报文转发至路径信息中的下一设备; 所述主控盘子区域内的设备在处理所述报文后,按照所述路径信息向所述主控盘返回响应报文,具体包括: 所述主控盘子区域内的设备在执行所述配置命令后,按照所述路径信息返回携带配置命令执行结果的响应报文。 10. The method of claim path as claimed in claim 9, wherein, when the command packet is a configuration packet, the disc according to the master of the packet carries information to the destination apparatus processing the packet or forward the packet to the next device in the path information comprises: determining if the device itself is the last in the path information, it is determined as the destination device itself, to receive the said configuration command packets and execute the configuration command. otherwise, the path information according to the configuration command packets forwarded to the next device in the path information; device in the master plate in the processing region of the packet hereinafter, returns a response message to the master disk according to the path information comprises: the master device within the plate area upon execution of the configuration command according to the path information returned carries configuration command execution result the response message.
  11. 11.如权利要求9所述的方法,其特征在于,当所述报文为状态查询报文时,所述根据所述报文中携带的所述主控盘到所述目的设备的路径信息,处理所述报文或者将所述报文转发至所述路径信息中的下一设备,具体包括: 若确定自身中维护有所述目的设备的状态信息,则接收并处理所述状态查询报文,否贝1J,按照所述路径信息将所述状态查询报文转发至路径信息中的下一设备; 所述主控盘子区域内的设备在处理所述报文后,按照所述路径信息向所述主控盘返回响应报文,具体包括: 所述目的设备接收到所述状态查询报文后,按照所述路径信息返回携带自身状态信息的响应报文;或者所述目的设备与所述主控盘之间的中间设备接收到所述状态查询报文后,根据自身维护的目的设备的状态信息,按照所述路径信息返回携带所述目的设备状态信息的响应 Path 11. The method according to claim 9, wherein, when the packet is a status query message, the master disc according to the said message to the destination device carries information processing the next message or packet forwarding apparatus according to the path information comprises: if itself has to maintain state information to determine the destination device, the receive and process the status query message text, no shellfish 1J, the path information according to the status query message is forwarded to the next device in the path information; device region within the master plate after processing the packet, according to the path information returns a response message to the master disc, it comprises: after the destination device receives the status query message, according to the path information returned response packet carries its own state information; and the destination apparatus or said after said intermediate apparatus between the master plate receiving the status inquiry messages, according to the state information maintained by the destination device, according to the path information returned in response to the device status object carries information 文。 Wen.
  12. 12.如权利要求9所述的方法,其特征在于,当所述报文为在位查询报文时,所述根据所述报文中携带的所述主控盘到所述目的设备的路径信息,处理所述报文或者将所述报文转发至所述路径信息中的下一设备,具体包括: 若确定自身为所述路径信息中的最后一个设备,则确定自身为目的设备,则接收并处理所述在位查询报文,否则,按照所述路径信息将所述在位查询报文转发至路径信息中的下一设备; 所述主控盘子区域内的设备在处理所述报文后,按照所述路径信息向所述主控盘返回响应报文,具体包括: 所述目的设备接收到所述在位查询报文后,按照所述路径信息返回携带其下级设备的在位信息的响应报文。 12. The method of claim path as claimed in claim 9, wherein, when the packet is a query message in place, the master disc according to the message carried in the to the destination device information, the packet processing or forwarding the packet to the next device in the path information comprises: determining if the device itself is the last in the path information, it is determined as the destination device itself, the receives and processes the query message in place, otherwise, the path information according to the bit query message is forwarded to the next device in the path information; device in the master plate in the processing region of the packet hereinafter, returns a response message to the master disk according to the path information comprises: the destination device after receiving the query message bit, lower-level device to return the bit which carries the path information according to response message information.
  13. 13.如权利要求12所述的方法,其特征在于,还包括: 所述目的设备周期性轮询自身的所有通信通道,确定其下级设备的在位信息。 13. The method according to claim 12, characterized in that, further comprising: the destination apparatus itself periodic polling of all communication channels, which determines the bit information of the subordinate apparatus.
  14. 14.一种光纤接入网设备通信装置,其特征在于,所述光纤接入网设备通信装置为主控盘,包括: 发送单元,用于向所辖子域内的目的设备发送报文,所述报文中携带所述主控盘到所述目的设备的路径信息; 接收单元,用于接收处理所述报文的设备按照所述路径信息返回的响应报文; 其中,所述主控盘到所述目的设备的路径信息,包括: 所述主控盘和所述目的设备之间的所有中间设备信息及连接顺序信息; 所述发送单元具体用于: 向所辖子域内的目的设备发送配置命令报文; 所述接收单元具体用于: 接收所述目的设备接收到所述配置命令报文并执行所述配置命令后,按照所述路径信息返回的携带配置命令执行结果的响应报文。 14. An optical access network equipment communication means, characterized in that said optical fiber access network based communication apparatus control disk apparatus, comprising: a sending unit, configured to send the packet to the destination device jurisdiction subdomains, the said path information packet carries the master disk to the destination device; receiving means for receiving the packet processing device information returned by the response packet in accordance with said path; wherein the master disc path information to the destination apparatus, comprising: an intermediate device information of all the order information and the connection between the master disc and the destination device; and the sending unit is configured to: send to the destination device jurisdiction subdomains configuration command packet; said receiving unit is configured to: in response to receiving said destination device after receiving the configuration command message and executing the configuration commands, according to the path information returned by the command execution results carries configuration packets .
  15. 15.如权利要求14所述的装置,其特征在于,所述发送单元具体用于: 向所辖子域内的目的设备发送状态查询报文; 所述接收单元具体用于: 接收所述目的设备接收到所述状态查询报文后,按照所述路径信息返回的携带自身状态信息的响应报文;或者接收所述目的设备与所述主控盘之间的中间设备接收到所述状态查询报文后,根据自身维护的目的设备的状态信息,按照所述路径信息返回的携带所述目的设备状态信息的响应报文。 15. The apparatus according to claim 14, wherein the sending unit is configured: to the destination device jurisdiction subdomain send a status inquiry message; the receiving unit is configured to: receive said destination apparatus after receiving the status inquiry messages according to the path information returned by the response packet carries its own state information; receiving the intermediate device or between the device and the object of the master plate receiving the status inquiry messages hereinafter, according to the state information maintained by the destination device, according to the path information returned by the object carrying device status response message information.
  16. 16.如权利要求14所述的装置,其特征在于,所述发送单元具体用于: 向所辖子域内的目的设备发送在位查询报文; 所述接收单元具体用于: 接收所述目的设备接收到所述在位查询报文后,按照所述路径信息返回的携带其下级设备的在位信息的响应报文。 16. The apparatus according to claim 14, wherein the transmitting unit is configured to: send a query packet to the destination bit equipment served by the sub-domain; said receiving unit is configured to: receive the object after the device receiving the query message in place, according to the path information returned by the response packet which carries information bit lower-level device.
  17. 17.—种光纤接入网设备通信装置,其特征在于,所述光纤接入网设备通信装置为主控盘子区域内的设备,包括: 处理转发单元,用于在接收到主控盘发送的的报文后,根据所述报文中携带的所述主控盘到目的设备的路径信息,处理所述报文或者将所述报文转发至所述路径信息中的下一设备; 响应单元,用于在处理所述报文后,按照所述路径信息向所述主控盘返回响应报文; 其中,所述主控盘到所述目的设备的路径信息,包括: 所述主控盘和所述目的设备之间的所有中间设备信息及连接顺序信息; 所述响应单元还用于: 在接收到响应报文时,确定所述响应报文所对应报文中的路径信息,向所述路径信息中当前设备的前一设备发送所述响应报文。 17.- kinds of optical access network equipment communication means, characterized in that said optical fiber access network apparatus based communication apparatus control disk device within the sub-region, comprising: a forward processing unit for transmitting to the master disk in the receiving after the packet according to the packet carries the master disk path information to the destination device, the processing of the next packet or the packet forwarding equipment to the path information; response unit , for post-processing the packet according to the path information packet in response to the disc returns to the main control; wherein the master disk to the path information of the destination device, comprising: the master disc All intermediate and the connection order information and the device information between the destination apparatus; the response unit is further configured to: when receiving the response packet, determines the response packet path information packets corresponding to the said route information of the previous device this device transmits the response packet.
  18. 18.如权利要求17所述的装置,其特征在于,当所述报文为配置命令报文时,所述处理转发单元根据所述报文中携带的所述主控盘到所述目的设备的路径信息,处理所述报文或者将所述报文转发至所述路径信息中的下一设备,具体包括: 若确定自身为所述路径信息中的最后一个设备,则确定自身为目的设备,接收所述配置命令报文并执行所述配置命令,否则,按照所述路径信息将所述配置命令报文转发至路径信息中的下一设备; 所述响应单元具体用于: 在执行所述配置命令后,按照所述路径信息返回携带配置命令执行结果的响应报文。 18. The apparatus according to claim 17, wherein, when the command packet is a configuration packet, and the processing according to the packet forwarding unit carries the master disk to the destination apparatus path information, the processing of the next message or packet forwarding apparatus according to the path information comprises: determining if the device itself is the last in the path information, it is determined as the destination device itself receiving the configuration command packet and performing the configuration command. otherwise, the path information according to the configuration command packets forwarded to the next device in the path information; wherein the response unit is configured to: perform configuration command described later, according to the path information carried in the configuration command execution result returned response packet.
  19. 19.如权利要求17所述的装置,其特征在于,当所述报文为状态查询报文时,所述处理转发单元根据所述报文中携带的所述主控盘到所述目的设备的路径信息,处理所述报文或者将所述报文转发至所述路径信息中的下一设备,具体包括: 若确定自身中维护有所述目的设备的状态信息,则接收并处理所述状态查询报文,否贝1J,按照所述路径信息将所述状态查询报文转发至路径信息中的下一设备; 所述响应单元具体用于: 接收到所述状态查询报文后,按照所述路径信息返回携带自身状态信息的响应报文;或者接收到所述状态查询报文后,根据自身维护的目的设备的状态信息,按照所述路径信息返回携带所述目的设备状态信息的响应报文。 19. The apparatus according to claim 17, wherein, when the packet is a status query message, the processing unit to the destination forwarding apparatus according to the packet carried in the master disc path information, the packet processing or forwarding the packet to the next device in the path information comprises: if itself has to maintain state information to determine the destination device, the receiving and processing the status inquiry messages, no shellfish 1J, the path information according to the status query message is forwarded to the next device in the path information; wherein the response unit is configured to: after receiving the status inquiry messages, in accordance with the path information is returned in response to its own state to carry the message information; or receiving the status inquiry messages after, according to the state information maintained by the destination device, according to the path information returned in response to the device status object carries information message.
  20. 20.如权利要求17所述的装置,其特征在于,当所述报文为在位查询报文时,所述处理转发单元根据所述报文中携带的所述主控盘到所述目的设备的路径信息,处理所述报文或者将所述报文转发至所述路径信息中的下一设备,具体包括: 若确定自身为所述路径信息中的最后一个设备,则确定自身为目的设备,则接收并处理所述在位查询报文,否则,按照所述路径信息将所述在位查询报文转发至路径信息中的下一设备; 所述响应单元具体用于: 接收到所述在位查询报文后,按照所述路径信息返回携带其下级设备的在位信息的响应报文。 20. The apparatus according to claim 17, wherein, when the packet is a query message in place, the processing according to the packet forwarding unit carries the master disk to the destination path information device, the packet processing or forwarding the packet to the next device in the path information comprises: determining if the device itself is the last in the path information, it is determined for the purpose of itself device, the receive and process the query message bit, otherwise, the path information according to the bit query message is forwarded to the next device in the path information; wherein the response unit is specifically configured: to receive the bit later query message, according to the path information returned in response message which carries the information bit lower-level device.
  21. 21.如权利要求20所述的装置,其特征在于,所述响应单元还用于: 周期性轮询自身的所有通信通道,确定其下级设备的在位信息。 21. The apparatus according to claim 20, wherein the response unit is further configured to: periodically poll all the communication channel itself, which determines the bit information of the subordinate apparatus.
  22. 22.—种光纤接入网设备通信系统,其特征在于,包括: 主控盘,用于向所辖子域内的目的设备发送报文,所述报文中携带所述主控盘到所述目的设备的路径信息;接收处理所述报文的设备按照所述路径信息返回的响应报文; 至少一个主控盘子区域内的设备,用于在接收到主控盘发送的的报文后,根据所述报文中携带的所述主控盘到所述目的设备的路径信息,处理所述报文或者将所述报文转发至所述路径信息中的下一设备;在处理所述报文后,按照所述路径信息向所述主控盘返回响应报文; 其中,所述主控盘到所述目的设备的路径信息,包括: 所述主控盘和所述目的设备之间的所有中间设备信息及连接顺序信息; 所述接收处理所述报文的设备按照所述路径信息返回的响应报文,具体包括: 处理所述报文的设备处理所述报文后,生成响应报文;处理所 22.- kinds of fiber access network device communication system comprising: a master disc, for transmitting packets to the destination device jurisdiction subdomains, the message carries the master disk to the destination device path information; the packet reception processing apparatus according to the path information returned by the response packet; at least one device within the area of ​​the master plate, for, after receiving the message transmitted master disc, route according to the information carried in the packet to the destination master disk device, the processing of the next packet or the packet forwarding equipment to the path information; the packet processing hereinafter, the information returned in response message to the master disk in accordance with said path; wherein the master disc path information to the destination apparatus, comprising: a disc between the master device and the destination All intermediate connection device information and order information; the response message reception process of the message returned by the device according to the path information comprises: post-processing device processes the packet of the packet, generates a response packet text; treatment 报文的设备将所述响应报文发送给传输给自身所述报文的中间设备;各中间设备接收到所述响应报文后,确定该响应报文对应的报文,根据所述报文的路径信息,向路径信息中当前设备的前一设备发送所述响应报文;接收所述响应报文。 Packets apparatus the response packet to be transmitted to the intermediate device the message itself; each intermediate apparatus after receiving the response packet, determines that the response packet corresponding to the packet according to the packet path information, a current device before the device transmits the response to the path information packet; receiving the response packet.
CN 201210254377 2012-07-20 2012-07-20 An optical fiber connection communication method, apparatus and system for network device CN102769495B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201210254377 CN102769495B (en) 2012-07-20 2012-07-20 An optical fiber connection communication method, apparatus and system for network device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201210254377 CN102769495B (en) 2012-07-20 2012-07-20 An optical fiber connection communication method, apparatus and system for network device

Publications (2)

Publication Number Publication Date
CN102769495A true CN102769495A (en) 2012-11-07
CN102769495B true CN102769495B (en) 2015-12-02

Family

ID=47096760

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201210254377 CN102769495B (en) 2012-07-20 2012-07-20 An optical fiber connection communication method, apparatus and system for network device

Country Status (1)

Country Link
CN (1) CN102769495B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9871884B2 (en) 2014-09-30 2018-01-16 Xiaomi Inc. Method and device for transferring messages
CN104243288B (en) * 2014-09-30 2015-12-02 小米科技有限责任公司 Message transmission method and apparatus, electronic apparatus

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1901468A (en) * 2006-07-19 2007-01-24 华为技术有限公司 Method and network for detecting specific route fault under internet protocol multiple jump condition

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459602B (en) * 2008-11-28 2012-02-29 烽火通信科技股份有限公司 Apparatus and method for transmitting management and control information in packet transmission network

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1901468A (en) * 2006-07-19 2007-01-24 华为技术有限公司 Method and network for detecting specific route fault under internet protocol multiple jump condition

Also Published As

Publication number Publication date Type
CN102769495A (en) 2012-11-07 application

Similar Documents

Publication Publication Date Title
US8582450B1 (en) Status reporting system
US20030105801A1 (en) Method, system and agent for connecting event consumers to event producers in a distributed event management system
US20020124079A1 (en) System for inference of presence of network infrastructure devices
US20030105867A1 (en) Managing a high availability framework by enabling & disabling individual nodes
US20060117101A1 (en) Node discovery and communications in a network
US20120203899A1 (en) Inter-node communication scheme for node status sharing
US20100077067A1 (en) Method and apparatus for redirecting data traffic based on external switch port status
CN104184819A (en) Multi-hierarchy load balancing cloud resource monitoring method
US20130182707A1 (en) Managing a global forwarding table in a distributed switch
JP2006134203A (en) Distributed control system
US20100250715A1 (en) Recording medium that stores internet-protocol (ip) address assignment control program, ip address assignment control apparatus, and ip address assignment control method
CN103618621A (en) Method, device and system for automatic configuration of SDN
CN102685237A (en) Method for requesting session maintaining and dispatching in cluster environment
JP2010027062A (en) Distributed control system
JP2008234617A (en) Facility monitoring system and monitoring device
CN102984501A (en) Network video-recording cluster system
US20130007288A1 (en) System for managing audio/video streams using application layer structures in an avb network
US20140047260A1 (en) Network management system, network management computer and network management method
JP2006148255A (en) Apparatus and method for specifying connected position of illegitimate apparatus
US20120112927A1 (en) Traffic light preemption management system
JP2012073983A (en) System and method for using multipath
CN102143563A (en) Control method, equipment and systems of short message center cluster
CN103117879A (en) Network monitoring system for computer hardware processing parameters
US9130943B1 (en) Managing communications between client applications and application resources of on-premises and cloud computing nodes
US20120303746A1 (en) Dynamically subscribing to management information and method and system for dispensing thereof

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model