WO2020147766A1 - Communication method, apparatus, and system - Google Patents

Communication method, apparatus, and system Download PDF

Info

Publication number
WO2020147766A1
WO2020147766A1 PCT/CN2020/072359 CN2020072359W WO2020147766A1 WO 2020147766 A1 WO2020147766 A1 WO 2020147766A1 CN 2020072359 W CN2020072359 W CN 2020072359W WO 2020147766 A1 WO2020147766 A1 WO 2020147766A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
management
optical signal
onu
data frame
Prior art date
Application number
PCT/CN2020/072359
Other languages
French (fr)
Chinese (zh)
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
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2020147766A1 publication Critical patent/WO2020147766A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0227Operation, administration, maintenance or provisioning [OAMP] of WDM networks, e.g. media access, routing or wavelength allocation
    • H04J14/0238Wavelength allocation for communications one-to-many, e.g. multicasting wavelengths
    • H04J14/0239Wavelength allocation for communications one-to-many, e.g. multicasting wavelengths in WDM-PON sharing multiple downstream wavelengths for groups of optical network units [ONU], e.g. multicasting wavelengths
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0227Operation, administration, maintenance or provisioning [OAMP] of WDM networks, e.g. media access, routing or wavelength allocation
    • H04J14/0254Optical medium access
    • H04J14/0267Optical signaling or routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0227Operation, administration, maintenance or provisioning [OAMP] of WDM networks, e.g. media access, routing or wavelength allocation
    • H04J14/0254Optical medium access
    • H04J14/0272Transmission of OAMP information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • H04L12/4645Details on frame tagging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • H04L49/9042Separate storage for different parts of the packet, e.g. header and payload

Definitions

  • This application relates to the field of communication, and in particular to a communication method, device and system.
  • a metropolitan area network and an optical network unit (ONU) are deployed in different areas, and the area may be a city.
  • the metropolitan area network in each area is connected to the ONU, and the ONU in each area is connected by optical fiber.
  • a computer room can be deployed in the area, and the equipment in the computer room forms a local area network, which is connected to the metropolitan area network deployed in the area where the computer room is located.
  • the equipment in the computer room is connected to the management switch to form a management network of the computer room, and the equipment in the computer room can be managed through the management network.
  • a service channel can be established between the LANs in the two areas.
  • the service channel includes the channel from the LAN in one area to the ONU in the area, and the ONU in the area and the ONU in the other area.
  • the channel between the ONUs and the channel between the ONU in the other area and the local area network in the other area, and the service channel is used to transmit user services between the two local area networks.
  • a controller can be set up in the management network of one area, and the controller establishes a management channel on the basis of the service channel, so that the controller can directly send to the management network of the area
  • the management service and the management service are sent to the management network of another area through the management channel to realize unified management of the management network of the two areas.
  • this application provides a communication method, device and system.
  • the technical solution is as follows:
  • the present application provides a communication method in which a first optical network node ONU receives a management message from a management network through a first port included in the method, and receives management messages from a metropolitan area through a second port included in the first optical network node ONU.
  • a service message is received in the network, and the management message belongs to a management service;
  • a data frame is generated, and the data frame includes the message data in the management message;
  • the data frame is converted into the first light of the first wavelength Signal and converting the service packet into a second optical signal of a second wavelength, where the first wavelength is different from the second wavelength; sending the first optical signal and the second optical signal to a second ONU.
  • first wavelength and the second wavelength are different, different wavelengths correspond to different channels between the two ONUs, and because the first ONU receives management services and user services through two different ports, there is a gap between the first ONU and the second ONU.
  • Divide the first optical signal corresponding to the management service and the second optical signal corresponding to the user service into different channels for transmission, so that the management channel for transmitting management services and the service channel for transmitting user services are established based on the two channels It can be separated so that the abnormality of the service channel will not affect the normal transmission of the management service.
  • the data frame is a first optical transport network OTN data frame
  • the first ONU generates a second OTN data frame
  • the first ONU transmits the management message
  • the message data in is added to the target field of the second OTN data frame to obtain the first OTN data frame.
  • the OTN data frame is a data frame transmitted on the optical supervisory channel between two ONUs.
  • the message data is added to the second OTN data frame to obtain the first OTN data frame, so that the optical supervisory channel can be used to transmit the message Data, and the service message can be transmitted on the optical service channel between the two ONUs, so that the management service and the user service are transmitted on two different channels, and then used for the management channel of the transmission management service and for transmission
  • the service channel of the user service is separated.
  • the first ONU removes a preset type of message header field from a message header of the management message to obtain message data in the management message . This can reduce the amount of data transferred.
  • the first ONU includes at least one cache queue, and each cache queue in the at least one cache queue corresponds to a priority; the first ONU recognizes the management A priority field of the message, extracting the priority of the management message from the priority field, and buffering the message data of the management message in a buffer queue corresponding to the priority of the management message; According to the priority corresponding to each of the cache queues, one cache queue is selected from the at least one cache queue through a preset strategy; message data is obtained from the selected cache queue, and the obtained message is generated Data frame of data. Since the message data in the buffer queue is selected according to the priority of the message, the high priority message data can be sent first.
  • the preset type of packet header field is a check field.
  • the first optical network node ONU receives the optical signal sent by the second ONU; obtains the first optical signal of the first wavelength and the optical signal from the optical signal.
  • the second optical signal of the second wavelength converts the first optical signal into a data frame, and extracts message data from the data frame; encapsulates the message data into a management message belonging to a management service;
  • the included first port sends the management message to the management network; converts the second optical signal into a service message, and sends the service message to the metropolitan area network through the included second port.
  • first wavelength and the second wavelength are different, different wavelengths correspond to different channels between the two ONUs, so that the first optical signal corresponding to the management service and the second optical signal corresponding to the pipe service are divided between the two ONUs.
  • Transmission on the channel so that the management channel established based on the two channels for transmission management services and the service channel for transmission pipeline services can be separated, so that the abnormality of the service channel will not affect the normal transmission of management services.
  • the first ONU generates a message header field of a preset type according to the message data; adds the message header field to the message data to obtain Management messages. In this way, when the management message is transmitted on the optical fiber, there is no need to transmit a preset type of message header field, which can reduce the amount of transmitted data.
  • the data frame is a first optical transport network OTN data frame
  • the first ONU extracts the message data from the target field of the first OTN data frame
  • the OTN data frame is a data frame transmitted on the optical supervisory channel between two ONUs, so the message data is placed in the first OTN data frame, so that the optical supervisory channel can be used to transmit the message data, and the service report
  • the text can be transmitted on the optical service channel between the two ONUs, so that the management service and the pipe service are transmitted on two different channels, and then used for the management channel of the transmission management service and the service channel for the transmission of the pipe service Be separated.
  • the preset type of packet header field is a check field.
  • this application provides a communication device for executing the first aspect or the method in any one of the possible implementation manners of the first aspect.
  • the device includes a unit for executing the first aspect or any one of the possible implementation manners of the first aspect.
  • the present application provides a computer program product, the computer program product includes a computer program stored in a computer-readable storage medium, and the calculation program is loaded by a processor to implement the first aspect, or Any possible implementation of the first aspect.
  • this application provides a non-volatile computer-readable storage medium for storing a computer program, which is loaded by a processor to execute the first aspect or any possible implementation of the first aspect. Way of the instruction.
  • this application provides a chip that includes a programmable logic circuit and/or program instructions, which is used to implement the first aspect or any possible implementation manner of the first aspect when the chip is running method.
  • the present application provides a communication system, the system includes a first optical network node ONU and a second ONU; in the system, the first ONU is configured to receive through the first port included in the system.
  • a management message from a management network in its area and a service message received from a metropolitan area network in its area through a second port included therein, the management message belongs to a management service, and the service message belongs to a user service Generating a data frame, the data frame including the message data in the management message; converting the data frame into the first optical signal of the first wavelength and converting the service message into the first optical signal of the second wavelength
  • Two optical signals, the first wavelength is different from the second wavelength; the first optical signal and the second optical signal are combined into one optical signal, and the first optical seat number is sent to the second ONU ;
  • the second ONU is configured to obtain a first optical signal of a first wavelength and a second optical signal of a second wavelength from the optical signal, convert the first optical signal into a data frame, and obtain the data from the data
  • the message data is extracted from the frame, the message data is encapsulated into a management message, and the management message is sent to the management network in the area where it includes the first port; the second optical signal is converted into
  • the service message is sent to the metropolitan area network in the area where the service message is located through the second port included in the service message.
  • the different wavelengths correspond to different channels between the first ONU and the second ONU, and because the first ONU receives management services and user services through two different ports, the first ONU and the second Between the two ONUs, the first optical signal corresponding to the management service and the second optical signal corresponding to the user service are transmitted on different channels, so that the management channel established based on the two channels for transmitting the management service and the user The service channel of the service can be separated, so that the abnormality of the service channel will not affect the normal transmission of the management service.
  • FIG. 1 is a schematic structural diagram of a network architecture provided by an embodiment of the present application.
  • Figure 2 is a schematic structural diagram of an ONU provided by an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of another network architecture provided by an embodiment of the present application.
  • Figure 4 is a schematic structural diagram of another ONU provided by an embodiment of the present application.
  • Figure 5 is a schematic structural diagram of another ONU provided by an embodiment of the present application.
  • FIG. 6 is a flowchart of a communication method provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of another network architecture provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of another communication method provided by an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of an SC2 board provided by an embodiment of the present application.
  • Metropolitan area networks and ONUs are deployed in different areas, and the area can be a city.
  • the metropolitan area network in each area is connected to the ONU, and the ONUs in each area are connected by optical fibers, so that metropolitan area networks in different areas are interconnected.
  • the metropolitan area network 1a deployed in area 1 is connected to the ONU1b deployed in area 1
  • the metropolitan area network 2a deployed in area 2 is connected to the ONU 2b deployed in area 2
  • ONU1b and ONU2b are connected by optical fiber .
  • a computer room can be deployed in the area, and the equipment in the computer room belongs to a local area network, which is connected to the metropolitan area network deployed in the area where the computer room is located.
  • the equipment in the computer room has a management interface, and the equipment is connected to the management switch 1c through the management interface, and the management switch 1c has Monitoring interface, the management switch 1c can be connected to the ONU 1b in the area where the computer room is located through the monitoring interface, the equipment in the computer room and the management switch 1c belong to a management network 1d, through which the equipment in the computer room can be operated management.
  • the management switch 1c may be an ordinary switch. Since the switch belongs to a switch in the management network, it may also be called a management switch.
  • the management networks in different regions are relatively scattered, it brings a lot of inconvenience to the management of the management networks in different regions.
  • the management networks of different areas can be interconnected, so that a controller can be set up in the management network of one area, and the controller can send management services to the management network of different areas to realize the The regional management network performs unified management, thereby solving the inconvenience problem.
  • a first port for transmitting management services and a second port for transmitting user services are provided in the ONU in each area.
  • the area includes a management network, a metropolitan area network, and an ONU.
  • the second port of the ONU is connected to the metropolitan area network. It is between the monitoring interface of the management switch belonging to the management network and the first port of the ONU.
  • the physical line is used to connect between the two areas, and the physical line does not pass through the metropolitan area network. In this way, for the management switches in any two areas, since the ONUs in the two areas are connected by optical fibers, the management switches in each area are connected to the ONUs.
  • the physical line is used to connect, so that a channel for transmitting management services can be established between the two management switches to interconnect the management networks of the two different areas.
  • the first port may be an Ethernet interface or the like.
  • a computer room is deployed in area 1.
  • Each device in the computer room is connected to the management switch 1c through its management interface.
  • the devices in the computer room and the management switch 1c belong to the management network 1d, which is in the area 1.
  • the deployed ONU1b is provided with a first port for transmitting management services and a second port for transmitting user services.
  • a physical line is used between the monitoring interface of the management switch 1c and the first port of ONU1b, and the physical line does not pass through the area.
  • the metropolitan area network 1a in 1 and the metropolitan area network 1a in area 1 are connected to the second port of the ONU 1b.
  • the computer room is deployed in area 2, each device in the computer room is connected to the management switch 2c through its management interface, each device in the computer room and the management switch 2c belong to the management network 2d, and the ONU 2b deployed in the area 2 is set up for transmission
  • the first port for management services and the second port for transmitting user services are connected by a physical line between the monitoring interface of the management switch 2c and the first port of ONU 2b, and the physical line does not pass through the metropolitan area network 2a in area 2.
  • the metropolitan area network 2a in area 2 is connected to the second port of the ONU 2b, thus connecting the management network 1d and the management network 2d. In this way, a channel for transmitting management services can be established between the management switch 1c and the management switch 2c.
  • the channel includes the channel between the management switch 1c and ONU1b, the channel between ONU1b and ONU2b, and the channel between ONU2b and the management switch 2c.
  • the controller 3 is deployed in the management network 1d, and the controller 3 can send management services to the management network 2d through this channel, so that the controller 3 can perform unified management of the management network 1d and the management network 2d; or, in the management network 2d
  • the controller 3 (not shown in the figure) is deployed, and the controller 3 can send management services to the management network 1d through the channel, so that the controller 3 can perform unified management on the management network 1d and the management network 2d.
  • the ONU includes a monitoring unit 1, an optical fiber interface unit 2, an optical cross unit 3, and a service access unit 4.
  • the monitoring unit 1 is provided with a transmission management service
  • the service access unit 4 includes at least one second port for transmitting user services;
  • the optical fiber interface unit 2 is connected to the monitoring unit 1 and the optical crossover unit 3 respectively, and the optical crossover unit 3 is also connected to each second port in the service access unit 4.
  • the optical fiber interface unit 2 is also connected to other ONUs through optical fibers.
  • the monitoring unit 1 is configured to receive, through the first port, a management message sent by a management network in the area where the ONU is located, and extract message data from the management message , Generating a data frame including the message data, converting the data frame into a first optical signal of the first wavelength, and sending the first optical signal to the optical fiber interface unit 2;
  • the optical cross unit 3 is configured to receive a service message from the metropolitan area network in the area where the ONU is located through the second port included in the service access unit 4, and convert the service message into a second optical signal of the second wavelength, Sending a second optical signal to the optical fiber interface unit 2, where the first wavelength and the second wavelength are different;
  • the optical fiber receiving port unit 2 is used to receive the first optical signal and the second optical signal, and send the first optical signal and the second signal to other ONUs on the optical fiber.
  • Each second port in the service access unit 4 corresponds to a second wavelength, the second wavelength corresponding to each second port is different, and the second wavelength corresponding to each second port is different from the first wavelength.
  • the optical cross unit 3 receives the service packet sent by the metropolitan area network through the second port included in the service access unit 4, it determines the second wavelength corresponding to the second port, and determines the service packet according to the determined second wavelength. Converted into a second optical signal.
  • a user service is a service initiated by a user in a metropolitan area network.
  • the initiated download service is a user service
  • the service message may be a message including video data of the video.
  • the management service is a service used to manage and control devices in the network. There may be multiple management services in the management network, and each management service has its own management message.
  • the management messages belonging to the management service may be control messages used to control the devices in the network.
  • the management messages belonging to the management service may be management messages used to authenticate the devices.
  • the optical fiber interface unit 2 is configured to receive optical signals sent by other ONUs from the optical fiber, and obtain the first optical signal of the first wavelength and the first optical signal from the optical signal.
  • the second optical signal of two wavelengths sends the first optical signal to the monitoring unit 1 and the second optical signal to the optical cross unit 3;
  • the monitoring unit 1 is used to convert the first optical signal into a data frame, extract message data from the data frame, encapsulate the message data into a management message belonging to a management service, and send it to the area where the ONU is located through the first port
  • the internal management network sends the management message.
  • the optical cross unit 3 is configured to convert the second optical signal into a service packet belonging to the user service, determine the second port corresponding to the second wavelength of the second optical signal, and pass the second port in the service access unit 4 Send the service message to the metropolitan area network in the area where the ONU is located.
  • the header of the management message can be a virtual local area network (VLAN) message header or an internet protocol address (IP) message header, and the message header of the management message includes a priority field.
  • the priority field includes the priority of the management message.
  • the first port of the monitoring unit 11 of ONU1b and the monitoring interface of the management switch 1c deployed in area 1 where ONU1b is located Use physical lines to connect each other.
  • Each second port included in the service access unit 41 of ONU1b is connected to the metropolitan area network 1a deployed in area 1 where ONU1b is located.
  • the optical fiber interface unit 21 of ONU1b and the optical fiber interface unit 22 of ONU2b are used between Fiber optic connection.
  • the first port of the monitoring unit 12 of the ONU2b is connected with the monitoring interface of the management switch 2c deployed in the area 2 where the ONU2b is located.
  • Each second port included in the service access unit 42 of the ONU2b is connected to the area 2 where the ONU2b is located.
  • the deployed metropolitan area network 2a is connected.
  • the optical monitoring channel includes the connection between the monitoring unit 11 of ONU1b and the optical fiber interface unit 21, and the optical fiber interface unit 21 of ONU1b and the optical fiber interface of ONU2b.
  • the optical monitoring channel established on the optical fiber between the units 22, the connection between the optical fiber interface unit 22 of the ONU 2b and the monitoring unit 12.
  • the monitoring unit 11 of ONU1b sends data frames to the monitoring unit 12 of ONU2b through the optical monitoring channel, and/or the monitoring unit 12 of ONU2b sends data frames to the monitoring unit 11 of ONU1b through the optical monitoring channel to monitor ONU1b and ONU2b Whether the optical fiber between is normal.
  • a management channel for transmitting management services between the management switch 1c and the management switch 2c can be established based on the optical monitoring channel.
  • the management channel between the management switch 1c and the management switch 2c for transmitting management services may include the channel between the management switch 1c and the monitoring unit 11 of the ONU1b, and the optical monitoring between the monitoring unit 11 of the ONU1b and the monitoring unit 12 of the ONU2b.
  • Channel the channel between the monitoring unit 12 of the ONU 2b and the management switch 2c.
  • the service channel used to transmit user services between the equipment in area 1 and the equipment in area 2 may include the channel between the equipment in area 1 and the optical cross unit 31 of ONU1b, the optical cross unit 31 of ONU1b and the optical cross unit 31 of ONU2b.
  • the optical service channel between the optical crossover unit 31 of ONU1b and the optical crossover unit 32 of ONU2b includes the connection between the optical crossover unit 31 of ONU1b and the optical fiber interface unit 21, the optical fiber interface unit 21 of ONU1b and the optical fiber interface unit 22 of ONU2b.
  • the optical service channel and the optical supervisory channel established on the optical fiber are two different channels. Different optical signal wavelengths are used on the optical fiber to distinguish the two channels.
  • the optical supervisory channel corresponds to the first wavelength
  • the optical service channel corresponds to the second. The wavelength, the first wavelength and the second wavelength are different, thereby realizing the decoupling of the service channel and the management channel.
  • the monitoring unit 11 of the ONU 1b receives the management message sent by the management switch 1c through the first port that belongs to the management service, and extracts the message data from the management message, and generates The data frame of the message data is converted into the first optical signal of the first wavelength, and the first optical signal is sent to the optical fiber interface unit 21 of the ONU1b; the optical cross unit 31 of the ONU1b passes through the service access unit 41 in the ONU1b Receive service packets belonging to user services sent by devices in area 1 from the metropolitan area network 1a in area 1, convert the service packets into a second optical signal of the second wavelength, and send the first optical signal to the optical fiber interface unit 21 of ONU 1b Two optical signals; the optical fiber receiving port unit 21 of ONU1b sends the first optical signal and the second optical signal on the optical fiber.
  • the management message does not pass through the metropolitan area network 1a in the area 1, but is transmitted to the ONU 1b through the physical line between the management switch 1c and the
  • the optical fiber receiving port unit 22 of ONU2b receives the optical signal on the optical fiber, distinguishes the first optical signal of the first wavelength and the second optical signal of the second wavelength from the optical signal, and sends the first optical signal to the monitoring unit 12 of ONU2b , Send the second optical signal to the optical cross unit 32 of ONU2b; the monitoring unit 12 of ONU2b converts the first optical signal into a data frame, extracts the message data from the data frame, and encapsulates the message data into a management message.
  • the first port sends the management message to the management switch 2c; the optical cross unit 32 of the ONU 2c converts the second optical signal into a service message, determines the second port corresponding to the second wavelength of the second optical signal, and passes the service in the ONU 2b
  • the second port included in the access unit 42 sends the service packet to the device in area 2.
  • the management message sent by the ONU 2b to the management switch 2c does not pass through the metropolitan area network 2a of the area 2, and the management message is transmitted to the management switch 2c via the physical line between the monitoring unit 12 of the ONU 2b and the management switch 2c.
  • the monitoring unit 1 in the ONU may include a signal processing unit 111, a data frame generating unit 112, a monitoring signal generating unit 113, a codec unit 114, and an optical Conversion unit 115; the optical fiber interface unit 2 in the ONU includes a multiplexing unit 211 and a demultiplexing unit 212.
  • the signal processing unit 111 is provided with a first port and connected to the data frame generating unit 112.
  • the data frame generating unit 112 is also connected to the monitoring signal generating unit 113 and the codec unit 114 respectively, and the codec unit 114 is also connected to the optical conversion unit 115
  • the optical conversion unit 115 is also connected to the multiplexing unit 211 and the demultiplexing unit 212 in the optical fiber interface unit 2. Both the multiplexing unit 211 and the demultiplexing unit 212 are connected to the optical cross unit 2.
  • the signal processing unit 111 is configured to receive a management message through the first port, and remove a preset type of message header field from the message header of the management message, The message data in the management message is obtained, and the message data is sent to the data frame generating unit 112.
  • the message header field of the preset type may be a check field or the like.
  • the data frame generating unit 112 is configured to generate a data frame including the message data, and send the data frame to the codec unit 114.
  • the encoding and decoding unit 114 is configured to encode the data frame into an electrical signal, and send the electrical signal to the optical conversion unit 115;
  • the optical conversion unit 115 is configured to convert the electrical signal into a first optical signal of the first wavelength, and send the first optical signal to the multiplexing unit 211 of the optical fiber interface unit 2.
  • the monitoring signal generating unit 113 is used to periodically generate monitoring information and send the monitoring information to the data frame generating unit 112.
  • the data frame generating unit 112 is used to first generate a data frame including the monitoring information, and then add to the data frame
  • the message data is sent to the codec unit 114 with the added data frame.
  • the data frame may be a first optical transport network (optical transport network, OTN) data frame.
  • optical transport network optical transport network
  • the data frame generating unit 112 is configured to receive the monitoring information periodically generated by the monitoring signal generating unit 113, generate a second OTN data frame including the monitoring information, and add the message data to the target of the second OTN data frame In the field, the first OTN data frame is obtained.
  • the target field of the second OTN data frame may be the 675th byte to the 3824th byte in the second OTN data frame.
  • the multiplexing unit 211 is configured to receive the first optical signal from the optical conversion unit 115 and/or receive the second optical signal from the optical cross unit 3, and send the first optical signal and/or the second optical signal on the optical fiber.
  • the multiplexing unit 21 may combine the first optical signal and the second optical signal into one optical signal, and send the optical signal on the optical fiber.
  • the demultiplexing unit 212 is configured to receive the optical signal from the optical fiber, and distinguish the first optical signal of the first wavelength and/or the optical signal of the second wavelength from the optical signal.
  • the second optical signal sends the first optical signal to the optical conversion unit 115 when the first optical signal is dropped, and sends the second optical signal to the optical cross unit 2 when the second optical signal is dropped.
  • the optical conversion unit 115 is configured to receive the first optical signal from the demultiplexing unit 212, convert the first optical signal into an electrical signal, and send the electrical signal to the codec unit 114;
  • the encoding and decoding unit 114 is configured to decode the electrical signal to obtain a data frame, and send the data frame to the data frame generating unit 112, and the data frame includes the message data of the management message;
  • the data frame generating unit 112 is configured to extract the message data from the data frame, and send the message data to the signal processing unit 111;
  • the signal processing unit 111 is configured to encapsulate the message data into a management message, and send the management message to the management network through the first port.
  • the ONU may also include at least one cache queue 116, each cache queue 116 is connected to the signal processing unit 111 and the data frame generation unit 112, and each cache queue 116 corresponds to a message priority , The priority corresponding to each cache queue 116 is different;
  • the message header of the management message may be a VLAN message header or an IP message header.
  • the signal processing unit 111 and the data frame generating unit 112 both support identifying the priority field in the VLAN message header and the IP message header.
  • the signal processing unit 111 When the signal processing unit 111 receives the management message, it removes the preset message header field in the management message to obtain message data.
  • the message data also includes other message headers other than the preset message header field.
  • Field, the other message header fields include a priority field, so that the signal processing unit 111 can identify the priority field in the message data, extract the priority from the priority field, and buffer the message data to the priority field.
  • the data frame generation unit 112 can select a cache queue according to the priority of each cache queue 116 through a preset strategy, and read the message data from the selected cache queue, based on the message data Generate a data frame. or,
  • the data frame generating unit 112 When the data frame generating unit 112 extracts the message data from the data frame, it identifies the priority field in the message data, extracts the priority from the priority field, and caches the message data corresponding to the priority.
  • the signal processing unit 111 can select a cache queue according to the priority of each cache queue 116 through a preset strategy, read the message data from the selected cache queue, and encapsulate the message data into a management message. Text.
  • the preset strategy can make the signal processing unit 111 or the data frame generating unit 112 have a higher priority corresponding to the buffer queue, the greater the probability of selecting the buffer queue, so that the signal processing unit 111 or the data frame generating unit 112 Each time a buffer queue is selected, the higher the priority of the buffer queue, the greater the probability of being selected, so that the message data of the high-priority management message is sent first.
  • the ONU further includes a management unit 5, which is used to configure the second wavelength corresponding to each second port in the service access unit 4 in the optical cross unit 3, and in the signal processing A preset strategy is configured in the unit 111 and the data frame generating unit 112.
  • the embodiment of the present application provides a communication method, which can be applied to the architecture shown in FIG. 1.
  • ONUs deployed in any two different areas are called ONU1b and ONU2b, respectively.
  • ONU1b is provided with a first port and at least one second port.
  • ONU1b is connected to the management network 1d in area 1 where ONU1b is located through the first port, and is connected to the metropolitan area network 1a in area 1 through at least one second port.
  • the ONU 2b is connected to the management network 2d in the area 2 where the ONU 2b is located through the first port, and is connected to the metropolitan area network 2a in the area 2 through at least one second port.
  • the controller 3 may be provided in the management network 1d or the management network 2d.
  • a controller 3 can be provided in the management network 1d, and the controller 3 can establish a management channel between the management network 1d and the management network 2d.
  • the controller 3 can directly send management messages to devices in the management network 1d.
  • the management message can be sent to the devices in the management network 2d through the management channel, so as to realize the management of the devices in the management network 2d.
  • other devices in the management network 1d may also send management messages to the management network 2d through the management channel, or devices in the management network 2d may also send management messages to the management network 1d through the management channel.
  • the management channel can be a transmission control protocol (TCP) connection, a user datagram protocol (UDP) connection or a hypertext between the management switch 1c of the management network 1d and the management switch 2c of the management network 2d Transfer protocol (hypertext transfer protocol, Http) connection, etc.
  • the management network 1d includes a management switch 1c and devices connected to the management switch 1c; the management network 2d includes a management switch 2c and devices connected to the management switch 2c.
  • the management channel includes the channel between the management switch 1c and the ONU 1b, the optical monitoring channel between the ONU 1b and the ONU 2b, and the channel between the ONU 2b and the management switch 2c.
  • the controller 3 After the controller 3 has established the management channel, it can send a management message to the management network 2d through the following communication method to realize the management of the management network 2d.
  • the method includes:
  • Step 301 The ONU 1b receives the management message sent by the management network 1d in the area 1 through the first port, and receives the service message from the metropolitan area network 1a in the area 1 through the second port.
  • the management message belongs to a management service, the service message belongs to a user service, and the service message is sent by a device connected to the metropolitan area network 1a of area 1.
  • the controller 3 in the management network 1d or other devices in the management network 1d can send a management message to the management switch 1c, and the management switch 1c forwards the management message to the ONU 1b.
  • the management message forwarded by the management switch 1c to the ONU 1b does not pass through the metropolitan area network 1a in the area 1, and the management message is directly transmitted to the ONU 1b through the physical line between the management switch 1c and the ONU 1b.
  • the monitoring unit 11 in the ONU 1b includes a signal processing unit 11a, the signal processing unit 11a is provided with a first port, and the signal processing unit 11a receives the management message through the first port.
  • the ONU 1b includes a service access unit 41 and an optical crossover unit 31.
  • the service access unit 41 includes at least one second port, and the optical crossover unit 31 receives the service packet through the second port in the service access unit 41.
  • Step 302 The ONU 1b generates a data frame, and the data frame includes the message data in the management message.
  • ONU1b will periodically obtain monitoring information and generate a data frame including the monitoring information.
  • the monitoring information is used to monitor the optical fiber connection between ONU1b and ONU2b.
  • ONU1b can remove the preset message header field from the management message to obtain message data.
  • the message data can be added to the data frame To make the data frame include the message data in the management message.
  • the target field may be a field from the 675th byte to the 3824th byte in the data frame.
  • the data frame may be an OTN data frame.
  • the monitoring unit 11 of the ONU 1b further includes at least one buffer queue 116a, a data frame generating unit 112a, and a monitoring signal generating unit 113a.
  • Each buffer queue 116a corresponds to a message priority.
  • the signal processing unit 111a is provided with a first port.
  • the signal processing unit 111a When the signal processing unit 111a receives the management message, it can remove the preset message header field from the management message to obtain message data, identify the priority field in the message data, and extract it from the priority field Priority, the message data is buffered in the buffer queue corresponding to the priority.
  • the preset packet header field may be a check field.
  • the monitoring signal generating unit 113a may periodically obtain monitoring information, the data frame generating unit 112a may obtain the monitoring information, generate a second OTN data frame including the monitoring information, and select one from the at least one buffer queue 116a according to a preset strategy Cache queue, read the message data from the selected cache queue, add the message data to the field from the 675th byte to the 3824th byte of the second OTN data frame to obtain the first OTN data frame, that is
  • the data frame generated by the ONU1b may be the first OTN data frame.
  • Step 303 The ONU1b converts the data frame into a first optical signal of a first wavelength.
  • the monitoring unit 11 of the ONU1b further includes a codec unit 114a and an optical conversion unit 115a.
  • the ONU1b also includes an optical fiber interface unit 21.
  • the data frame generating unit 112a can send the first OTN data frame to the codec unit 114a after obtaining the first OTN data frame.
  • An OTN data frame; the codec unit 114a converts the first OTN data frame into an electrical signal, and sends the electrical signal to the optical conversion unit 115a;
  • the optical conversion unit 115a converts the optical signal into a first optical signal of the first wavelength,
  • the multiplexing unit 211a included in the optical fiber interface unit 21 transmits the first optical signal.
  • Step 304 The ONU 1b converts the service message into a second optical signal of a second wavelength, where the first wavelength and the second wavelength are different.
  • the optical cross unit 31 included in the ONU 1b receives the service message through the second port in the service access unit 41, it determines the second wavelength corresponding to the second port, and converts the service message into the first wavelength according to the second wavelength.
  • the second optical signal is sent to the multiplexing unit 211a included in the optical fiber interface unit 21.
  • step 304 and the above-mentioned steps 302 and 303 may be performed at the same time, or steps 302 and 303 may be performed first, and then step 304 may be performed, or step 304 may be performed first, and then steps 302 and 303 may be performed.
  • Step 305 ONU1b sends the first optical signal and the second optical signal to ONU2b on the optical fiber.
  • the multiplexing unit 211a included in the optical fiber interface unit 21 receives the first optical signal and the second optical signal, and sends the first optical signal and the second optical signal to the ONU 2b on the optical fiber.
  • the multiplexing unit 211a if the multiplexing unit 211a receives the first optical signal and the second optical signal at the same time, the multiplexing unit 211a combines the first optical signal and the second optical signal into one optical signal, and sends the optical signal to the ONU 2b on the optical fiber. signal. If the multiplexing unit 211a receives the first optical signal and the second optical signal at different times, when the multiplexing unit 211a receives the first optical signal, it sends the first optical signal to the ONU 2b on the optical fiber. When signal, the second optical signal is sent to ONU2b on the optical fiber.
  • ONU2b can receive the optical signal sent by ONU1b on the optical fiber, obtain the first optical signal of the first wavelength and the second optical signal of the second wavelength from the optical signal, and convert the first optical signal into a data frame,
  • the message data is extracted from the data frame, the message data is encapsulated into a management message, and the management message is sent to the management network 2d of area 2 through the included first port; the second optical signal is converted into a service message , Sending the service message to the metropolitan area network 2a of area 2 through the second port included therein.
  • the optical signal may be a first optical signal, a second optical signal sent by the ONU 1b, or a combination of the first optical signal and the second optical signal.
  • the ONU 2b includes a monitoring unit 12, an optical fiber interface unit 22, an optical crossover unit 32, and a service access unit 42
  • the service access unit 42 includes at least one second port
  • the monitoring unit 12 includes an optical conversion unit 115b
  • the signal processing unit 11b is provided with a first port.
  • the demultiplexing unit 212b included in the optical fiber interface unit 22 receives the optical signal sent by the ONU1b from the optical fiber, and if the optical signal is a combination of the first optical signal and the second optical signal, it is distinguished from the optical signal.
  • the first optical signal of the first wavelength and the second optical signal of the second wavelength are sent to the optical conversion unit 115b and the second optical signal is sent to the optical cross unit 32; if the optical signal is the first optical signal of the first wavelength
  • the first optical signal is sent to the optical conversion unit 115b; if the optical signal is a second optical signal of the second wavelength, the second optical signal is sent to the optical cross unit 32.
  • the optical conversion unit 115b can convert the first optical signal into an electrical signal and send the electrical signal to the codec unit 114b; the codec unit 114b converts the electrical signal into a data frame, which can be the first OTN data frame,
  • the data frame generating unit 112b sends the first OTN data frame; the data frame generating unit 112b can extract message data from the first OTN data frame, identify the priority field in the message data, and extract the priority in the priority field,
  • the message data is cached in the cache queue corresponding to the priority;
  • the signal processing unit 111b can select a cache queue according to the priority corresponding to each cache queue through a preset strategy, and obtain the message data from the selected cache queue , Generate a preset type of message header field according to the message data, add the message header field to the message data to obtain a management message, and send the management message to the management network 2d of area 2 through the first port .
  • a cyclic redundancy check (CRC) value of the message data may be calculated, and the CRC value may be used as the check field.
  • CRC cyclic redundancy check
  • the optical cross unit 32 receives the second optical signal, converts the second optical signal into a service packet, determines the second port corresponding to the second wavelength of the second optical signal, and uses the service access unit 42 to include the The second port sends the service message to the metropolitan area network 2a in area 2.
  • ONU2b may also send an optical signal to ONU1b on an optical fiber.
  • the optical signal may be a first optical signal of a first wavelength, a second optical signal of a second wavelength, or a combination of the first optical signal and the second optical signal. All the way light signal.
  • the implementation process of ONU2b sending optical signals is the same as the implementation process of ONU1b sending optical signals, and will not be described in detail here. Referring to Figure 8, ONU1b can also receive optical signals through the following process.
  • Step 401 ONU 1b receives the optical signal sent by ONU 2b on the optical fiber, and obtains the first optical signal of the first wavelength and the second optical signal of the second wavelength from the optical signal.
  • the optical signal may be a first optical signal of a first wavelength, a second optical signal of a second wavelength, or a combination of the first optical signal and the second optical signal.
  • the demultiplexing unit 212a included in the optical fiber interface unit 21 receives the optical signal sent by the ONU 2b from the optical fiber. If the optical signal is a combination of the first optical signal and the second optical signal, the optical signal is Distinguish the first optical signal of the first wavelength and the second optical signal of the second wavelength, and send the first optical signal to the optical conversion unit 115a and the second optical signal to the optical cross unit 31; if the optical signal is the first wavelength If the optical signal is the second optical signal of the second wavelength, then the second optical signal is sent to the optical cross unit 31.
  • Step 402 ONU 1b converts the first optical signal into a data frame, extracts message data from the data frame, encapsulates the message data into a management message belonging to a management service, and sends it to the management network 1d in area 1 through the first port Send the management message.
  • the optical conversion unit 115a may convert the first optical signal into an electrical signal, and send the electrical signal to the codec unit 114a; the codec unit 114a converts the electrical signal into a first OTN data frame, and sends the electrical signal to the data frame generation unit.
  • the 112a sends the first OTN data frame; the data frame generating unit 112a extracts the message data from the first data frame, identifies the priority field in the message data, extracts the priority in the priority field, and then the message data Cache to the cache queue corresponding to the priority; the signal processing unit 11a selects a cache queue through a preset strategy according to the priority corresponding to each cache queue, reads the message data from the selected cache queue, and reads the message data according to the message The data generates a message header field of a preset type, adds the message header field to the message data to obtain a management message, and sends the management message to the management network 1d in area 1 through the first port.
  • Step 403 The ONU 1b converts the second optical signal into a service message, and sends the service message to the metropolitan area network 1a of area 1 through the second port.
  • the optical cross module 31 receives the second optical signal, converts the second optical signal into a service packet, determines the second port corresponding to the second wavelength of the second optical signal, and passes the second port in the service access unit 41 The second port sends the service message to the metropolitan area network 1a in area 1.
  • step 402 and the aforementioned step 403 may be performed at the same time, or step 402 may be performed first, and then step 403 may be performed, or step 403 may be performed first, and then step 402 may be performed.
  • ONU1b includes a first port and a second port, and receives management messages sent by the management network in area 1 through the first port and receives service messages from the metropolitan area network in area 1 through the second port. , Convert the message data in the management message into the first optical signal of the first wavelength, and convert the service message into the second optical signal of the second wavelength, and send the first optical signal and the second optical signal on the optical fiber .
  • ONU2b receives the optical signal from the optical fiber, distinguishes the first optical signal of the first wavelength and the second optical signal of the second wavelength from the optical signal, converts the first optical signal into message data, and encapsulates the message data Convert the second optical signal into a service message, and then send the management message to the management network of area 2 through its first port, and send it to the metropolitan area network of area 2 through its second port. Send business messages.
  • the first wavelength is different from the second wavelength
  • different wavelengths correspond to different channels between ONU1b and ONU2b, so that the first optical signal corresponding to the management service and the second optical signal corresponding to the user service are divided into different channels for transmission on the ONU1b side
  • the management channel established based on the two channels for transmitting management services and the service channel for transmitting user services can be separated, so that the abnormality of the service channel will not affect the normal transmission of management services.
  • FIG. 9 is a schematic diagram of a communication device 500 provided by an embodiment of the application.
  • the device 500 includes:
  • Bi-directional optical supervisory channel board (SC2) single board 501 Bi-directional optical supervisory channel board (SC2) single board 501, fiber interface unit (FIU) single board 502, universal cross connect board (Universal Cross Connect Board, UXCT) single board 503 and
  • the branch service processing board (TTX) board 504 the SC2 board 501 is provided with a first port, and the TTX board 504 is provided with at least one second port.
  • the FIU single board 502 is connected to the SC2 single board 501 and the UXCT single board 503, respectively, and the UXCT single board 503 is also connected to the TTX single board 504.
  • the device 500 is located in an area, the first port in the SC2 board 501 is connected to the management network in the area, and each second port in the TTX board 504 is connected to the metropolitan area network in the area, and the FIU board 502 is connected to ONUs in other areas through optical fibers.
  • the first port may be an Ethernet interface.
  • the device 500 is a device with a hardware structure and can be used to implement the functional units in the ONU described in FIG. 2, FIG. 4, and FIG. 5.
  • the monitoring unit 1 in the ONU shown in Figures 2, 4, and 5 can be implemented using the SC2 single board 501, and the optical fiber interface unit 2 in the ONU shown in Figures 2, 4, and 5
  • the FIU board 502 can be used for implementation.
  • the optical cross unit 3 in the ONU shown in Figure 2, Figure 4 and Figure 5 can be implemented by the UXCT single board 503.
  • the input unit 4 can be implemented using a TTX single board 504.
  • the device 500 may further include a system control and communication (system control and communication board, SCC) single board 505, and the management unit 5 shown in FIG. 5 may be implemented using the SCC single board 505.
  • SCC system control and communication board
  • the SC2 single board 501 may include a port physical layer (PHY) chip 5011, a first processor 5012, a second processor 5013, and forward error correction (FEC).
  • PHY physical layer
  • FEC forward error correction
  • the PHY chip 5011, the first processor 5012, the second processor 5013, the FEC chip 5014, and the memory 5015 may be integrated on a single board (not shown in the figure).
  • the PHY chip 5011 is connected to the memory 5015, the memory 5015 is also connected to the first processor 5012, the first processor 5012 is also connected to the second processor 5013 and the FEC chip 5014 respectively, and the FEC chip 5014 is also connected to the FIU board 502.
  • the signal processing unit 111 in the monitoring unit 1 can be implemented using a PHY chip 5011, and the data frame generating unit 112 can be implemented using the first processor 5012, and the monitoring signal
  • the generating unit 113 may use the second processor 5013, the encoding and decoding unit 114 may be implemented by using an FEC chip 5014, and at least one cache queue 116 may be located in the memory 5015.
  • the light conversion unit 115 is a common hardware component in the field. In order to be concise and clear in the implementation, this embodiment does not need to introduce its structure.
  • the first processor 5012 may be a central processing unit (Central Processing Unit, CPU) or a field programmable gate array (FPGA), etc.
  • the second processor 5013 may be a CPU or the like.
  • the model of the PHY chip 5011 can be RTL8211, and the model of the FEC chip 5014 can be IXF30005.
  • the program can be stored in a computer-readable storage medium.
  • the storage medium mentioned can be a read-only memory, a magnetic disk or an optical disk, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Disclosed in the present application are a communication method, apparatus, and system, relating to the field of communications. The method comprises: a first optical network unit ONU, by means of a first port comprised therein, receives a management packet from a management network and, by means of a second port comprised therein, receives a service packet from a metropolitan area network, the management packet belonging to a management service, and the service packet belonging to a user service; the first ONU generates a data frame, the data frame comprising the packet data in the management packet; the first ONU converts the data frame into a first optical signal of a first wavelength and converts the service packet into a second optical signal of a second wavelength, the first wavelength and the second wavelength being different; and the first ONU sends the first optical signal and the second optical signal to a second ONU. The present application can prevent the normal transmission of a management service from being affected.

Description

一种通信方法、装置及系统Communication method, device and system
本申请要求于2019年1月17日提交中国专利局、申请号为CN 201910045228.5、发明名称为“一种通信方法、装置及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office, the application number is CN 201910045228.5, and the invention title is "a communication method, device and system" on January 17, 2019, the entire content of which is incorporated herein by reference Applying.
技术领域Technical field
本申请涉及通信领域,特别涉及一种通信方法、装置及系统。This application relates to the field of communication, and in particular to a communication method, device and system.
背景技术Background technique
不同区域中部署有城域网和光网络节点(optical network unit,ONU),该区域可以为城市等。每个区域的城域网连接至ONU,每个区域的ONU通过光纤相连。区域中可以部署有机房,该机房内的设备组成一个局域网,该局域网连接该机房所在区域内部署的城域网上。该机房中的设备连接至管理交换机,以形成该机房的管理网络,通过该管理网络可以对机房中的设备进行管理。A metropolitan area network and an optical network unit (ONU) are deployed in different areas, and the area may be a city. The metropolitan area network in each area is connected to the ONU, and the ONU in each area is connected by optical fiber. A computer room can be deployed in the area, and the equipment in the computer room forms a local area network, which is connected to the metropolitan area network deployed in the area where the computer room is located. The equipment in the computer room is connected to the management switch to form a management network of the computer room, and the equipment in the computer room can be managed through the management network.
对于两个区域内的局域网,该两个区域的局域网之间可以建立有业务通道,该业务通道包括其中一个区域的局域网到该区域的ONU之间的通道,该区域的ONU和另一个区域的ONU之间的通道以及该另一区域的ONU和另一区域的局域网之间的通道,该业务通道用于传输该两个局域网之间的用户业务。为了对该两个区域的管理网络进行统一管理,可以在一个区域的管理网络中设置控制器,控制器在该业务通道的基础上建立管理通道,这样控制器可以直接向该区域的管理网络发送管理业务以及通过该管理通道向另一区域的管理网络发送管理业务,以实现对该两个区域的管理网络进行统一管理。For LANs in two areas, a service channel can be established between the LANs in the two areas. The service channel includes the channel from the LAN in one area to the ONU in the area, and the ONU in the area and the ONU in the other area. The channel between the ONUs and the channel between the ONU in the other area and the local area network in the other area, and the service channel is used to transmit user services between the two local area networks. In order to manage the management networks of the two areas in a unified manner, a controller can be set up in the management network of one area, and the controller establishes a management channel on the basis of the service channel, so that the controller can directly send to the management network of the area The management service and the management service are sent to the management network of another area through the management channel to realize unified management of the management network of the two areas.
在实现本申请的过程中,发明人发现现有技术至少存在以下问题:In the process of implementing this application, the inventor found that the prior art has at least the following problems:
由于管理通道是在业务通道的基础上建立的,在业务通道异常时,会影响管理业务的正常传输。Since the management channel is established on the basis of the business channel, when the business channel is abnormal, the normal transmission of the management business will be affected.
发明内容Summary of the invention
为了避免影响管理业务的正常传输,本申请提供了一种通信方法、装置及系统。所述技术方案如下:In order to avoid affecting the normal transmission of management services, this application provides a communication method, device and system. The technical solution is as follows:
第一方面,本申请提供了一种通信方法,在所述方法中第一光网络节点ONU通过其包括的第一端口接收来自管理网络的管理报文以及通过其包括的第二端口从城域网中接收业务报文,所述管理报文属于管理业务;生成数据帧,所述数据帧包括所述管理报文中的报文数据;将所述数据帧转换成第一波长的第一光信号以及将所述业务报文转换成第二波长的第二光信号,所述第一波长与第二波长不同;向第二ONU发送所述第一光信号和所述 第二光信号。由于第一波长和第二波长不同,不同波长对应两个ONU之间的不同信道,又由于第一ONU通过两个不同端口接收管理业务和用户业务,这样在第一ONU和第二ONU之间将管理业务对应的第一光信号和用户业务对应的第二光信号分在不同信道上传输,这样基于该两个信道建立的用于传输管理业务的管理通道和用于传输用户业务的业务通道可以被分离,使得业务通道的异常不会影响管理业务的正常传输。In the first aspect, the present application provides a communication method in which a first optical network node ONU receives a management message from a management network through a first port included in the method, and receives management messages from a metropolitan area through a second port included in the first optical network node ONU. A service message is received in the network, and the management message belongs to a management service; a data frame is generated, and the data frame includes the message data in the management message; the data frame is converted into the first light of the first wavelength Signal and converting the service packet into a second optical signal of a second wavelength, where the first wavelength is different from the second wavelength; sending the first optical signal and the second optical signal to a second ONU. Since the first wavelength and the second wavelength are different, different wavelengths correspond to different channels between the two ONUs, and because the first ONU receives management services and user services through two different ports, there is a gap between the first ONU and the second ONU. Divide the first optical signal corresponding to the management service and the second optical signal corresponding to the user service into different channels for transmission, so that the management channel for transmitting management services and the service channel for transmitting user services are established based on the two channels It can be separated so that the abnormality of the service channel will not affect the normal transmission of the management service.
在第一方面的一种可能的实现方式中,所述数据帧为第一光传送网OTN数据帧,所述第一ONU生成第二OTN数据帧;所述第一ONU将所述管理报文中的报文数据添加到所述第二OTN数据帧的目标字段中,得到第一OTN数据帧。OTN数据帧是在两个ONU之间的光监控信道上传输的数据帧,因此将报文数据添加到第二OTN数据帧得到第一OTN数据帧,这样可以使用光监控信道来传输该报文数据,而业务报文可以在该两个ONU之间的光业务信道上传输,如此将管理业务和用户业务分在两个不同信道上传输,进而使用于传输管理业务的管理通道和用于传输用户业务的业务通道被分离。In a possible implementation of the first aspect, the data frame is a first optical transport network OTN data frame, and the first ONU generates a second OTN data frame; and the first ONU transmits the management message The message data in is added to the target field of the second OTN data frame to obtain the first OTN data frame. The OTN data frame is a data frame transmitted on the optical supervisory channel between two ONUs. Therefore, the message data is added to the second OTN data frame to obtain the first OTN data frame, so that the optical supervisory channel can be used to transmit the message Data, and the service message can be transmitted on the optical service channel between the two ONUs, so that the management service and the user service are transmitted on two different channels, and then used for the management channel of the transmission management service and for transmission The service channel of the user service is separated.
在第一方面的一种可能的实现方式中,所述第一ONU从所述管理报文的报文头中去除预设类型的报文头字段,得到所述管理报文中的报文数据。这样可以减小传输的数据量。In a possible implementation manner of the first aspect, the first ONU removes a preset type of message header field from a message header of the management message to obtain message data in the management message . This can reduce the amount of data transferred.
在第一方面的一种可能的实现方式中,所述第一ONU包括至少一个缓存队列,所述至少一个缓存队列中的每个缓存队列对应一个优先级;所述第一ONU识别所述管理报文的优先级字段,从所述优先级字段中提取所述管理报文的优先级,将所述管理报文的报文数据缓存到所述管理报文的优先级对应的缓存队列中;根据所述每个缓存队列对应的优先级,通过预设策略从所述至少一个缓存队列中选择一个缓存队列;从所述选择的缓存队列中获取报文数据,生成包括所述获取的报文数据的数据帧。由于根据报文的优先级选择缓存队列中的报文数据,这样可以使高优先级的报文数据得到优先发送。In a possible implementation of the first aspect, the first ONU includes at least one cache queue, and each cache queue in the at least one cache queue corresponds to a priority; the first ONU recognizes the management A priority field of the message, extracting the priority of the management message from the priority field, and buffering the message data of the management message in a buffer queue corresponding to the priority of the management message; According to the priority corresponding to each of the cache queues, one cache queue is selected from the at least one cache queue through a preset strategy; message data is obtained from the selected cache queue, and the obtained message is generated Data frame of data. Since the message data in the buffer queue is selected according to the priority of the message, the high priority message data can be sent first.
在第一方面的一种可能的实现方式中,所述预设类型的报文头字段为校验字段。In a possible implementation manner of the first aspect, the preset type of packet header field is a check field.
在第一方面的一种可能的实现方式中,在所述方法中,第一光网络节点ONU接收第二ONU发送的光信号;从所述光信号中获取第一波长的第一光信号和第二波长的第二光信号,将所述第一光信号转换成数据帧,从所述数据帧中提取报文数据;将所述报文数据封装成属于管理业务的管理报文;通过其包括的第一端口向管理网络发送所述管理报文;将所述第二光信号转换成业务报文,通过其包括的第二端口向城域网发送所述业务报文。由于第一波长和第二波长不同,不同波长对应两个ONU之间的不同信道,这样在两个ONU之间将管理业务对应的第一光信号和管道业务对应的第二光信号分在不同信道上传输,这样基于该两个信道建立的用于传输管理业务的管理通道和用于传输管道业务的业务通道可以被分离,使得业务通道的异常不会影响管理业务的正常传输。In a possible implementation of the first aspect, in the method, the first optical network node ONU receives the optical signal sent by the second ONU; obtains the first optical signal of the first wavelength and the optical signal from the optical signal. The second optical signal of the second wavelength converts the first optical signal into a data frame, and extracts message data from the data frame; encapsulates the message data into a management message belonging to a management service; The included first port sends the management message to the management network; converts the second optical signal into a service message, and sends the service message to the metropolitan area network through the included second port. Since the first wavelength and the second wavelength are different, different wavelengths correspond to different channels between the two ONUs, so that the first optical signal corresponding to the management service and the second optical signal corresponding to the pipe service are divided between the two ONUs. Transmission on the channel, so that the management channel established based on the two channels for transmission management services and the service channel for transmission pipeline services can be separated, so that the abnormality of the service channel will not affect the normal transmission of management services.
在第一方面的一种可能的实现方式中,所述第一ONU根据所述报文数据生成预设类型的报文头字段;在所述报文数据中添加所述报文头字段,得到管理报文。这样在光纤上传输管理报文时可以不需要传输预设类型的报文头字段,可以减小传输的数据量。In a possible implementation of the first aspect, the first ONU generates a message header field of a preset type according to the message data; adds the message header field to the message data to obtain Management messages. In this way, when the management message is transmitted on the optical fiber, there is no need to transmit a preset type of message header field, which can reduce the amount of transmitted data.
在第一方面的一种可能的实现方式中,所述数据帧为第一光传送网OTN数据帧,所述第一ONU从所述第一OTN数据帧的目标字段中提取所述报文数据。OTN数据帧是在两个ONU之间的光监控信道上传输的数据帧,因此将报文数据放在第一OTN数据帧中,这样可以使用光监控信道来传输该报文数据,而业务报文可以在该两个ONU之间的光业务信道上传输,如此将管理业务和管道业务分在两个不同信道上传输,进而使用于传输管理业务的管理通道和用于传输管道业务的业务通道被分离。In a possible implementation of the first aspect, the data frame is a first optical transport network OTN data frame, and the first ONU extracts the message data from the target field of the first OTN data frame . The OTN data frame is a data frame transmitted on the optical supervisory channel between two ONUs, so the message data is placed in the first OTN data frame, so that the optical supervisory channel can be used to transmit the message data, and the service report The text can be transmitted on the optical service channel between the two ONUs, so that the management service and the pipe service are transmitted on two different channels, and then used for the management channel of the transmission management service and the service channel for the transmission of the pipe service Be separated.
在第一方面的一种可能的实现方式中,所述预设类型的报文头字段为校验字段。In a possible implementation manner of the first aspect, the preset type of packet header field is a check field.
第二方面,本申请提供了一种通信装置,用于执行第一方面或第一方面的任意一种可能的实现方式中的方法。具体地,所述装置包括用于执行第一方面或第一方面的任意一种可能的实现方式的方法的单元。In the second aspect, this application provides a communication device for executing the first aspect or the method in any one of the possible implementation manners of the first aspect. Specifically, the device includes a unit for executing the first aspect or any one of the possible implementation manners of the first aspect.
第三方面,本申请提供了一种计算机程序产品,所述计算机程序产品包括在计算机可读存储介质中存储的计算机程序,并且所述计算程序通过处理器进行加载来实现上述第一方面、或第一方面的任意可能的实现方式的方法。In a third aspect, the present application provides a computer program product, the computer program product includes a computer program stored in a computer-readable storage medium, and the calculation program is loaded by a processor to implement the first aspect, or Any possible implementation of the first aspect.
第四方面,本申请提供了一种非易失性计算机可读存储介质,用于存储计算机程序,所述计算机程序通过处理器进行加载来执行上述第一方面或第一方面的任意可能的实现方式的方法的指令。In a fourth aspect, this application provides a non-volatile computer-readable storage medium for storing a computer program, which is loaded by a processor to execute the first aspect or any possible implementation of the first aspect. Way of the instruction.
第五方面,本申请提供了一种芯片,所述芯片包括可编程逻辑电路和/或程序指令,当所述芯片运行时用于实现上述第一方面或第一方面的任意可能的实现方式的方法。In a fifth aspect, this application provides a chip that includes a programmable logic circuit and/or program instructions, which is used to implement the first aspect or any possible implementation manner of the first aspect when the chip is running method.
第六方面,本申请提供了一种通信系统,所述系统包括第一光网络节点ONU和第二ONU;在所述系统中,所述第一ONU,用于通过其包括的第一端口接收来自其所在区域的管理网络的管理报文以及通过其包括的第二端口从其所在区域的城域网中接收业务报文,所述管理报文属于管理业务,所述业务报文属于用户业务;生成数据帧,所述数据帧包括所述管理报文中的报文数据;将所述数据帧转换成第一波长的第一光信号以及将所述业务报文转换成第二波长的第二光信号,所述第一波长与所述第二波长不同;将所述第一光信号和所述第二光信号合为一路光信号,向所述第二ONU发送所述一路光座号;In a sixth aspect, the present application provides a communication system, the system includes a first optical network node ONU and a second ONU; in the system, the first ONU is configured to receive through the first port included in the system. A management message from a management network in its area and a service message received from a metropolitan area network in its area through a second port included therein, the management message belongs to a management service, and the service message belongs to a user service Generating a data frame, the data frame including the message data in the management message; converting the data frame into the first optical signal of the first wavelength and converting the service message into the first optical signal of the second wavelength Two optical signals, the first wavelength is different from the second wavelength; the first optical signal and the second optical signal are combined into one optical signal, and the first optical seat number is sent to the second ONU ;
所述第二ONU,用于从所述一路光信号中获取第一波长的第一光信号和第二波长的第二光信号,将所述第一光信号转换成数据帧,从所述数据帧中提取报文数据,将所述报文数据封装成管理报文,通过其包括的第一端口向其所在区域内的管理网络发送所述管理报文;将所述第二光信号转换成业务报文,通过其包括的第二端口向其所在区域内的城域网发送所述业务报文。The second ONU is configured to obtain a first optical signal of a first wavelength and a second optical signal of a second wavelength from the optical signal, convert the first optical signal into a data frame, and obtain the data from the data The message data is extracted from the frame, the message data is encapsulated into a management message, and the management message is sent to the management network in the area where it includes the first port; the second optical signal is converted into The service message is sent to the metropolitan area network in the area where the service message is located through the second port included in the service message.
由于第一波长和第二波长不同,不同波长对应第一ONU和第二ONU之间的不同信道,又由于第一ONU通过两个不同端口接收管理业务和用户业务,这样在第一ONU和第二ONU之间将管理业务对应的第一光信号和用户业务对应的第二光信号分在不同信道上传输,这 样基于该两个信道建立的用于传输管理业务的管理通道和用于传输用户业务的业务通道可以被分离,使得业务通道的异常不会影响管理业务的正常传输。Because the first wavelength and the second wavelength are different, the different wavelengths correspond to different channels between the first ONU and the second ONU, and because the first ONU receives management services and user services through two different ports, the first ONU and the second Between the two ONUs, the first optical signal corresponding to the management service and the second optical signal corresponding to the user service are transmitted on different channels, so that the management channel established based on the two channels for transmitting the management service and the user The service channel of the service can be separated, so that the abnormality of the service channel will not affect the normal transmission of the management service.
附图说明BRIEF DESCRIPTION
图1是本申请实施例提供的一种网络架构的结构示意图;FIG. 1 is a schematic structural diagram of a network architecture provided by an embodiment of the present application;
图2是本申请实施例提供的一种ONU的结构示意图;Figure 2 is a schematic structural diagram of an ONU provided by an embodiment of the present application;
图3是本申请实施例提供的另一种网络架构的结构示意图;FIG. 3 is a schematic structural diagram of another network architecture provided by an embodiment of the present application;
图4是本申请实施例提供的另一种ONU的结构示意图;Figure 4 is a schematic structural diagram of another ONU provided by an embodiment of the present application;
图5是本申请实施例提供的另一种ONU的结构示意图;Figure 5 is a schematic structural diagram of another ONU provided by an embodiment of the present application;
图6是本申请实施例提供的一种通信方法的流程图;FIG. 6 is a flowchart of a communication method provided by an embodiment of the present application;
图7是本申请实施例提供的另一种网络架构的结构示意图;FIG. 7 is a schematic structural diagram of another network architecture provided by an embodiment of the present application;
图8是本申请实施例提供的另一种通信方法的结构示意图;FIG. 8 is a schematic structural diagram of another communication method provided by an embodiment of the present application;
图9是本申请实施例提供的一种通信装置的结构示意图;FIG. 9 is a schematic structural diagram of a communication device provided by an embodiment of the present application;
图10是本申请实施例提供的一种SC2单板的结构示意图。FIG. 10 is a schematic structural diagram of an SC2 board provided by an embodiment of the present application.
具体实施方式detailed description
下面将结合附图对本申请实施方式作进一步地详细描述。The implementation manners of the present application will be described in further detail below in conjunction with the accompanying drawings.
不同区域中部署有城域网和ONU,该区域可以为城市等。每个区域的城域网连接至ONU,每个区域的ONU通过光纤相连,这样将不同区域的城域网互连。例如,参见图1,区域1内部署的城域网1a连接至区域1内部署的ONU1b,区域2内部署的城域网2a连接至区域2内部署的ONU2b,ONU1b和ONU2b之间通过光纤相连。Metropolitan area networks and ONUs are deployed in different areas, and the area can be a city. The metropolitan area network in each area is connected to the ONU, and the ONUs in each area are connected by optical fibers, so that metropolitan area networks in different areas are interconnected. For example, referring to Figure 1, the metropolitan area network 1a deployed in area 1 is connected to the ONU1b deployed in area 1, the metropolitan area network 2a deployed in area 2 is connected to the ONU 2b deployed in area 2, and ONU1b and ONU2b are connected by optical fiber .
区域中可以部署有机房,该机房内的设备属于一个局域网,该局域网连接该机房所在区域内部署的城域网上。A computer room can be deployed in the area, and the equipment in the computer room belongs to a local area network, which is connected to the metropolitan area network deployed in the area where the computer room is located.
仍参见图1,以图1中的区域1为例,为了对机房中的设备进行管理,该机房中的设备具有管理接口,该设备通过该管理接口连接至管理交换机1c,该管理交换机1c具有监控接口,该管理交换机1c可以通过该监控接口连接至该机房所在区域内的ONU1b,该机房中的设备和该管理交换机1c属于一个管理网络1d,通过该管理网络1d可以对机房中的设备进行管理。Still referring to Figure 1, taking area 1 in Figure 1 as an example, in order to manage the equipment in the computer room, the equipment in the computer room has a management interface, and the equipment is connected to the management switch 1c through the management interface, and the management switch 1c has Monitoring interface, the management switch 1c can be connected to the ONU 1b in the area where the computer room is located through the monitoring interface, the equipment in the computer room and the management switch 1c belong to a management network 1d, through which the equipment in the computer room can be operated management.
可选的,管理交换机1c可以是普通的交换机,由于该交换机属于管理网络中的交换机,因此又可以称为管理交换机。Optionally, the management switch 1c may be an ordinary switch. Since the switch belongs to a switch in the management network, it may also be called a management switch.
由于不同区域的管理网络比较分散,对不同区域内的管理网络的管理带来很多不便。为了解决该不便的问题,可以将不同区域的管理网络互连,这样可以在一个区域的管理网络中设置控制器,在该控制器中可以向不同区域的管理网络发送管理业务,以实现对不同区域的管理网络进行统一管理,从而解决了该不便的问题。Since the management networks in different regions are relatively scattered, it brings a lot of inconvenience to the management of the management networks in different regions. In order to solve this inconvenience problem, the management networks of different areas can be interconnected, so that a controller can be set up in the management network of one area, and the controller can send management services to the management network of different areas to realize the The regional management network performs unified management, thereby solving the inconvenience problem.
为了能够将不同区域的管理网络互连,在每个区域的ONU中设有用于传输管理业务的第一端口和用于传输用户业务的第二端口。对于每个区域,该区域内包括管理网络、城域 网和ONU,该ONU的第二端口与该城域网连接,在属于该管理网络的管理交换机的监控接口和该ONU的第一端口之间使用物理线路相连,该物理线路不经过该城域网,这样对于任意两个区域的管理交换机,由于该两个区域的ONU之间通过光纤相连,每个区域内的管理交换机与ONU之间使用物理线路相连,使该两个管理交换机之间可以建立有用于传输管理业务的通道,以将该两个不同区域的管理网络互连。In order to be able to interconnect management networks in different areas, a first port for transmitting management services and a second port for transmitting user services are provided in the ONU in each area. For each area, the area includes a management network, a metropolitan area network, and an ONU. The second port of the ONU is connected to the metropolitan area network. It is between the monitoring interface of the management switch belonging to the management network and the first port of the ONU. The physical line is used to connect between the two areas, and the physical line does not pass through the metropolitan area network. In this way, for the management switches in any two areas, since the ONUs in the two areas are connected by optical fibers, the management switches in each area are connected to the ONUs. The physical line is used to connect, so that a channel for transmitting management services can be established between the two management switches to interconnect the management networks of the two different areas.
可选的,第一端口可以为以太网接口等。Optionally, the first port may be an Ethernet interface or the like.
例如,仍参见图1,区域1内部署有机房,该机房内的每个设备通过其管理接口连接至管理交换机1c,该机房中的设备和该管理交换机1c均属于管理网络1d,区域1内部署的ONU1b设置有用于传输管理业务的第一端口和用于传输用户业务的第二端口,在管理交换机1c的监控接口和ONU1b的第一端口之间使用物理线路相连,该物理线路不经过区域1内的城域网1a,区域1内的城域网1a连接至ONU1b的第二端口。区域2内部署有机房,机房内的每个设备通过其管理接口连接至管理交换机2c,该机房内的每个设备和该管理交换机2c属于管理网络2d,区域2内部署的ONU2b设置有用于传输管理业务的第一端口和用于传输用户业务的第二端口,在管理交换机2c的监控接口和ONU2b的第一端口之间使用物理线路相连,该物理线路不经过区域2内的城域网2a,区域2内的城域网2a连接至ONU2b的第二端口,这样连接了管理网络1d和管理网络2d。如此,可以在管理交换机1c与管理交换机2c之间建立用于传输管理业务的通道,该通道包括管理交换机1c与ONU1b之间的通道、ONU1b和ONU2b之间的通道和ONU2b和管理交换机2c之间的通道。在管理网络1d中部署控制器3,控制器3可以通过该通道向管理网络2d发送管理业务,使该控制器3可以对管理网络1d和管理网络2d进行统一管理;或者,在管理网络2d中部署控制器3(图中未画出),控制器3可以通过该通道向管理网络1d发送管理业务,使该控制器3可以对管理网络1d和管理网络2d进行统一管理。For example, still referring to Figure 1, a computer room is deployed in area 1. Each device in the computer room is connected to the management switch 1c through its management interface. The devices in the computer room and the management switch 1c belong to the management network 1d, which is in the area 1. The deployed ONU1b is provided with a first port for transmitting management services and a second port for transmitting user services. A physical line is used between the monitoring interface of the management switch 1c and the first port of ONU1b, and the physical line does not pass through the area. The metropolitan area network 1a in 1 and the metropolitan area network 1a in area 1 are connected to the second port of the ONU 1b. The computer room is deployed in area 2, each device in the computer room is connected to the management switch 2c through its management interface, each device in the computer room and the management switch 2c belong to the management network 2d, and the ONU 2b deployed in the area 2 is set up for transmission The first port for management services and the second port for transmitting user services are connected by a physical line between the monitoring interface of the management switch 2c and the first port of ONU 2b, and the physical line does not pass through the metropolitan area network 2a in area 2. , The metropolitan area network 2a in area 2 is connected to the second port of the ONU 2b, thus connecting the management network 1d and the management network 2d. In this way, a channel for transmitting management services can be established between the management switch 1c and the management switch 2c. The channel includes the channel between the management switch 1c and ONU1b, the channel between ONU1b and ONU2b, and the channel between ONU2b and the management switch 2c. Channel. The controller 3 is deployed in the management network 1d, and the controller 3 can send management services to the management network 2d through this channel, so that the controller 3 can perform unified management of the management network 1d and the management network 2d; or, in the management network 2d The controller 3 (not shown in the figure) is deployed, and the controller 3 can send management services to the management network 1d through the channel, so that the controller 3 can perform unified management on the management network 1d and the management network 2d.
参见图2,对于上述介绍的ONU1b和ONU2b中的每个ONU,该ONU包括监控单元1、光纤接口单元2、光交叉单元3和业务接入单元4,监控单元1上设置有用于传输管理业务的第一端口,业务接入单元4包括至少一个用于传输用户业务的第二端口;Referring to Figure 2, for each of the ONU 1b and ONU 2b described above, the ONU includes a monitoring unit 1, an optical fiber interface unit 2, an optical cross unit 3, and a service access unit 4. The monitoring unit 1 is provided with a transmission management service The service access unit 4 includes at least one second port for transmitting user services;
光纤接口单元2分别与监控单元1和光交叉单元3连接,光交叉单元3还与业务接入单元4中的每个第二端口连接。光纤接口单元2还通过光纤与其他ONU连接。The optical fiber interface unit 2 is connected to the monitoring unit 1 and the optical crossover unit 3 respectively, and the optical crossover unit 3 is also connected to each second port in the service access unit 4. The optical fiber interface unit 2 is also connected to other ONUs through optical fibers.
可选的,在该ONU向其他ONU发送光信号时,监控单元1,用于通过第一端口接收该ONU所在区域内的管理网络发送的管理报文,从该管理报文中提取报文数据,生成包括该报文数据的数据帧,将该数据帧转换成第一波长的第一光信号,向光纤接口单元2发送第一光信号;Optionally, when the ONU sends optical signals to other ONUs, the monitoring unit 1 is configured to receive, through the first port, a management message sent by a management network in the area where the ONU is located, and extract message data from the management message , Generating a data frame including the message data, converting the data frame into a first optical signal of the first wavelength, and sending the first optical signal to the optical fiber interface unit 2;
光交叉单元3,用于通过业务接入单元4包括的第二端口从该ONU所在区域内的城域网中接收业务报文,将该业务报文转换成第二波长的第二光信号,向光纤接口单元2发送第二光信号,第一波长和第二波长不同;The optical cross unit 3 is configured to receive a service message from the metropolitan area network in the area where the ONU is located through the second port included in the service access unit 4, and convert the service message into a second optical signal of the second wavelength, Sending a second optical signal to the optical fiber interface unit 2, where the first wavelength and the second wavelength are different;
光纤接收口单元2,用于接收第一光信号和第二光信号,并在光纤上向其他ONU发送第一光信号和第二信号。The optical fiber receiving port unit 2 is used to receive the first optical signal and the second optical signal, and send the first optical signal and the second signal to other ONUs on the optical fiber.
业务接入单元4中的每个第二端口对应一个第二波长,每个第二端口对应的第二波长不同,每个第二端口对应的第二波长与第一波长不同。光交叉单元3在通过业务接入单元4包括的第二端口接收城域网发送的业务报文时,确定该第二端口对应的第二波长,根据 确定的该第二波长将该业务报文转换成第二光信号。Each second port in the service access unit 4 corresponds to a second wavelength, the second wavelength corresponding to each second port is different, and the second wavelength corresponding to each second port is different from the first wavelength. When the optical cross unit 3 receives the service packet sent by the metropolitan area network through the second port included in the service access unit 4, it determines the second wavelength corresponding to the second port, and determines the service packet according to the determined second wavelength. Converted into a second optical signal.
用户业务是用户在城域网中发起的业务,例如用户需要下载视频时,发起的下载业务为一种用户业务,业务报文可以是包括该视频的视频数据的报文。管理业务是用于对网络中的设备进行管理和控制的业务。管理网络中的管理业务可能有多种,每种管理业务都有属于各自的管理报文。例如,用于对网络中的设备进行控制的管理业务,属于该管理业务的管理报文可以为用于对网络中的设备进行控制的控制报文。再例如,用于对网络中的设备进行鉴权的管理业务,属于该管理业务的管理报文可以为用于对设备进行鉴权的管理报文。A user service is a service initiated by a user in a metropolitan area network. For example, when a user needs to download a video, the initiated download service is a user service, and the service message may be a message including video data of the video. The management service is a service used to manage and control devices in the network. There may be multiple management services in the management network, and each management service has its own management message. For example, for a management service used to control devices in the network, the management messages belonging to the management service may be control messages used to control the devices in the network. For another example, for a management service used to authenticate devices in the network, the management messages belonging to the management service may be management messages used to authenticate the devices.
可选的,在该ONU接收其他ONU发送的光信号时,光纤接口单元2,用于从光纤中接收其他ONU发送的光信号,从该光信号中获取第一波长的第一光信号和第二波长的第二光信号,将第一光信号发送给监控单元1,将第二光信号发送给光交叉单元3;Optionally, when the ONU receives optical signals sent by other ONUs, the optical fiber interface unit 2 is configured to receive optical signals sent by other ONUs from the optical fiber, and obtain the first optical signal of the first wavelength and the first optical signal from the optical signal. The second optical signal of two wavelengths sends the first optical signal to the monitoring unit 1 and the second optical signal to the optical cross unit 3;
监控单元1,用于将第一光信号转换成数据帧,从该数据帧中提取报文数据,将该报文数据封装成属于管理业务的管理报文,通过第一端口向该ONU所在区域内的管理网络发送该管理报文。The monitoring unit 1 is used to convert the first optical signal into a data frame, extract message data from the data frame, encapsulate the message data into a management message belonging to a management service, and send it to the area where the ONU is located through the first port The internal management network sends the management message.
光交叉单元3,用于将第二光信号转换成属于用户业务的业务报文,确定该第二光信号的第二波长对应的第二端口,通过业务接入单元4中的该第二端口向该ONU所在区域内的城域网发送该业务报文。The optical cross unit 3 is configured to convert the second optical signal into a service packet belonging to the user service, determine the second port corresponding to the second wavelength of the second optical signal, and pass the second port in the service access unit 4 Send the service message to the metropolitan area network in the area where the ONU is located.
管理报文的报文头可以为虚拟局域网(virtual local area network,VLAN)报文头或互联网协议地址(internet protocol address,IP)报文头,管理报文的报文头中包括优先级字段,该优先级字段包括该管理报文的优先级。The header of the management message can be a virtual local area network (VLAN) message header or an internet protocol address (IP) message header, and the message header of the management message includes a priority field. The priority field includes the priority of the management message.
对于图1所示网络架构中的任意两个ONU,例如,参见图3所示的ONU1b和ONU2b,ONU1b的监控单元11的第一端口与ONU1b所在区域1内部署的管理交换机1c的监控接口之间使用物理线路连接,ONU1b的业务接入单元41包括的每个第二端口与ONU1b所在区域1内部署的城域网1a连接,ONU1b的光纤接口单元21与ONU2b的光纤接口单元22之间使用光纤相连。ONU2b的监控单元12的第一端口与ONU2b所在区域2内部署的管理交换机2c的监控接口之间使用物理线路连接,ONU2b的业务接入单元42包括的每个第二端口与ONU2b所在区域2内部署的城域网2a连接。For any two ONUs in the network architecture shown in Figure 1, for example, see ONU1b and ONU2b shown in Figure 3. The first port of the monitoring unit 11 of ONU1b and the monitoring interface of the management switch 1c deployed in area 1 where ONU1b is located Use physical lines to connect each other. Each second port included in the service access unit 41 of ONU1b is connected to the metropolitan area network 1a deployed in area 1 where ONU1b is located. The optical fiber interface unit 21 of ONU1b and the optical fiber interface unit 22 of ONU2b are used between Fiber optic connection. The first port of the monitoring unit 12 of the ONU2b is connected with the monitoring interface of the management switch 2c deployed in the area 2 where the ONU2b is located. Each second port included in the service access unit 42 of the ONU2b is connected to the area 2 where the ONU2b is located. The deployed metropolitan area network 2a is connected.
ONU1b的监控单元11和ONU2b的监控单元12之间有光监控信道,该光监控信道包括ONU1b的监控单元11与光纤接口单元21之间的连接、在ONU1b的光纤接口单元21和ONU2b的光纤接口单元22之间的光纤上建立的光监控信道、ONU2b的光纤接口单元22和监控单元12之间的连接。There is an optical monitoring channel between the monitoring unit 11 of ONU1b and the monitoring unit 12 of ONU2b. The optical monitoring channel includes the connection between the monitoring unit 11 of ONU1b and the optical fiber interface unit 21, and the optical fiber interface unit 21 of ONU1b and the optical fiber interface of ONU2b. The optical monitoring channel established on the optical fiber between the units 22, the connection between the optical fiber interface unit 22 of the ONU 2b and the monitoring unit 12.
其中,ONU1b的监控单元11通过该光监控信道向ONU2b的监控单元12发送数据帧,和/或ONU2b的监控单元12通过该光监控信道向ONU1b的监控单元11发送数据帧,以监控ONU1b和ONU2b之间的光纤是否正常。Wherein, the monitoring unit 11 of ONU1b sends data frames to the monitoring unit 12 of ONU2b through the optical monitoring channel, and/or the monitoring unit 12 of ONU2b sends data frames to the monitoring unit 11 of ONU1b through the optical monitoring channel to monitor ONU1b and ONU2b Whether the optical fiber between is normal.
可选的,可以基于该光监控信道建立管理交换机1c和管理交换机2c之间的用于传输管理业务的管理通道。Optionally, a management channel for transmitting management services between the management switch 1c and the management switch 2c can be established based on the optical monitoring channel.
管理交换机1c和管理交换机2c之间的用于传输管理业务的管理通道可以包括管理交换机1c与ONU1b的监控单元11之间的通道、ONU1b的监控单元11与ONU2b的监控单元12之间的光监控信道、ONU2b的监控单元12与管理交换机2c之间的通道。The management channel between the management switch 1c and the management switch 2c for transmitting management services may include the channel between the management switch 1c and the monitoring unit 11 of the ONU1b, and the optical monitoring between the monitoring unit 11 of the ONU1b and the monitoring unit 12 of the ONU2b. Channel, the channel between the monitoring unit 12 of the ONU 2b and the management switch 2c.
区域1内的设备与区域2内的设备之间的用于传输用户业务的业务通道可以包括区域 1内的设备与ONU1b的光交叉单元31之间的通道、ONU1b的光交叉单元31与ONU2b的光交叉单元32之间的光业务信道、ONU2b的光交叉单元32与区域2内的设备之间的通道。The service channel used to transmit user services between the equipment in area 1 and the equipment in area 2 may include the channel between the equipment in area 1 and the optical cross unit 31 of ONU1b, the optical cross unit 31 of ONU1b and the optical cross unit 31 of ONU2b. The optical service channel between the optical crossover units 32, the channel between the optical crossover unit 32 of the ONU 2b and the equipment in the area 2.
ONU1b的光交叉单元31和ONU2b的光交叉单元32之间的光业务信道包括ONU1b的光交叉单元31与光纤接口单元21之间的连接、在ONU1b的光纤接口单元21和ONU2b的光纤接口单元22之间的光纤上建立的光业务信道、ONU2b的光纤接口单元22和光交叉单元32之间的连接。The optical service channel between the optical crossover unit 31 of ONU1b and the optical crossover unit 32 of ONU2b includes the connection between the optical crossover unit 31 of ONU1b and the optical fiber interface unit 21, the optical fiber interface unit 21 of ONU1b and the optical fiber interface unit 22 of ONU2b. The connection between the optical service channel established on the optical fiber, the optical fiber interface unit 22 of the ONU 2b and the optical cross unit 32.
在光纤上建立的光业务信道和光监控信道是两个不同信道,在该光纤上用不同的光信号波长来区分该两个信道,其中,光监控信道对应第一波长,光业务信道对应第二波长,第一波长和第二波长不同,从而实现了业务通道和管理通道的解耦。The optical service channel and the optical supervisory channel established on the optical fiber are two different channels. Different optical signal wavelengths are used on the optical fiber to distinguish the two channels. The optical supervisory channel corresponds to the first wavelength, and the optical service channel corresponds to the second. The wavelength, the first wavelength and the second wavelength are different, thereby realizing the decoupling of the service channel and the management channel.
这样,在传输管理业务和用户业务时,ONU1b的监控单元11通过其包括的第一端口接收管理交换机1c发送属于管理业务的管理报文,从该管理报文中提取报文数据,生成包括该报文数据的数据帧,将该数据帧转换成第一波长的第一光信号,向ONU1b的光纤接口单元21发送第一光信号;ONU1b的光交叉单元31通过ONU1b中的业务接入单元41从区域1的城域网1a中接收区域1内的设备发送的属于用户业务的业务报文,将该业务报文转换成第二波长的第二光信号,向ONU1b的光纤接口单元21发送第二光信号;ONU1b的光纤接收口单元21在光纤上发送第一光信号和第二光信号。其中,该管理报文不经过区域1内的城域网1a,而是经过管理交换机1c与ONU1b的监控单元11之间的物理线路传输至ONU1b。In this way, when transmitting management services and user services, the monitoring unit 11 of the ONU 1b receives the management message sent by the management switch 1c through the first port that belongs to the management service, and extracts the message data from the management message, and generates The data frame of the message data is converted into the first optical signal of the first wavelength, and the first optical signal is sent to the optical fiber interface unit 21 of the ONU1b; the optical cross unit 31 of the ONU1b passes through the service access unit 41 in the ONU1b Receive service packets belonging to user services sent by devices in area 1 from the metropolitan area network 1a in area 1, convert the service packets into a second optical signal of the second wavelength, and send the first optical signal to the optical fiber interface unit 21 of ONU 1b Two optical signals; the optical fiber receiving port unit 21 of ONU1b sends the first optical signal and the second optical signal on the optical fiber. Wherein, the management message does not pass through the metropolitan area network 1a in the area 1, but is transmitted to the ONU 1b through the physical line between the management switch 1c and the monitoring unit 11 of the ONU 1b.
ONU2b的光纤接收口单元22在光纤上接收光信号,从该光信号中区分出第一波长的第一光信号和第二波长的第二光信号,向ONU2b的监控单元12发送第一光信号,向ONU2b的光交叉单元32发送第二光信号;ONU2b的监控单元12将第一光信号转换成数据帧,从该数据帧提取报文数据,将该报文数据封装成管理报文,通过第一端口向管理交换机2c发送该管理报文;ONU2c的光交叉单元32将第二光信号转换成业务报文,确定第二光信号的第二波长对应的第二端口,通过ONU2b中的业务接入单元42包括的该第二端口向区域2内的设备发送该业务报文。其中,ONU2b向管理交换机2c发送的管理报文不经过区域2的城域网2a,该管理报文是经过ONU2b的监控单元12与管理交换机2c之间的物理线路传输至管理交换机2c。The optical fiber receiving port unit 22 of ONU2b receives the optical signal on the optical fiber, distinguishes the first optical signal of the first wavelength and the second optical signal of the second wavelength from the optical signal, and sends the first optical signal to the monitoring unit 12 of ONU2b , Send the second optical signal to the optical cross unit 32 of ONU2b; the monitoring unit 12 of ONU2b converts the first optical signal into a data frame, extracts the message data from the data frame, and encapsulates the message data into a management message. The first port sends the management message to the management switch 2c; the optical cross unit 32 of the ONU 2c converts the second optical signal into a service message, determines the second port corresponding to the second wavelength of the second optical signal, and passes the service in the ONU 2b The second port included in the access unit 42 sends the service packet to the device in area 2. Wherein, the management message sent by the ONU 2b to the management switch 2c does not pass through the metropolitan area network 2a of the area 2, and the management message is transmitted to the management switch 2c via the physical line between the monitoring unit 12 of the ONU 2b and the management switch 2c.
可选的,参见图4,对于上述ONU1b和ONU2b中的每个ONU,该ONU中的监控单元1可以包括信号处理单元111、数据帧生成单元112、监控信号生成单元113、编解码单元114和光转换单元115;该ONU中的光纤接口单元2包括合波单元211和分波单元212。Optionally, referring to FIG. 4, for each ONU of the ONU 1b and ONU 2b, the monitoring unit 1 in the ONU may include a signal processing unit 111, a data frame generating unit 112, a monitoring signal generating unit 113, a codec unit 114, and an optical Conversion unit 115; the optical fiber interface unit 2 in the ONU includes a multiplexing unit 211 and a demultiplexing unit 212.
信号处理单元111设有第一端口,并与数据帧生成单元112连接,数据帧生成单元112还分别与监控信号生成单元113和编解码单元114连接,编解码单元114还与光转换单元115连接,光转换单元115还与光纤接口单元2中的合波单元211和分波单元212连接。合波单元211和分波单元212均与光交叉单元2连接。The signal processing unit 111 is provided with a first port and connected to the data frame generating unit 112. The data frame generating unit 112 is also connected to the monitoring signal generating unit 113 and the codec unit 114 respectively, and the codec unit 114 is also connected to the optical conversion unit 115 The optical conversion unit 115 is also connected to the multiplexing unit 211 and the demultiplexing unit 212 in the optical fiber interface unit 2. Both the multiplexing unit 211 and the demultiplexing unit 212 are connected to the optical cross unit 2.
可选的,当该ONU为光信号的发送方时,信号处理单元111用于通过第一端口接收管理报文,从该管理报文的报文头中去除预设类型的报文头字段,得到管理报文中的报文数据,向数据帧生成单元112发送该报文数据。可选的,预设类型的报文头字段可以为校验字段等。Optionally, when the ONU is the sender of the optical signal, the signal processing unit 111 is configured to receive a management message through the first port, and remove a preset type of message header field from the message header of the management message, The message data in the management message is obtained, and the message data is sent to the data frame generating unit 112. Optionally, the message header field of the preset type may be a check field or the like.
数据帧生成单元112用于生成包括该报文数据的数据帧,向编解码单元114发送该数据帧。The data frame generating unit 112 is configured to generate a data frame including the message data, and send the data frame to the codec unit 114.
编解码单元114用于将该数据帧编码成电信号,向光转换单元115发送该电信号;The encoding and decoding unit 114 is configured to encode the data frame into an electrical signal, and send the electrical signal to the optical conversion unit 115;
光转换单元115用于将该电信号转换成第一波长的第一光信号,向光纤接口单元2的合波单元211发送第一光信号。The optical conversion unit 115 is configured to convert the electrical signal into a first optical signal of the first wavelength, and send the first optical signal to the multiplexing unit 211 of the optical fiber interface unit 2.
其中,监控信号生成单元113用于周期性生成监控信息,向数据帧生成单元112发送该监控信息,数据帧生成单元112用于先生成包括该监控信息的数据帧,再向该数据帧中添加该报文数据,向编解码单元114发送添加后的该数据帧。The monitoring signal generating unit 113 is used to periodically generate monitoring information and send the monitoring information to the data frame generating unit 112. The data frame generating unit 112 is used to first generate a data frame including the monitoring information, and then add to the data frame The message data is sent to the codec unit 114 with the added data frame.
可选的,该数据帧可以为第一光传送网(optical transport network,OTN)数据帧。Optionally, the data frame may be a first optical transport network (optical transport network, OTN) data frame.
可选的,数据帧生成单元112用于接收监控信号生成单元113周期性生成的监控信息,生成包括该监控信息的第二OTN数据帧,将该报文数据添加到第二OTN数据帧的目标字段中,得到第一OTN数据帧。Optionally, the data frame generating unit 112 is configured to receive the monitoring information periodically generated by the monitoring signal generating unit 113, generate a second OTN data frame including the monitoring information, and add the message data to the target of the second OTN data frame In the field, the first OTN data frame is obtained.
可选的,第二OTN数据帧的目标字段可以是第二OTN数据帧中的第675个字节至第3824个字节。Optionally, the target field of the second OTN data frame may be the 675th byte to the 3824th byte in the second OTN data frame.
合波单元211用于接收来自光转换单元115的第一光信号和/或接收来自光交叉单元3的第二光信号,在光纤上发送第一光信号和/或第二光信号。The multiplexing unit 211 is configured to receive the first optical signal from the optical conversion unit 115 and/or receive the second optical signal from the optical cross unit 3, and send the first optical signal and/or the second optical signal on the optical fiber.
可选的,合波单元21在同时接收第一光信号和第二光信号时,可以将第一光信号和第二光信号合成一路光信号,在光纤上发送该一路光信号。Optionally, when the multiplexing unit 21 receives the first optical signal and the second optical signal at the same time, it may combine the first optical signal and the second optical signal into one optical signal, and send the optical signal on the optical fiber.
可选的,当该ONU为光信号的接收方时,分波单元212用于从光纤上接收光信号,从该光信号中区分出第一波长的第一光信号和/或第二波长的第二光信号,在分出第一光信号时向光转换单元115发送第一光信号,在分出第二光信号时向光交叉单元2发送第二光信号。Optionally, when the ONU is the receiver of the optical signal, the demultiplexing unit 212 is configured to receive the optical signal from the optical fiber, and distinguish the first optical signal of the first wavelength and/or the optical signal of the second wavelength from the optical signal. The second optical signal sends the first optical signal to the optical conversion unit 115 when the first optical signal is dropped, and sends the second optical signal to the optical cross unit 2 when the second optical signal is dropped.
光转换单元115用于接收来自分波单元212的第一光信号,将第一光信号转换成电信号,向编解码单元114发送该电信号;The optical conversion unit 115 is configured to receive the first optical signal from the demultiplexing unit 212, convert the first optical signal into an electrical signal, and send the electrical signal to the codec unit 114;
编解码单元114用于对该电信号进行解码得到数据帧,向数据帧生成单元112发送该数据帧,该数据帧包括管理报文的报文数据;The encoding and decoding unit 114 is configured to decode the electrical signal to obtain a data frame, and send the data frame to the data frame generating unit 112, and the data frame includes the message data of the management message;
数据帧生成单元112用于从该数据帧中提取该报文数据,向信号处理单元111发送该报文数据;The data frame generating unit 112 is configured to extract the message data from the data frame, and send the message data to the signal processing unit 111;
信号处理单元111用于将该报文数据封装成管理报文,通过第一端口向管理网络发送管理报文。The signal processing unit 111 is configured to encapsulate the message data into a management message, and send the management message to the management network through the first port.
可选的,参见图4,该ONU还可以包括至少一个缓存队列116,每个缓存队列116分别与信号处理单元111和数据帧生成单元112连接,每个缓存队列116对应一个报文的优先级,每个缓存队列116对应的优先级不同;Optionally, referring to FIG. 4, the ONU may also include at least one cache queue 116, each cache queue 116 is connected to the signal processing unit 111 and the data frame generation unit 112, and each cache queue 116 corresponds to a message priority , The priority corresponding to each cache queue 116 is different;
管理报文的报文头可以为VLAN报文头或IP报文头,信号处理单元111和数据帧生成单元112均支持识别VLAN报文头和IP报文头中的优先级字段。The message header of the management message may be a VLAN message header or an IP message header. The signal processing unit 111 and the data frame generating unit 112 both support identifying the priority field in the VLAN message header and the IP message header.
信号处理单元111在接收到管理报文时,去除该管理报文中的预设报文头字段得到报文数据,该报文数据中还包括除预设报文头字段以外的其他报文头字段,该其他报文头字段包括优先级字段,这样信号处理单元111可以识别出该报文数据中的优先级字段,从该优先级字段中提取优先级,将该报文数据缓存到该优先级对应的缓存队列116中,数据帧生成单元112可以根据每个缓存队列116的优先级通过预设的策略选择一个缓存队列,从选择的缓存队列中读取报文数据,基于该报文数据生成数据帧。或者,When the signal processing unit 111 receives the management message, it removes the preset message header field in the management message to obtain message data. The message data also includes other message headers other than the preset message header field. Field, the other message header fields include a priority field, so that the signal processing unit 111 can identify the priority field in the message data, extract the priority from the priority field, and buffer the message data to the priority field. In the cache queue 116 corresponding to the level, the data frame generation unit 112 can select a cache queue according to the priority of each cache queue 116 through a preset strategy, and read the message data from the selected cache queue, based on the message data Generate a data frame. or,
数据帧生成单元112在从数据帧中提取到报文数据时,识别出该报文数据中的优先级字段,从该优先级字段中提取优先级,将该报文数据缓存该优先级对应的缓存队列116中, 信号处理单元111可以根据每个缓存队列116的优先级通过预设的策略选择一个缓存队列,从选择的缓存队列中读取报文数据,将该报文数据封装成管理报文。When the data frame generating unit 112 extracts the message data from the data frame, it identifies the priority field in the message data, extracts the priority from the priority field, and caches the message data corresponding to the priority. In the cache queue 116, the signal processing unit 111 can select a cache queue according to the priority of each cache queue 116 through a preset strategy, read the message data from the selected cache queue, and encapsulate the message data into a management message. Text.
预设的策略可以使信号处理单元111或数据帧生成单元112在缓存队列对应的优先级越大时,选择该缓存队列的概率也随之越大,这样信号处理单元111或数据帧生成单元112在每次选择缓存队列时,优先级越大的缓存队列,被选中的概率越大,从而使得高优先级的管理报文的报文数据被优先发送。The preset strategy can make the signal processing unit 111 or the data frame generating unit 112 have a higher priority corresponding to the buffer queue, the greater the probability of selecting the buffer queue, so that the signal processing unit 111 or the data frame generating unit 112 Each time a buffer queue is selected, the higher the priority of the buffer queue, the greater the probability of being selected, so that the message data of the high-priority management message is sent first.
可选的,参见图5,该ONU还包括管理单元5,管理单元5用于在光交叉单元3中配置业务接入单元4中的每个第二端口对应的第二波长,以及在信号处理单元111和数据帧生成单元112中配置预设的策略。Optionally, referring to Fig. 5, the ONU further includes a management unit 5, which is used to configure the second wavelength corresponding to each second port in the service access unit 4 in the optical cross unit 3, and in the signal processing A preset strategy is configured in the unit 111 and the data frame generating unit 112.
本申请实施例提供了一种通信方法,该方法可以应用于图1所示的架构。在该架构中,对于部署在任意两个不同区域的ONU,分别称为ONU1b和ONU2b。ONU1b设有第一端口和至少一个第二端口,ONU1b通过第一端口与ONU1b所在的区域1内的管理网络1d连接,通过至少一个第二端口与区域1内的城域网1a连接,ONU2b设有第一端口和至少一个第二端口,ONU2b通过第一端口与ONU2b所在的区域2内的管理网络2d连接,通过至少一个第二端口与区域2内的城域网2a连接。The embodiment of the present application provides a communication method, which can be applied to the architecture shown in FIG. 1. In this architecture, ONUs deployed in any two different areas are called ONU1b and ONU2b, respectively. ONU1b is provided with a first port and at least one second port. ONU1b is connected to the management network 1d in area 1 where ONU1b is located through the first port, and is connected to the metropolitan area network 1a in area 1 through at least one second port. There is a first port and at least one second port. The ONU 2b is connected to the management network 2d in the area 2 where the ONU 2b is located through the first port, and is connected to the metropolitan area network 2a in the area 2 through at least one second port.
为了能够对管理网络1d和管理网络2d进行统一管理,可以在管理网络1d或管理网络2d中设置控制器3。例如,可以在管理网络1d中设置控制器3,该控制器3可以建立管理网络1d与管理网络2d之间的管理通道,该控制器3可以直接向管理网络1d中的设备发送管理报文,以实现对管理网络1d中的设备进行管理,以及可以通过该管理通道向管理网络2d中的设备发送管理报文,以实现对管理网络2d中的设备进行管理。或者,管理网络1d的其他设备也可以通过该管理通道向管理网络2d发送管理报文,或者,管理网络2d中的设备也可以通过该管理通道向管理网络1d发送管理报文。In order to be able to uniformly manage the management network 1d and the management network 2d, the controller 3 may be provided in the management network 1d or the management network 2d. For example, a controller 3 can be provided in the management network 1d, and the controller 3 can establish a management channel between the management network 1d and the management network 2d. The controller 3 can directly send management messages to devices in the management network 1d. In order to realize the management of the devices in the management network 1d, and the management message can be sent to the devices in the management network 2d through the management channel, so as to realize the management of the devices in the management network 2d. Alternatively, other devices in the management network 1d may also send management messages to the management network 2d through the management channel, or devices in the management network 2d may also send management messages to the management network 1d through the management channel.
该管理通道可以为管理网络1d的管理交换机1c与管理网络2d的管理交换机2c之间的传输控制协议(transmission control protocol,TCP)连接、用户数据报协议(user datagram protocol,UDP)连接或超文本传输协议(hypertext transfer protocol,Http)连接等。其中,管理网络1d包括管理交换机1c和连接至管理交换机1c的设备;管理网络2d包括管理交换机2c和连接至管理交换机2c的设备。该管理通道包括管理交换机1c和ONU1b之间的通道、ONU1b和ONU2b之间的光监控信道,以及ONU2b和管理交换机2c之间的通道。The management channel can be a transmission control protocol (TCP) connection, a user datagram protocol (UDP) connection or a hypertext between the management switch 1c of the management network 1d and the management switch 2c of the management network 2d Transfer protocol (hypertext transfer protocol, Http) connection, etc. The management network 1d includes a management switch 1c and devices connected to the management switch 1c; the management network 2d includes a management switch 2c and devices connected to the management switch 2c. The management channel includes the channel between the management switch 1c and the ONU 1b, the optical monitoring channel between the ONU 1b and the ONU 2b, and the channel between the ONU 2b and the management switch 2c.
控制器3建立完该管理通道后,可以通过如下的通信方法向管理网络2d发送管理报文,以实现对管理网络2d进行管理。参见图6,该方法包括:After the controller 3 has established the management channel, it can send a management message to the management network 2d through the following communication method to realize the management of the management network 2d. Referring to Figure 6, the method includes:
步骤301:ONU1b通过第一端口接收区域1内的管理网络1d发送的管理报文,通过第二端口从区域1内的城域网1a中接收业务报文。Step 301: The ONU 1b receives the management message sent by the management network 1d in the area 1 through the first port, and receives the service message from the metropolitan area network 1a in the area 1 through the second port.
该管理报文属于管理业务,该业务报文属于用户业务,该业务报文是连接到区域1的城域网1a的设备发送的。The management message belongs to a management service, the service message belongs to a user service, and the service message is sent by a device connected to the metropolitan area network 1a of area 1.
管理网络1d中的控制器3或管理网络1d中的其他设备可以向管理交换机1c发送管理报文,管理交换机1c向ONU1b转发该管理报文。管理交换机1c向ONU1b转发的管理报文不经过区域1内的城域网1a,该管理报文直接通过管理交换机1c与ONU1b之间的物理线路传输至ONU1b。The controller 3 in the management network 1d or other devices in the management network 1d can send a management message to the management switch 1c, and the management switch 1c forwards the management message to the ONU 1b. The management message forwarded by the management switch 1c to the ONU 1b does not pass through the metropolitan area network 1a in the area 1, and the management message is directly transmitted to the ONU 1b through the physical line between the management switch 1c and the ONU 1b.
参见图7,ONU1b中的监控单元11包括信号处理单元11a,该信号处理单元11a设有第一端口,该信号处理单元11a通过第一端口接收该管理报文。Referring to FIG. 7, the monitoring unit 11 in the ONU 1b includes a signal processing unit 11a, the signal processing unit 11a is provided with a first port, and the signal processing unit 11a receives the management message through the first port.
仍参见图7,ONU1b包括业务接入单元41和光交叉单元31,业务接入单元41包括至少一个第二端口,光交叉单元31通过业务接入单元41中的第二端口接收该业务报文。Still referring to FIG. 7, the ONU 1b includes a service access unit 41 and an optical crossover unit 31. The service access unit 41 includes at least one second port, and the optical crossover unit 31 receives the service packet through the second port in the service access unit 41.
步骤302:ONU1b生成数据帧,该数据帧包括该管理报文中的报文数据。Step 302: The ONU 1b generates a data frame, and the data frame includes the message data in the management message.
ONU1b会周期性地获取监控信息并生成包括该监控信息的数据帧,该监控信息用于监控ONU1b和ONU2b之间的光纤连接情况。ONU1b will periodically obtain monitoring information and generate a data frame including the monitoring information. The monitoring information is used to monitor the optical fiber connection between ONU1b and ONU2b.
在本步骤中,ONU1b可以从该管理报文中去除预设的报文头字段,得到报文数据,在生成包括该监控信息的数据帧后,可以将该报文数据添加到该数据帧中的目标字段中,以使该数据帧包括该管理报文中的报文数据。In this step, ONU1b can remove the preset message header field from the management message to obtain message data. After generating a data frame including the monitoring information, the message data can be added to the data frame To make the data frame include the message data in the management message.
可选的,目标字段可以为该数据帧中的第675个字节至第3824个字节的字段。Optionally, the target field may be a field from the 675th byte to the 3824th byte in the data frame.
可选的,该数据帧可以为OTN数据帧。Optionally, the data frame may be an OTN data frame.
参见图7,ONU1b的监控单元11还包括至少一个缓存队列116a、数据帧生成单元112a和监控信号生成单元113a,每个缓存队列116a对应一个报文的优先级。信号处理单元111a上设有第一端口。Referring to FIG. 7, the monitoring unit 11 of the ONU 1b further includes at least one buffer queue 116a, a data frame generating unit 112a, and a monitoring signal generating unit 113a. Each buffer queue 116a corresponds to a message priority. The signal processing unit 111a is provided with a first port.
信号处理单元111a在接收到管理报文时,可以从管理报文中去除预设的报文头字段,得到报文数据,识别该报文数据中的优先级字段,从该优先级字段中提取优先级,将该报文数据缓存在该优先级对应的缓存队列中。When the signal processing unit 111a receives the management message, it can remove the preset message header field from the management message to obtain message data, identify the priority field in the message data, and extract it from the priority field Priority, the message data is buffered in the buffer queue corresponding to the priority.
可选的,预设的报文头字段可以为校验字段。Optionally, the preset packet header field may be a check field.
监控信号生成单元113a可以周期地获取监控信息,数据帧生成单元112a可以获取该监控信息,生成包括该监控信息的第二OTN数据帧,根据预设的策略从该至少一个缓存队列116a中选择一个缓存队列,从选择的缓存队列中读取报文数据,将该报文数据添加到第二OTN数据帧的第675个字节至第3824个字节的字段中得到第一OTN数据帧,即ONU1b生成的数据帧可以为第一OTN数据帧。The monitoring signal generating unit 113a may periodically obtain monitoring information, the data frame generating unit 112a may obtain the monitoring information, generate a second OTN data frame including the monitoring information, and select one from the at least one buffer queue 116a according to a preset strategy Cache queue, read the message data from the selected cache queue, add the message data to the field from the 675th byte to the 3824th byte of the second OTN data frame to obtain the first OTN data frame, that is The data frame generated by the ONU1b may be the first OTN data frame.
步骤303:ONU1b将该数据帧转换成第一波长的第一光信号。Step 303: The ONU1b converts the data frame into a first optical signal of a first wavelength.
参见图7,ONU1b的监控单元11还包括编解码单元114a和光转换单元115a,ONU1b还包括光纤接口单元21,数据帧生成单元112a在得到第一OTN数据帧后,可以向编解码单元114a发送第一OTN数据帧;编解码单元114a将第一OTN数据帧转换成电信号,向光转换单元115a发送该电信号;光转换单元115a将该光信号转换成第一波长的第一光信号,向光纤接口单元21包括的合波单元211a发送该第一光信号。Referring to Figure 7, the monitoring unit 11 of the ONU1b further includes a codec unit 114a and an optical conversion unit 115a. The ONU1b also includes an optical fiber interface unit 21. The data frame generating unit 112a can send the first OTN data frame to the codec unit 114a after obtaining the first OTN data frame. An OTN data frame; the codec unit 114a converts the first OTN data frame into an electrical signal, and sends the electrical signal to the optical conversion unit 115a; the optical conversion unit 115a converts the optical signal into a first optical signal of the first wavelength, The multiplexing unit 211a included in the optical fiber interface unit 21 transmits the first optical signal.
步骤304:ONU1b将该业务报文转换成第二波长的第二光信号,第一波长和第二波长不同。Step 304: The ONU 1b converts the service message into a second optical signal of a second wavelength, where the first wavelength and the second wavelength are different.
ONU1b包括的光交叉单元31在通过业务接入单元41中的第二端口接收该业务报文时,确定该第二端口对应的第二波长,根据该第二波长将该业务报文转换成第二光信号,向光纤接口单元21包括的合波单元211a发送该第二光信号。When the optical cross unit 31 included in the ONU 1b receives the service message through the second port in the service access unit 41, it determines the second wavelength corresponding to the second port, and converts the service message into the first wavelength according to the second wavelength. The second optical signal is sent to the multiplexing unit 211a included in the optical fiber interface unit 21.
可选的,步骤304和上述步骤302、303可以同时执行,也可以先执行步骤302、303,再执行步骤304,或可以先执行步骤304,再执行步骤302、303。Optionally, step 304 and the above-mentioned steps 302 and 303 may be performed at the same time, or steps 302 and 303 may be performed first, and then step 304 may be performed, or step 304 may be performed first, and then steps 302 and 303 may be performed.
步骤305:ONU1b在光纤上向ONU2b发送第一光信号和第二光信号。Step 305: ONU1b sends the first optical signal and the second optical signal to ONU2b on the optical fiber.
光纤接口单元21包括的合波单元211a接收该第一光信号和第二光信号,在光纤上向ONU2b发送第一光信号和第二光信号。The multiplexing unit 211a included in the optical fiber interface unit 21 receives the first optical signal and the second optical signal, and sends the first optical signal and the second optical signal to the ONU 2b on the optical fiber.
可选的,如果合波单元211a同时接收到第一光信号和第二光信号,合波单元211a将第一光信号和第二光信号合成一路光信号,在光纤上向ONU2b发送该一路光信号。如果合波单元211a在不同时间接收到第一光信号和第二光信号,合波单元211a在接收到第一光信号时,在光纤上向ONU2b发送第一光信号,在接收到第二光信号时,在光纤上向ONU2b发送第二光信号。Optionally, if the multiplexing unit 211a receives the first optical signal and the second optical signal at the same time, the multiplexing unit 211a combines the first optical signal and the second optical signal into one optical signal, and sends the optical signal to the ONU 2b on the optical fiber. signal. If the multiplexing unit 211a receives the first optical signal and the second optical signal at different times, when the multiplexing unit 211a receives the first optical signal, it sends the first optical signal to the ONU 2b on the optical fiber. When signal, the second optical signal is sent to ONU2b on the optical fiber.
对于ONU2b,ONU2b可以在该光纤上接收ONU1b发送的光信号,从该光信号中获取第一波长的第一光信号和第二波长的第二光信号,将第一光信号转换成数据帧,从该数据帧提取报文数据,将该报文数据封装成管理报文,通过其包括的第一端口向区域2的管理网络2d发送该管理报文;将第二光信号转换成业务报文,通过其包括的第二端口向区域2的城域网2a发送该业务报文。For ONU2b, ONU2b can receive the optical signal sent by ONU1b on the optical fiber, obtain the first optical signal of the first wavelength and the second optical signal of the second wavelength from the optical signal, and convert the first optical signal into a data frame, The message data is extracted from the data frame, the message data is encapsulated into a management message, and the management message is sent to the management network 2d of area 2 through the included first port; the second optical signal is converted into a service message , Sending the service message to the metropolitan area network 2a of area 2 through the second port included therein.
该光信号可以是ONU1b发送的第一光信号、第二光信号或是第一光信号和第二光信号合成的一路信号。The optical signal may be a first optical signal, a second optical signal sent by the ONU 1b, or a combination of the first optical signal and the second optical signal.
可选的,参见图7,ONU2b包括监控单元12、光纤接口单元22、光交叉单元32和业务接入单元42,业务接入单元42包括至少一个第二端口,监控单元12包括光转换单元115b、编解码单元114b、数据帧生成单元112b、至少一个缓存队列116b和信号处理单元111b等,信号处理单元11b设有第一端口。Optionally, referring to FIG. 7, the ONU 2b includes a monitoring unit 12, an optical fiber interface unit 22, an optical crossover unit 32, and a service access unit 42, the service access unit 42 includes at least one second port, and the monitoring unit 12 includes an optical conversion unit 115b , The encoding and decoding unit 114b, the data frame generating unit 112b, at least one buffer queue 116b and the signal processing unit 111b, etc. The signal processing unit 11b is provided with a first port.
光纤接口单元22包括的分波单元212b从该光纤上接收ONU1b发送的光信号,如果该光信号是第一光信号和第二光信号合成的一路光信号,则从该一路光信号中区分出第一波长的第一光信号和第二波长的第二光信号,向光转换单元115b发送第一光信号以及向光交叉单元32发送第二光信号;如果该光信号是第一波长的第一光信号,则向光转换单元115b发送第一光信号;如果该光信号是第二波长的第二光信号,则向光交叉单元32发送第二光信号。The demultiplexing unit 212b included in the optical fiber interface unit 22 receives the optical signal sent by the ONU1b from the optical fiber, and if the optical signal is a combination of the first optical signal and the second optical signal, it is distinguished from the optical signal. The first optical signal of the first wavelength and the second optical signal of the second wavelength are sent to the optical conversion unit 115b and the second optical signal is sent to the optical cross unit 32; if the optical signal is the first optical signal of the first wavelength For an optical signal, the first optical signal is sent to the optical conversion unit 115b; if the optical signal is a second optical signal of the second wavelength, the second optical signal is sent to the optical cross unit 32.
光转换单元115b可以将第一光信号转换成电信号,向编解码单元114b发送该电信号;编解码单元114b将该电信号转换成数据帧,该数据帧可以为第一OTN数据帧,向数据帧生成单元112b发送第一OTN数据帧;数据帧生成单元112b可以从第一OTN数据帧提取报文数据,识别该报文数据中的优先级字段,提取该优先级字段中的优先级,将该报文数据缓存到该优先级对应的缓存队列中;信号处理单元111b可以根据每个缓存队列对应的优先级通过预设的策略选择一个缓存队列,从选择的缓存队列中获取报文数据,根据该报文数据生成预设类型的报文头字段,在该报文数据中添加该报文头字段,得到管理报文,通过第一端口向区域2的管理网络2d发送该管理报文。The optical conversion unit 115b can convert the first optical signal into an electrical signal and send the electrical signal to the codec unit 114b; the codec unit 114b converts the electrical signal into a data frame, which can be the first OTN data frame, The data frame generating unit 112b sends the first OTN data frame; the data frame generating unit 112b can extract message data from the first OTN data frame, identify the priority field in the message data, and extract the priority in the priority field, The message data is cached in the cache queue corresponding to the priority; the signal processing unit 111b can select a cache queue according to the priority corresponding to each cache queue through a preset strategy, and obtain the message data from the selected cache queue , Generate a preset type of message header field according to the message data, add the message header field to the message data to obtain a management message, and send the management message to the management network 2d of area 2 through the first port .
可选的,在预设类型的报文头字段为校验字段时,可以计算该报文数据的循环冗余校验(cyclic redundancy check,CRC)值,将该CRC值作为该校验字段。Optionally, when the preset type of message header field is a check field, a cyclic redundancy check (CRC) value of the message data may be calculated, and the CRC value may be used as the check field.
可选的,光交叉单元32接收第二光信号,将第二光信号转换成业务报文,确定该第二光信号的第二波长对应的第二端口,通过业务接入单元42包括的该第二端口向区域2的城域网2a中发送该业务报文。Optionally, the optical cross unit 32 receives the second optical signal, converts the second optical signal into a service packet, determines the second port corresponding to the second wavelength of the second optical signal, and uses the service access unit 42 to include the The second port sends the service message to the metropolitan area network 2a in area 2.
可选的,ONU2b也可以在光纤上向ONU1b发送光信号,该光信号可以是第一波长的第一光信号、第二波长的第二光信号或第一光信号和第二光信号合成后的一路光信号。ONU2b发送光信号的实现过程和ONU1b发送光信号的实现过程相同,在此不再详细说明。参见图8,ONU1b还可以通过如下流程来接收光信号。Optionally, ONU2b may also send an optical signal to ONU1b on an optical fiber. The optical signal may be a first optical signal of a first wavelength, a second optical signal of a second wavelength, or a combination of the first optical signal and the second optical signal. All the way light signal. The implementation process of ONU2b sending optical signals is the same as the implementation process of ONU1b sending optical signals, and will not be described in detail here. Referring to Figure 8, ONU1b can also receive optical signals through the following process.
步骤401:ONU1b在该光纤上接收ONU2b发送的光信号,从该光信号中获取第一波长的第一光信号和第二波长的第二光信号。Step 401: ONU 1b receives the optical signal sent by ONU 2b on the optical fiber, and obtains the first optical signal of the first wavelength and the second optical signal of the second wavelength from the optical signal.
该光信号可以是第一波长的第一光信号、第二波长的第二光信号或第一光信号和第二光信号合成后的一路光信号。The optical signal may be a first optical signal of a first wavelength, a second optical signal of a second wavelength, or a combination of the first optical signal and the second optical signal.
参见图7,光纤接口单元21包括的分波单元212a从该光纤上接收ONU2b发送的光信号,如果该光信号是第一光信号和第二光信号合成的一路信号,则从该光信号中区分出第一波长的第一光信号和第二波长的第二光信号,向光转换单元115a发送第一光信号以及向光交叉单元31发送第二光信号;如果该光信号是第一波长的第一光信号,则向光转换单元115a发送第一光信号;如果该光信号是第二波长的第二光信号,则向光交叉单元31发送第二光信号。Referring to FIG. 7, the demultiplexing unit 212a included in the optical fiber interface unit 21 receives the optical signal sent by the ONU 2b from the optical fiber. If the optical signal is a combination of the first optical signal and the second optical signal, the optical signal is Distinguish the first optical signal of the first wavelength and the second optical signal of the second wavelength, and send the first optical signal to the optical conversion unit 115a and the second optical signal to the optical cross unit 31; if the optical signal is the first wavelength If the optical signal is the second optical signal of the second wavelength, then the second optical signal is sent to the optical cross unit 31.
步骤402:ONU1b将第一光信号转换成数据帧,从该数据帧提取报文数据,将该报文数据封装成属于管理业务的管理报文,通过第一端口向区域1内的管理网络1d发送该管理报文。Step 402: ONU 1b converts the first optical signal into a data frame, extracts message data from the data frame, encapsulates the message data into a management message belonging to a management service, and sends it to the management network 1d in area 1 through the first port Send the management message.
参见图7,光转换单元115a可以将第一光信号转换成电信号,向编解码单元114a发送该电信号;编解码单元114a将该电信号转换成第一OTN数据帧,向数据帧生成单元112a发送第一OTN数据帧;数据帧生成单元112a从第一数据帧中提取报文数据,识别该报文数据中的优先级字段,提取该优先级字段中的优先级,将该报文数据缓存到该优先级对应的缓存队列;信号处理单元11a根据每个缓存队列对应的优先级,通过预设的策略选择一个缓存队列,从选择的缓存队列中读取报文数据,根据该报文数据生成预设类型的报文头字段,在该报文数据中添加该报文头字段,得到管理报文,通过第一端口向区域1内的管理网络1d发送该管理报文。Referring to FIG. 7, the optical conversion unit 115a may convert the first optical signal into an electrical signal, and send the electrical signal to the codec unit 114a; the codec unit 114a converts the electrical signal into a first OTN data frame, and sends the electrical signal to the data frame generation unit. 112a sends the first OTN data frame; the data frame generating unit 112a extracts the message data from the first data frame, identifies the priority field in the message data, extracts the priority in the priority field, and then the message data Cache to the cache queue corresponding to the priority; the signal processing unit 11a selects a cache queue through a preset strategy according to the priority corresponding to each cache queue, reads the message data from the selected cache queue, and reads the message data according to the message The data generates a message header field of a preset type, adds the message header field to the message data to obtain a management message, and sends the management message to the management network 1d in area 1 through the first port.
步骤403:ONU1b将第二光信号转换成业务报文,通过第二端口向区域1的城域网1a发送该业务报文。Step 403: The ONU 1b converts the second optical signal into a service message, and sends the service message to the metropolitan area network 1a of area 1 through the second port.
可选的,光交叉模块31接收第二光信号,将第二光信号转换成业务报文,确定第二光信号的第二波长对应的第二端口,通过业务接入单元41中的该第二端口向区域1的城域网1a发送该业务报文。Optionally, the optical cross module 31 receives the second optical signal, converts the second optical signal into a service packet, determines the second port corresponding to the second wavelength of the second optical signal, and passes the second port in the service access unit 41 The second port sends the service message to the metropolitan area network 1a in area 1.
可选的,步骤402和上述步骤403可以同时执行,也可以先执行步骤402,再执行步骤403,或可以先执行步骤403,再执行步骤402。Optionally, step 402 and the aforementioned step 403 may be performed at the same time, or step 402 may be performed first, and then step 403 may be performed, or step 403 may be performed first, and then step 402 may be performed.
在本申请实施例中,ONU1b包括第一端口和第二端口,通过第一端口接收区域1内的管理网络发送的管理报文以及通过第二端口从区域1的城域网中接收业务报文,将管理报文中的报文数据转换成第一波长的第一光信号,以及将业务报文转换成第二波长的第二光信号,在光纤上发送第一光信号和第二光信号。ONU2b从该光纤上接收光信号,从该光信号中区分第一波长的第一光信号和第二波长的第二光信号,将第一光信号转换成报文数据,将该报文数据封装成管理报文,将第二光信号转换成业务报文,然后通过其包括的第一端口向区域2的管理网络发送该管理报文,通过其包括的第二端口向区域2的城域网发送业务报文。由于第一波长与第二波长不同,不同波长对应ONU1b和ONU2b之间的不同信道,这样在ONU1b侧将管理业务对应的第一光信号和用户业务对应的第二光信号分在不同信道上传输,这样基于该两个信道建立的用于传输管理业务的管理通道和用于传输用户业务的业务通道可以被分离,使得业务通道的异常不会影响管理业务的正常传输。In the embodiment of the present application, ONU1b includes a first port and a second port, and receives management messages sent by the management network in area 1 through the first port and receives service messages from the metropolitan area network in area 1 through the second port. , Convert the message data in the management message into the first optical signal of the first wavelength, and convert the service message into the second optical signal of the second wavelength, and send the first optical signal and the second optical signal on the optical fiber . ONU2b receives the optical signal from the optical fiber, distinguishes the first optical signal of the first wavelength and the second optical signal of the second wavelength from the optical signal, converts the first optical signal into message data, and encapsulates the message data Convert the second optical signal into a service message, and then send the management message to the management network of area 2 through its first port, and send it to the metropolitan area network of area 2 through its second port. Send business messages. Since the first wavelength is different from the second wavelength, different wavelengths correspond to different channels between ONU1b and ONU2b, so that the first optical signal corresponding to the management service and the second optical signal corresponding to the user service are divided into different channels for transmission on the ONU1b side In this way, the management channel established based on the two channels for transmitting management services and the service channel for transmitting user services can be separated, so that the abnormality of the service channel will not affect the normal transmission of management services.
参见图9,图9所示为本申请实施例提供的一种通信装置500示意图。该装置500包括:Referring to FIG. 9, FIG. 9 is a schematic diagram of a communication device 500 provided by an embodiment of the application. The device 500 includes:
双路光监控信道(bi-directional optical supervisory channel board,SC2)单板501、光纤线路接口(fiber interface Unit,FIU)单板502、通用交叉连接板(Universal Cross Connect Board,UXCT)单板503和分支业务处理板(tributary service processing board,TTX)单板504,SC2单板501设有第一端口,TTX单板504设有至少一个第二端口。Bi-directional optical supervisory channel board (SC2) single board 501, fiber interface unit (FIU) single board 502, universal cross connect board (Universal Cross Connect Board, UXCT) single board 503 and The branch service processing board (TTX) board 504, the SC2 board 501 is provided with a first port, and the TTX board 504 is provided with at least one second port.
FIU单板502分别与SC2单板501和UXCT单板503连接,UXCT单板503还与TTX单板504连接。The FIU single board 502 is connected to the SC2 single board 501 and the UXCT single board 503, respectively, and the UXCT single board 503 is also connected to the TTX single board 504.
该装置500位于一个区域内,SC2单板501中的第一端口与该区域内的管理网络相连,TTX单板504中的每个第二端口与该区域内的城域网连接,FIU单板502通过光纤与其他区域的ONU连接。The device 500 is located in an area, the first port in the SC2 board 501 is connected to the management network in the area, and each second port in the TTX board 504 is connected to the metropolitan area network in the area, and the FIU board 502 is connected to ONUs in other areas through optical fibers.
可选的,第一端口可以为以太网接口。Optionally, the first port may be an Ethernet interface.
该装置500是一种硬件结构的装置,可以用于实现图2、图4和图5所述的ONU中的功能单元。例如,本领域技术人员可以想到图2、图4和图5所示ONU中的监控单元1可以使用SC2单板501来实现,图2、图4和图5所示ONU中的光纤接口单元2可以使用FIU单板502来实现,图2、图4和图5所示ONU中的光交叉单元3可以使用UXCT单板503来实现,图2、图4和图5所示ONU中的业务接入单元4可以使用TTX单板504来实现。The device 500 is a device with a hardware structure and can be used to implement the functional units in the ONU described in FIG. 2, FIG. 4, and FIG. 5. For example, those skilled in the art can imagine that the monitoring unit 1 in the ONU shown in Figures 2, 4, and 5 can be implemented using the SC2 single board 501, and the optical fiber interface unit 2 in the ONU shown in Figures 2, 4, and 5 The FIU board 502 can be used for implementation. The optical cross unit 3 in the ONU shown in Figure 2, Figure 4 and Figure 5 can be implemented by the UXCT single board 503. The service interface in the ONU shown in Figure 2, Figure 4 and Figure 5 The input unit 4 can be implemented using a TTX single board 504.
可选的,参见图9,该装置500还可以包括系统控制与通信(system control and communication Board,SCC)单板505,图5所示的管理单元5可以使用SCC单板505来实现。Optionally, referring to FIG. 9, the device 500 may further include a system control and communication (system control and communication board, SCC) single board 505, and the management unit 5 shown in FIG. 5 may be implemented using the SCC single board 505.
可选的,参见图10,SC2单板501可以包括端口物理层(port physical layer,PHY)芯片5011、第一处理器5012、第二处理器5013、前向纠错(forward error correction,FEC)芯片5014和存储器5015,PHY芯片5011中设有第一端口。Optionally, referring to FIG. 10, the SC2 single board 501 may include a port physical layer (PHY) chip 5011, a first processor 5012, a second processor 5013, and forward error correction (FEC). The chip 5014 and the memory 5015, and the PHY chip 5011 is provided with a first port.
PHY芯片5011、第一处理器5012、第二处理器5013、FEC芯片5014和存储器5015可以集成在单板(图中未画出)上。PHY芯片5011与存储器5015连接,存储器5015还第一处理器5012连接,第一处理器5012还分别与第二处理器5013和FEC芯片5014连接,FEC芯片5014还与FIU单板502连接。The PHY chip 5011, the first processor 5012, the second processor 5013, the FEC chip 5014, and the memory 5015 may be integrated on a single board (not shown in the figure). The PHY chip 5011 is connected to the memory 5015, the memory 5015 is also connected to the first processor 5012, the first processor 5012 is also connected to the second processor 5013 and the FEC chip 5014 respectively, and the FEC chip 5014 is also connected to the FIU board 502.
对于图4和图5所示ONU中的监控单元1,该监控单元1中的信号处理单元111可以使用PHY芯片5011来实现,数据帧生成单元112可以使用第一处理器5012来实现,监控信号生成单元113可以使用第二处理器5013,编解码单元114可以使用FEC芯片5014来实现,至少一个缓存队列116可以位于存储器5015中。光转换单元115是本领域中常见的硬件元器件,为了实施方式简洁清楚,本实施例不需要其结构做介绍。For the monitoring unit 1 in the ONU shown in FIGS. 4 and 5, the signal processing unit 111 in the monitoring unit 1 can be implemented using a PHY chip 5011, and the data frame generating unit 112 can be implemented using the first processor 5012, and the monitoring signal The generating unit 113 may use the second processor 5013, the encoding and decoding unit 114 may be implemented by using an FEC chip 5014, and at least one cache queue 116 may be located in the memory 5015. The light conversion unit 115 is a common hardware component in the field. In order to be concise and clear in the implementation, this embodiment does not need to introduce its structure.
可选的,第一处理器5012可以为中央处理器(Central Processing Unit,CPU)或现场可编程门阵列(field programmable gate array,FPGA)等,第二处理器5013可以为CPU等。Optionally, the first processor 5012 may be a central processing unit (Central Processing Unit, CPU) or a field programmable gate array (FPGA), etc., and the second processor 5013 may be a CPU or the like.
PHY芯片5011的型号可以为RTL8211,FEC芯片5014的型号可以为IXF30005。The model of the PHY chip 5011 can be RTL8211, and the model of the FEC chip 5014 can be IXF30005.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储 介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。A person of ordinary skill in the art can understand that all or part of the steps in the above embodiments can be implemented by hardware, or by a program instructing related hardware to complete. The program can be stored in a computer-readable storage medium. The storage medium mentioned can be a read-only memory, a magnetic disk or an optical disk, etc.
以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above are only optional embodiments of this application and are not intended to limit this application. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of this application shall be included in the protection of this application Within range.

Claims (13)

  1. 一种通信方法,其特征在于,所述方法包括:A communication method, characterized in that the method includes:
    第一光网络节点ONU通过其包括的第一端口接收来自管理网络的管理报文以及通过其包括的第二端口从城域网中接收业务报文,所述管理报文属于管理业务,所述业务报文属于用户业务;The first optical network node ONU receives a management message from the management network through its first port and receives a service message from the metropolitan area network through its second port. The management message belongs to a management service. Business messages belong to user services;
    所述第一ONU生成数据帧,所述数据帧包括所述管理报文中的报文数据;Generating a data frame by the first ONU, the data frame including message data in the management message;
    所述第一ONU将所述数据帧转换成第一波长的第一光信号以及将所述业务报文转换成第二波长的第二光信号,所述第一波长与所述第二波长不同;The first ONU converts the data frame into a first optical signal of a first wavelength and converts the service packet into a second optical signal of a second wavelength, where the first wavelength is different from the second wavelength ;
    所述第一ONU向第二ONU发送所述第一光信号和所述第二光信号。The first ONU sends the first optical signal and the second optical signal to the second ONU.
  2. 如权利要求1所述的方法,其特征在于,所述数据帧为第一光传送网OTN数据帧,所述ONU生成数据帧,包括:The method according to claim 1, wherein the data frame is a first optical transport network OTN data frame, and generating the data frame by the ONU comprises:
    所述第一ONU生成第二OTN数据帧;Generating a second OTN data frame by the first ONU;
    所述第一ONU将所述管理报文中的报文数据添加到所述第二OTN数据帧的目标字段中,得到第一OTN数据帧。The first ONU adds the message data in the management message to the target field of the second OTN data frame to obtain the first OTN data frame.
  3. 如权利要求1或2所述的方法,其特征在于,所述第一ONU生成数据帧之前,还包括:The method according to claim 1 or 2, wherein before the first ONU generates the data frame, the method further comprises:
    所述第一ONU从所述管理报文的报文头中去除预设类型的报文头字段,得到所述管理报文中的报文数据。The first ONU removes the message header field of the preset type from the message header of the management message to obtain message data in the management message.
  4. 如权利要求3所述的方法,其特征在于,所述预设类型的报文头字段为校验字段。The method according to claim 3, wherein the message header field of the preset type is a check field.
  5. 如权利要求1至4任一项所述的方法,其特征在于,所述第一ONU包括至少一个缓存队列,所述至少一个缓存队列中的每个缓存队列对应一个优先级;The method according to any one of claims 1 to 4, wherein the first ONU includes at least one cache queue, and each cache queue in the at least one cache queue corresponds to a priority;
    所述第一ONU通过其包括的第一端口接收来自管理网络的管理报文之后,还包括:After the first ONU receives the management message from the management network through the included first port, the method further includes:
    识别所述管理报文的优先级字段,从所述优先级字段中提取所述管理报文的优先级,将所述管理报文的报文数据缓存到所述管理报文的优先级对应的缓存队列中;Identify the priority field of the management message, extract the priority of the management message from the priority field, and cache the message data of the management message to the corresponding priority of the management message In the cache queue;
    所述第一ONU生成数据帧,包括:The generating of the data frame by the first ONU includes:
    所述第一ONU根据所述每个缓存队列对应的优先级,通过预设策略从所述至少一个缓存队列中选择一个缓存队列;The first ONU selects a cache queue from the at least one cache queue through a preset strategy according to the priority corresponding to each cache queue;
    所述第一ONU从所述选择的缓存队列中获取报文数据,生成包括所述获取的报文数据的数据帧。The first ONU obtains the message data from the selected buffer queue, and generates a data frame including the obtained message data.
  6. 如权利要求1至5任一项所述的方法,其特征在于,所述第一端口为以太网接口。The method according to any one of claims 1 to 5, wherein the first port is an Ethernet interface.
  7. 一种通信装置,其特征在于,所述装置包括:监控单元、光交叉单元、业务接入单元和光纤接口单元,所述监控单元上设有第一端口,所述业务接入单元上设有第二端口;A communication device, characterized in that the device includes: a monitoring unit, an optical crossover unit, a service access unit, and an optical fiber interface unit, the monitoring unit is provided with a first port, and the service access unit is provided with Second port
    所述监控单元,用于通过所述第一端口接收来自管理网络的管理报文,所述管理报文 属于管理业务,生成数据帧,所述数据帧包括所述管理报文中的报文数据;将所述数据帧转换成第一波长的第一光信号;The monitoring unit is configured to receive a management message from a management network through the first port, the management message belongs to a management service, and generate a data frame, the data frame including the message data in the management message ; Convert the data frame into a first optical signal of a first wavelength;
    所述业务接入单元,用于通过所述第二端口从城域网中接收业务报文,所述业务报文属于用户业务;The service access unit is configured to receive service messages from a metropolitan area network through the second port, where the service messages belong to user services;
    所述光交叉单元,用于将所述业务报文转换成第二波长的第二光信号,所述第一波长与所述第二波长不同;The optical crossover unit is configured to convert the service message into a second optical signal of a second wavelength, where the first wavelength is different from the second wavelength;
    所述光纤接口单元,用于向第二光网络节点ONU发送所述第一光信号和所述第二光信号。The optical fiber interface unit is configured to send the first optical signal and the second optical signal to a second optical network node ONU.
  8. 如权利要求7所述的装置,其特征在于,所述数据帧为第一光传送网OTN数据帧,所述监控单元,用于:8. The device according to claim 7, wherein the data frame is a first optical transport network OTN data frame, and the monitoring unit is configured to:
    生成第二OTN数据帧;Generate a second OTN data frame;
    将所述管理报文中的报文数据添加到所述第二OTN数据帧的目标字段中,得到第一OTN数据帧。The message data in the management message is added to the target field of the second OTN data frame to obtain the first OTN data frame.
  9. 如权利要求7或8所述的装置,其特征在于,所述监控单元,还用于:The device according to claim 7 or 8, wherein the monitoring unit is further configured to:
    从所述管理报文的报文头中去除预设类型的报文头字段,得到所述管理报文中的报文数据。The message header field of the preset type is removed from the message header of the management message to obtain message data in the management message.
  10. 如权利要求9所述的装置,其特征在于,所述预设类型的报文头字段为校验字段。The apparatus according to claim 9, wherein the message header field of the preset type is a check field.
  11. 如权利要求7至10任一项所述的装置,其特征在于,所述监控单元包括至少一个缓存队列,所述至少一个缓存队列中的每个缓存队列对应一个优先级;The device according to any one of claims 7 to 10, wherein the monitoring unit comprises at least one cache queue, and each cache queue in the at least one cache queue corresponds to a priority;
    所述监控单元,用于:The monitoring unit is used for:
    识别所述管理报文的优先级字段,从所述优先级字段中提取所述管理报文的优先级,将所述管理报文的报文数据缓存到所述管理报文的优先级对应的缓存队列中;Identify the priority field of the management message, extract the priority of the management message from the priority field, and cache the message data of the management message to the corresponding priority of the management message In the cache queue;
    根据所述每个缓存队列对应的优先级,通过预设策略从所述至少一个缓存队列中选择一个缓存队列;Selecting a cache queue from the at least one cache queue through a preset strategy according to the priority corresponding to each cache queue;
    从所述选择的缓存队列中获取报文数据,生成包括所述获取的报文数据的数据帧。Obtain message data from the selected buffer queue, and generate a data frame including the acquired message data.
  12. 如权利要求7至11任一项所述的装置,其特征在于,所述第一端口为以太网接口。The device according to any one of claims 7 to 11, wherein the first port is an Ethernet interface.
  13. 一种通信系统,其特征在于,所述系统包括:第一光网络节点ONU和第二ONU;A communication system, characterized in that the system includes: a first optical network node ONU and a second ONU;
    所述第一ONU,用于通过其包括的第一端口接收来自其所在区域的管理网络的管理报文以及通过其包括的第二端口从其所在区域的城域网中接收业务报文,所述管理报文属于管理业务,所述业务报文属于用户业务;生成数据帧,所述数据帧包括所述管理报文中的报文数据;将所述数据帧转换成第一波长的第一光信号以及将所述业务报文转换成第二波长的第二光信号,所述第一波长与所述第二波长不同;将所述第一光信号和所述第二光信号合为一路光信号,向所述第二ONU发送所述一路光座号;The first ONU is configured to receive management messages from the management network in its area through its first port and to receive service messages from the metropolitan area network in its area through its second port, so The management message belongs to a management service, and the service message belongs to a user service; a data frame is generated, and the data frame includes the message data in the management message; the data frame is converted into the first wavelength of the first wavelength Optical signal and a second optical signal that converts the service packet into a second wavelength, where the first wavelength is different from the second wavelength; combining the first optical signal and the second optical signal into one Optical signal, sending the optical seat number of the first channel to the second ONU;
    所述第二ONU,用于从所述一路光信号中获取第一波长的第一光信号和第二波长的第二光信号,将所述第一光信号转换成数据帧,从所述数据帧中提取报文数据,将所述报文数据封装成管理报文,通过其包括的第一端口向其所在区域内的管理网络发送所述管理报文;将所述第二光信号转换成业务报文,通过其包括的第二端口向其所在区域内的城域网发送所述业务报文。The second ONU is configured to obtain a first optical signal of a first wavelength and a second optical signal of a second wavelength from the optical signal, convert the first optical signal into a data frame, and obtain the data from the data The message data is extracted from the frame, the message data is encapsulated into a management message, and the management message is sent to the management network in the area where it includes the first port; the second optical signal is converted into The service message is sent to the metropolitan area network in the area where the service message is located through the second port included in the service message.
PCT/CN2020/072359 2019-01-17 2020-01-16 Communication method, apparatus, and system WO2020147766A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910045228.5A CN111447036B (en) 2019-01-17 2019-01-17 Communication method, device and system
CN201910045228.5 2019-01-17

Publications (1)

Publication Number Publication Date
WO2020147766A1 true WO2020147766A1 (en) 2020-07-23

Family

ID=71613506

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/072359 WO2020147766A1 (en) 2019-01-17 2020-01-16 Communication method, apparatus, and system

Country Status (2)

Country Link
CN (1) CN111447036B (en)
WO (1) WO2020147766A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119163A (en) * 2006-07-31 2008-02-06 华为技术有限公司 WDM-PON method, system and optical line terminal for implementing multicast service
CN102369737A (en) * 2011-09-05 2012-03-07 华为技术有限公司 Data communication method of optical network system, optical network units and system
CN104137444A (en) * 2012-12-26 2014-11-05 华为技术有限公司 Wavelength identification method, device, and system
CN106031064A (en) * 2014-12-30 2016-10-12 华为技术有限公司 Communication method, apparatus and system applied to multi-wavelength passive optical network
JP2018170572A (en) * 2017-03-29 2018-11-01 日本電信電話株式会社 Optical communication apparatus and wavelength switching method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102821029B (en) * 2011-06-08 2015-11-11 上海贝尔股份有限公司 Multi-service bandwidth allocation method in a kind of Ethernet passive optical network and device thereof
US10284290B2 (en) * 2015-09-30 2019-05-07 Juniper Networks, Inc. Packet routing using optical supervisory channel data for an optical transport system
CN107517151B (en) * 2017-09-30 2019-06-28 中国联合网络通信集团有限公司 User access method, CPE, OLT, interchanger, vBNG, SDN controller and Metropolitan Area Network (MAN)

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119163A (en) * 2006-07-31 2008-02-06 华为技术有限公司 WDM-PON method, system and optical line terminal for implementing multicast service
CN102369737A (en) * 2011-09-05 2012-03-07 华为技术有限公司 Data communication method of optical network system, optical network units and system
CN104137444A (en) * 2012-12-26 2014-11-05 华为技术有限公司 Wavelength identification method, device, and system
CN106031064A (en) * 2014-12-30 2016-10-12 华为技术有限公司 Communication method, apparatus and system applied to multi-wavelength passive optical network
JP2018170572A (en) * 2017-03-29 2018-11-01 日本電信電話株式会社 Optical communication apparatus and wavelength switching method

Also Published As

Publication number Publication date
CN111447036B (en) 2023-02-03
CN111447036A (en) 2020-07-24

Similar Documents

Publication Publication Date Title
US10341748B2 (en) Packet-optical in-band telemetry (POINT) framework
JP4844219B2 (en) Optical network and node
US10313768B2 (en) Data scheduling and switching method, apparatus, system
US20090180782A1 (en) Apparatus, system, computer program, and method for providing a multimedia-over-coax-alliance network in conjunction with an optical network
US20090003235A1 (en) Method and Apparatus For Data Frame Transmission
JP2009500979A (en) Transparent transport of Fiber Channel traffic over packet-switched networks
JP2006287929A (en) Optical network and node
US9413466B2 (en) Distributed pon transceiver architecture
CN101682459A (en) Response to OTUK-BDI for ITN interfaces to restore bidirectional communications
CA2377093C (en) Method, equipment and system for signaling in a network including ethernet
JPWO2010106941A1 (en) Network communication system, communication apparatus, network cooperation method and program
JP2007074256A (en) Multiple llid processing device
US9426058B2 (en) Transmission equipment and transmission method
US20030161344A1 (en) Method and device for transporting ethernet frames over transport SDH/SONET network
WO2020147766A1 (en) Communication method, apparatus, and system
US7590135B2 (en) Methods and apparatus to perform security related operations on received signals
JP2010010995A (en) Protection switch system in gfp frame layer
WO2018173147A1 (en) Host device, counter device, communication system, and communication method
CN115633279B (en) OSU (open service Unit) cross equipment and data transmission method based on OSU cross equipment
JP5655739B2 (en) OPTICAL LINE UNIT, OPTICAL ACCESS TERMINING DEVICE, AND COMMUNICATION CONTROL METHOD
WO2024002146A1 (en) Time slot configuration method, apparatus, and system
JP5365417B2 (en) Priority control device and network system using the same
Bidkar et al. Circuit performance in a packet network: Demonstrating integrated Carrier Ethernet Switch Router (CESR)+ Optical Transport Network (OTN)
JP2023089436A (en) Transmission system, transmitting device, receiving device, management information transmission method, and management information receiving method
JP2020113877A (en) Pon station side device, management server, pon system, and method for managing subscriber line

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20741577

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20741577

Country of ref document: EP

Kind code of ref document: A1