WO2022228078A1 - 一种数据传输方法、装置、系统和通信设备 - Google Patents

一种数据传输方法、装置、系统和通信设备 Download PDF

Info

Publication number
WO2022228078A1
WO2022228078A1 PCT/CN2022/085653 CN2022085653W WO2022228078A1 WO 2022228078 A1 WO2022228078 A1 WO 2022228078A1 CN 2022085653 W CN2022085653 W CN 2022085653W WO 2022228078 A1 WO2022228078 A1 WO 2022228078A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
address
management
information
channel
Prior art date
Application number
PCT/CN2022/085653
Other languages
English (en)
French (fr)
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 WO2022228078A1 publication Critical patent/WO2022228078A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a data transmission method, apparatus, system and communication device.
  • IP Internet Protocol
  • DCN Data Communication Network
  • Embodiments of the present application provide a data transmission method, apparatus, system, and communication device.
  • an embodiment of the present application provides a data transmission method, the method comprising:
  • the first device sends a first message to the second device through a FlexE (FlexE, Flex Ethernet), a Metro Transport Network (MTN, Metro Transport Network) or an SPN overhead frame; the first message includes a DCN channel identifier and a Information about the device going online;
  • FlexE FlexibleE, Flex Ethernet
  • MTN Metro Transport Network
  • SPN SPN overhead frame
  • the first device receives, through the second device, a third message from a third device, where the third message includes a management IP address allocated by the third device to the first device;
  • the first device accesses the data communication network based on the management IP address.
  • the relevant information for the device going online includes at least one of the following: a media access control (MAC, Media Access Control) address of the device, a system name, system description information, an internet protocol Version 6 (IPv6, Internet Protocol Version 6) management addresses, Internet Protocol version 4 (IPv4, Internet Protocol version 4) management addresses.
  • MAC media access control
  • IPv6 Internet Protocol Version 6
  • IPv4 Internet Protocol version 4
  • the first message is transmitted through the first channel in the FlexE overhead frame of the FlexE port, the MTN overhead frame of the MTN port, or the SPN overhead frame of the SPN port.
  • the first message is transmitted through the fourth code block and the fifth code block in the overhead frame.
  • the method further includes:
  • the first device receives an instruction from the third device, and switches the second channel to transmit the DCN message based on the instruction.
  • the method before the first device receives the instruction from the third device, the method further includes: the first device sends a message to the third device with the second device Channel-related confirmation messages.
  • the method further includes: when the first device detects that the second channel is invalid or deleted, switching to the first channel to transmit the DCN message.
  • an embodiment of the present application further provides a data transmission method, the method comprising:
  • the second device receives the first message from the first device; the first message is carried by the FlexE, MTN or SPN overhead frame; the first message includes the DCN channel identifier and related information for the device going online;
  • the second device generates a second message based on the identification information of the second device, the related information for the device going online, and the neighbor information related to the first device, and sends the second message to the third device;
  • the second device receives a third message from the third device, and forwards the third message to the first device, where the third message includes the allocation by the third device to the first device
  • the management IP address is used for the first device to access the data communication network.
  • the first message is transmitted through the first channel in the FlexE overhead frame of the FlexE port, the MTN overhead frame of the MTN port, or the SPN overhead frame of the SPN port.
  • the method further includes: the second device judging whether the first device is a registered neighbor node; if the first device is a registered neighbor node, obtaining Neighbor information related to the first device.
  • the method further includes: if the first device is an unregistered neighbor node, assigning a neighbor identifier to the first device, and generating a neighbor related to the first device information;
  • the neighbor information includes at least one of the following: the port index of the second device, the index of the first device, the first device identifier, the connection port identifier of the first device, the first device.
  • the IP address of the device the IPv6 management address of the first device, the IPv4 management address of the first device, the system name of the first device, and the system description information of the first device.
  • the relevant information for the device going online includes at least one of the following: the device's MAC address, system name, system description information, IPv6 management address, and IPv4 management address.
  • an embodiment of the present application further provides a data transmission method, the method comprising:
  • the third device receives a second message from the second device, where the second message includes: the identification information of the second device, the related information corresponding to the first device and used for the device to go online and related to the first device neighbor information;
  • the third device assigns a management IP address to the first device, and sends a third message including the management IP address to the first device through the second device, where the management IP address is used for the The first device is connected to the data communication network.
  • the second message further includes a channel identifier.
  • the third device assigns a management IP address to the first device, including:
  • the third device determines an area range to which the second device belongs according to the identification information of the second device, and allocates a management IP address to the first device from a corresponding management IP address set according to the area range.
  • the relevant information for the device going online includes at least one of the following: the device's MAC address, system name, system description information, IPv6 management address, and IPv4 management address.
  • the neighbor information related to the first device includes at least one of the following: a port index of the second device, an index of the first device, an identifier of the first device, The connection port identifier of the first device, the IP address of the first device, the IPv6 management address of the first device, the IPv4 management address of the first device, the system name of the first device, the System description information of the first device.
  • the method further includes: receiving, by the third device, an acknowledgement message related to the second channel from the first device; sending an acknowledgement message to the first device based on the acknowledgement message.
  • a device sends an instruction, where the instruction is used by the first device to switch the first channel to transmit the DCN message.
  • an embodiment of the present application further provides a data transmission apparatus, the apparatus includes: a first communication unit and an access unit; wherein,
  • the first communication unit is configured to send a first message to the second device through a FlexE, MTN or SPN overhead frame; the first message includes a DCN channel identifier and related information for the device going online; it is also configured to send a first message to the second device through the The second device receives a third message from a third device, where the third message includes a management IP address assigned by the third device to the first device;
  • the access unit is configured to access the data communication network based on the management IP address.
  • an embodiment of the present application further provides a data transmission device, the device includes: a second communication unit, a first processing unit, and a third communication unit; wherein,
  • the second communication unit is configured to receive a first message from a first device; the first message is carried by a FlexE, MTN or SPN overhead frame; the first message includes a DCN channel identifier and related information for the device going online information;
  • the first processing unit configured to generate a second message based on the identification information of the second device, the related information for the device going online, and the neighbor information related to the first device;
  • the third communication unit is configured to send a second message to the third device; and is further configured to receive a third message from the third device, where the third message includes that the third device is the third device.
  • the second communication unit is further configured to forward the third message to the first device.
  • an embodiment of the present application further provides a data transmission device, the device includes: a fourth communication unit and an allocation unit; wherein,
  • the fourth communication unit is configured to receive a second message from the second device, where the second message includes: identification information of the second device, relevant information corresponding to the first device for the device to go online, and neighbor information related to the first device;
  • the assigning unit configured to assign a management IP address to the first device; the management IP address is used for the first device to access a data communication network;
  • the fourth communication unit is further configured to send a third message including the management IP address to the first device through the second device.
  • an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the aforementioned first aspect, second aspect or third aspect of the embodiment of the present application the steps of the method.
  • an embodiment of the present application further provides a communication device, including a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor implements the implementation of the present application when the processor executes the program Examples are the steps of the method described in the first aspect, the second aspect or the third aspect.
  • the data transmission method, apparatus, system, and communication device provided in the embodiments of the present application include: a first device sends a first message to a second device through a FlexE, MTN or SPN overhead frame; the first message includes a DCN channel Identification and related information for the device going online; receiving a third message from a third device through the second device, where the third message includes the management IP address assigned by the third device to the first device; The data communication network is accessed based on the management IP address.
  • the first device transmits the relevant information for the device going online through the FlexE, MTN, or SPN overhead frame, and transmits it to the third device (ie, the management and control system) through the second device, and the third device ( That is, the management and control system) allocates a management IP address to the first device, and transmits the allocated management IP address to the first device through the second device, and the first device can access the data communication network (DCN) based on the management IP address.
  • a device automatically obtains a management IP address, and automatically accesses a data communication network (DCN) based on the management IP address.
  • FIG. 1a and FIG. 1b are schematic diagrams of a system architecture to which a data transmission method according to an embodiment of the present application is applied;
  • FIG. 2 is a schematic flowchart 1 of a data transmission method according to an embodiment of the present application.
  • FIG. 3 is a second schematic flowchart of a data transmission method according to an embodiment of the present application.
  • FIG. 4 is a third schematic flowchart of a data transmission method according to an embodiment of the present application.
  • FIG. 5 is an example diagram of a management IP address in a data transmission method according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram 1 of a composition structure of a data processing apparatus according to an embodiment of the present application.
  • FIG. 7 is a second schematic diagram of the composition and structure of a data processing apparatus according to an embodiment of the present application.
  • FIG. 8 is a third schematic diagram of the composition and structure of a data processing apparatus according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a hardware structure of a communication device according to an embodiment of the present application.
  • FIG. 1a and FIG. 1b are schematic diagrams of the system architecture of the application of the data transmission method according to the embodiment of the application; as shown in FIG. 1a, the network may include a management and control system, an access device, one or more online devices, and one or more pending devices.
  • the access equipment can be connected to the management and control system through DCN (or external DCN).
  • the online device and the device to be online are both access devices in the network. The difference is that the online device is a device that has been configured with an IP address and is connected to the DCN, and the device to be online is a device that has not been configured with an IP address and is not connected to the DCN.
  • the management and control system is a device that can assign IP addresses to access devices.
  • the first device is also the device to be online
  • the second device is also the device that has been online
  • the first device and the second device may also be referred to as access devices, or They are respectively referred to as the access device to be online or the access device that has been online.
  • the third device is also a management and control system, or may also be referred to as a management and control device or a control device and the like.
  • Fig. 2 is a schematic flowchart 1 of a data transmission method according to an embodiment of the present application; as shown in Fig. 2, the method includes:
  • Step 101 the first device sends a first message to the second device through a FlexE, MTN or SPN overhead frame; the first message includes a DCN channel identifier and related information for the device to go online;
  • Step 102 the first device receives a third message from a third device through the second device, where the third message includes a management IP address allocated by the third device to the first device;
  • Step 103 The first device accesses a data communication network based on the management IP address.
  • the first device transmits the relevant information for the device going online through FlexE, MTN or SPN overhead frames, and transmits it to the third device through the second device (the second device has the ability to process and forward messages to the third device and proxy)
  • the device that is, the management and control system
  • the third device that is, the management and control system
  • Accessing the data communication network (DCN) realizes that the first device automatically obtains a management IP address, and automatically accesses the data communication network (DCN) based on the management IP address.
  • the first message is marked with a DCN channel identifier.
  • the DCN channel identifier may be a special virtual local area network (VLAN, Virtual Local Area Network) identifier, etc., to distinguish it from ordinary service packets .
  • the relevant information for the device going online included in the first message includes information required for the device to automatically go online.
  • the relevant information for going online of the device includes at least one of the following: MAC address, system name, system description information, IPv6 management address, and IPv4 management address of the device.
  • the relevant information for the device going online may further include device identification, device information, routing information, and the like.
  • the device information and routing information can be generated through Link Layer Discovery Protocol (LLDP, Link Layer Discovery Protocol) information or Open Shortest Path First (OSPF, Open Shortest Path First) protocol.
  • LLDP Link Layer Discovery Protocol
  • OSPF Open Shortest Path First
  • the first message is transmitted through the first channel in the FlexE overhead frame of the FlexE port, the MTN overhead frame of the MTN port, or the SPN overhead frame of the SPN port.
  • the first device encodes the message into a 64-bit or 66-bit (64/66B) code block format, and uses the FlexE overhead frame of the FlexE port, the MTN overhead frame of the MTN port, or the SPN overhead frame of the SPN port. transmission in one channel.
  • the packet is 64/66B encoded, it is inserted into the first channel of the FlexE overhead frame of the FlexE port, the MTN overhead frame of the MTN port, or the SPN overhead frame of the SPN port for transmission.
  • the first message is transmitted through the fourth code block and the fifth code block in the overhead frame.
  • the first device may directly use the first channel of the section (Section) layer in the MTN overhead frame for transmission.
  • one MTN overhead frame includes 8 64/66bit blocks, one MTN overhead frame is inserted every 1023 MTN block blocks, and the above-mentioned first message passes through the fourth 64/66B code block and the fifth block in the MTN overhead frame. 64/66B code block transmission.
  • the first device may transmit a DCN message through an MTN overhead or an MTN client (MTN client).
  • MTN client MTN client
  • the message is transmitted through the MTN overhead (that is, the first channel); after the first device is connected to the network (that is, the device is online), the MTN client (MTN client) or MTN overhead transmission message.
  • the second device is an online device, the second device has the ability to process and forward messages to the third device, and transmit the first message to the third device;
  • the third device is a management and control system, which can be the first
  • the device assigns the management IP address, and transmits the management IP address to the first device through the second device through a third message.
  • the first device may modify the IP address to the management IP address, and access the data communication network based on the management IP address.
  • the method further includes: the first device receives an instruction from the third device, and switches the first device based on the instruction Two channels transmit DCN messages.
  • the first device accesses the data communication network (that is, after the first device goes online), it can switch to the second channel to transmit the DCN message based on the instruction of the third device, that is, the MTN overhead can be switched to the MTN client
  • the MTN client transmits DCN messages.
  • the third device may have the ability to detect whether the first device has a client (such as MTN client), that is, the ability to detect whether the first device is configured with a client (such as MTN client); if the third device detects The first device has a client (such as MTN client), that is, the first device is configured with a client (such as MTN client), then the third device can send an instruction to the first device, and the first device switches the second channel based on the instruction to transmit DCN information.
  • a client such as MTN client
  • MTN client such as MTN client
  • the DCN message in this embodiment may include a DCN channel identifier, a protocol (for example, Path Computation Element Protocol (PCEP, Path Computation Element Protocol), Link Layer Discovery Protocol (LLDP, Link Layer Discovery Protocol), Open Shortest Path Priority (OSPF, Open Shortest Path First protocol, Telemetry protocol, etc.), Netconf protocol configuration management interface, network element performance, alarms, etc.
  • PCEP Path Computation Element Protocol
  • LLDP Link Layer Discovery Protocol
  • OSPF Open Shortest Path Priority
  • Telemetry protocol Telemetry protocol
  • Netconf protocol configuration management interface for example, Path Computation Element Protocol (PCEP, Path Computation Element Protocol), Link Layer Discovery Protocol (LLDP, Link Layer Discovery Protocol), Open Shortest Path Priority (OSPF, Open Shortest Path First protocol, Telemetry protocol, etc.), Netconf protocol configuration management interface, network element performance, alarms, etc.
  • OSPF Open Shortest Path First protocol
  • Telemetry protocol Telemetry protocol
  • Netconf protocol configuration management interface for example, Network element performance, alarms, etc.
  • the method before the first device receives the instruction from the third device, the method further includes: the first device sends a message to the third device with the second device Channel-related confirmation messages.
  • the first device if it has a client (such as MTN client) or is configured with a client (such as MTN client), it can send a confirmation message to the third device; the third device can send a confirmation message to the first device based on the confirmation message Command for switching channels.
  • the method further includes: when the first device detects that the second channel is invalid or deleted, switching to the first channel to transmit the DCN message.
  • the first device when the first device detects that the transmission channel (that is, the second channel) of the MTN client is deleted or invalid, the first device may, according to locally generated notification information, such as loss of signal (LOS, Loss Of Signal) alarm, performance degradation alarm, etc., and automatically switch to the first channel (such as MTN overhead) to transmit DCN messages.
  • notification information such as loss of signal (LOS, Loss Of Signal) alarm, performance degradation alarm, etc.
  • FIG. 3 is a second schematic flowchart of a data transmission method according to an embodiment of the present application; as shown in FIG. 3 , the method includes:
  • Step 201 the second device receives a first message from the first device; the first message is carried by a FlexE, MTN or SPN overhead frame; the first message includes a DCN channel identifier and related information for the device going online;
  • Step 202 The second device generates a second message based on the identification information of the second device, the related information for the device going online, and the neighbor information related to the first device, and sends the first message to the third device. two messages;
  • Step 203 The second device receives a third message from the third device, and forwards the third message to the first device, where the third message includes that the third device is the first device.
  • the second device is an online device. If the second device is the first access device in the data communication network, it can be connected to the data communication network by manually configuring the management IP address.
  • the first message is marked with a DCN channel identifier.
  • the DCN channel identifier may be a VLAN identifier, etc., to distinguish it from ordinary service packets.
  • the relevant information for the device going online included in the first message includes information required for the device to automatically go online.
  • the relevant information for the device going online includes at least one of the following: a media access control MAC address of the device, a system name, system description information, an IPv6 management address, and an IPv4 management address.
  • the relevant information for the device going online may further include device identification, device information, routing information, and the like.
  • the device information and routing information may be generated through LLDP information or OSPF protocol.
  • the first message is transmitted through the first channel in the FlexE overhead frame of the FlexE port, the MTN overhead frame of the MTN port, or the SPN overhead frame of the SPN port.
  • the second device is similar to the first device, and the second device can also transmit DCN messages through an MTN overhead or an MTN client (MTN client).
  • MTN client MTN client
  • the second device is an online device, and can send the second message to the third device through the second channel (for example, MTN client).
  • the second channel is marked with a DCN channel identifier; exemplarily, the DCN channel identifier may be a special virtual local area network (VLAN, Virtual Local Area Network) identifier, etc., to distinguish it from ordinary service messages.
  • VLAN Virtual Local Area Network
  • the second message further includes a channel identifier (DCN channel identifier).
  • DCN channel identifier DCN channel identifier
  • the method further includes: the second device judging whether the first device is a registered neighbor node; if the first device is a registered neighbor node, obtaining Neighbor information related to the first device.
  • the second device can locally match whether it is a registered neighbor node.
  • the second device can find out whether neighbor information corresponding to the MAC address is stored locally according to the MAC address carried in the first message; if the neighbor information corresponding to the MAC address is stored, it indicates that the first device has The registered neighbor node, the second device obtains neighbor information related to the first device; correspondingly, if the neighbor information corresponding to the MAC address is not stored, it indicates that the first device is an unregistered neighbor node.
  • the method further includes: if the first device is an unregistered neighbor node, assigning a neighbor identifier to the first device, and generating a neighbor related to the first device information; wherein the neighbor information includes at least one of the following: the port index of the second device, the index of the first device, the first device identifier, the connection port identifier of the first device, the The IP address of the first device, the IPv6 management address of the first device, the IPv4 management address of the first device, the system name of the first device, and the system description information of the first device.
  • the second device generates the second message according to the identification information of the second device, the related information for the device going online, and the neighbor information related to the first device.
  • the identification information of the second device may be information such as the IP address and port identification of the second device.
  • the second message may include two parts of content, the first part of the content is the content of the first message, such as the content shown in Table 1, and the second part of the content is the content of the neighbor information, for example, may include the table. 2 shown.
  • the “local end” refers to the second device
  • the “peer end” refers to the opposite end relative to the second device
  • the “peer end” in this embodiment of the present application is the first device.
  • IPv6 management address (management-address-ipv6)
  • IPv4 management address (management-address-ipv4) are initial addresses before equipment goes online, and this initial address can be generated according to the MAC address of equipment.
  • the IPv6 management address has a total of 128 bits, the first 64 bits can be filled with 0, and the last 64 bits are mapped according to the MAC address. For example, the first 48 bits of the last 64 bits are mapped to the MAC address, and the last 64 bits The last 16 bits are filled with 1.
  • the second device receives the third message from the third device.
  • the second device also has a proxy function, and the proxy function includes but is not limited to a telnet mode, a Transmission Control Protocol (TCP, Transmission Control Protocol) four-layer channel mode, a Netconf client mode, and the like.
  • TCP Transmission Control Protocol
  • the second device establishes a temporary channel between the third device and the first device through the local TCP port, and maps the running port of the Netconf server of the first device to the local server of the third device.
  • the third device communicates with the Netconf server of the remote first device by accessing the local mapped port, thereby sending the management IP address to the first device.
  • FIG. 4 is a third schematic flowchart of a data transmission method according to an embodiment of the present application; as shown in FIG. 4 , the method includes:
  • Step 301 The third device receives a second message from the second device, where the second message includes: the identification information of the second device, the relevant information corresponding to the first device for the device to go online, and the first device. a device-related neighbor information;
  • Step 302 The third device assigns a management IP address to the first device, and sends a third message including the management IP address to the first device through the second device, and the management IP address is The first device is connected to a data communication network.
  • the third device is a management and control system, or may also be referred to as a management and control device, a control device, or the like.
  • the management and control system receives the second message, it creates a new network element for the first device, and allocates it to the first device according to the address planning rule (or the address planning method).
  • Manage IP addresses Exemplarily, the management and control system (the third device) queries the geographic location to which the port of the second device belongs by extracting the identification information of the second device (such as the IP address, port identifier, etc. of the online device) carried in the second message.
  • the location determines the IP address pool, and assigns a management IP address to the first device connected to the port.
  • the second message is marked with a DCN channel identifier.
  • the DCN channel identifier may be a VLAN identifier or the like, so as to be distinguished from ordinary service packets.
  • the second message further includes a channel identifier.
  • the relevant information for the device going online includes at least one of the following: a media access control (MAC) address of the device, a system name, system description information, an IPv6 management address, and an IPv4 management address.
  • MAC media access control
  • the neighbor information related to the first device includes at least one of the following: a port index of the second device, an index of the first device, an identifier of the first device, a connection of the first device Port identifier, IP address of the first device, IPv6 management address of the first device, IPv4 management address of the first device, system name of the first device, system description information of the first device .
  • the third device assigning a management IP address to the first device includes: the third device determining, according to the identification information of the second device, to which the second device belongs according to the area range, assign a management IP address to the first device from the corresponding management IP address set according to the area range.
  • the third device configures the management IP address set in advance according to the area scope.
  • FIG. 5 is an example diagram of a management IP address in an embodiment of the present application.
  • the management IP address includes 4/8 bits to indicate an area or network level identifier, and the identifier corresponds to a corresponding area range.
  • the third device queries the geographic location to which the second device belongs according to the identification information of the second device (for example, the IP address of the second device, port identifier, etc.)
  • One management IP address is selected from the address set as the management IP address allocated to the first device.
  • a third message including the management IP address is sent to the first device through the second device.
  • the third device receives the online notification (ie, the second message) of the newly online network element (ie, the first device), and obtains the default network element IP of the newly online network element (generated automatically by default) and the neighbor network element (ie, the first device).
  • the NE IP of the second device If the neighbor network element does not have the port forwarding function enabled, the third device delivers a command to enable port forwarding to the neighbor network element.
  • the third device applies for an independent available TCP port (for example: PortL) for each newly online network element.
  • the third device performs local configuration, establishes an SSH tunnel from the local PortL to the neighbor NE, and implements the SSH port forwarding channel from the local PortL to the newly online NE PortR (Server port 830 defined by Netconf).
  • the third device establishes a Netconf session with the newly added network element by accessing localhost:PortL, and completes the modification of the IP address of the network element according to the plan.
  • the third device is configured locally, the TCP port is released, and the SSH port forwarding channel to the newly online NE is removed.
  • the third device determines that if no SSH tunnel passes through the neighbor network element, it issues a command to disable the port forwarding function to the neighbor network element.
  • the method further includes: receiving, by the third device, an acknowledgement message related to the second channel from the first device; sending an acknowledgement message to the first device based on the acknowledgement message.
  • a device sends an instruction, where the instruction is used by the first device to switch the first channel to transmit the DCN message.
  • the first device if it has a client (such as MTN client) or is configured with a client (such as MTN client), it can send a confirmation message to the third device; the third device can send a confirmation message to the first device based on the confirmation message Command for switching channels.
  • FIG. 6 is a schematic diagram 1 of the composition structure of a data processing apparatus according to an embodiment of the present application; as shown in FIG. 6 , the apparatus includes: a first communication unit 11 and an access unit 12; wherein,
  • the first communication unit 11 is configured to send a first message to the second device through a FlexE, MTN or SPN overhead frame; the first message includes a DCN channel identifier and related information used for the device to go online; it is also configured to send a first message to the second device through the The second device receives a third message from a third device, where the third message includes a management IP address allocated by the third device to the first device;
  • the access unit 12 is configured to access the data communication network based on the management IP address.
  • the relevant information for the device going online includes at least one of the following: the device's MAC address, system name, system description information, IPv6 management address, and IPv4 management address.
  • the first message is transmitted through the first channel in the FlexE overhead frame of the FlexE port, the MTN overhead frame of the MTN port, or the SPN overhead frame of the SPN port.
  • the first message is transmitted through the fourth code block and the fifth code block in the overhead frame.
  • the first communication unit 11 is further configured to receive an instruction from the third device, and switch the second channel to transmit the DCN message based on the instruction.
  • the first communication unit 11 is further configured to send a confirmation message related to the second channel to the third device before receiving the instruction from the third device .
  • the apparatus further includes a switching unit 13 configured to switch to the first channel to transmit the DCN message when detecting that the second channel is invalid or deleted.
  • the apparatus is applied to the first device.
  • the access unit 12 and the switching unit 13 in the device can be composed of a central processing unit (CPU, Central Processing Unit), a digital signal processor (DSP, Digital Signal Processor), a microcontroller unit (MCU, Microcontroller) in practical applications. Unit) or Programmable Gate Array (FPGA, Field-Programmable Gate Array);
  • the first communication unit 11 in the device can be implemented through a communication module (including: a basic communication suite, an operating system, a communication module in practical applications) , standardized interfaces and protocols, etc.) and transceiver antenna implementation.
  • FIG. 7 is a second schematic diagram of the composition and structure of a data processing apparatus according to an embodiment of the present application; as shown in FIG. 7 , the apparatus includes: a second communication unit 21 , a first processing unit 22 and a third communication unit 23 ; wherein,
  • the second communication unit 21 is configured to receive a first message from a first device; the first message is carried by a FlexE, MTN or SPN overhead frame; the first message includes a DCN channel identifier and a message for the device to go online. Related Information;
  • the first processing unit 22 is configured to generate a second message based on the identification information of the second device, the related information for the device going online, and the neighbor information related to the first device;
  • the third communication unit 23 is configured to send a second message to the third device; and is also configured to receive a third message from the third device, where the third message includes that the third device is the A management IP address allocated by the first device, where the management IP address is used by the first device to access a data communication network;
  • the second communication unit 21 is further configured to forward the third message to the first device.
  • the first message is transmitted through the first channel in the FlexE overhead frame of the FlexE port, the MTN overhead frame of the MTN port, or the SPN overhead frame of the SPN port.
  • the apparatus further includes a second processing unit configured to determine whether the first device is a registered neighbor node; if the first device is a registered neighbor node, Obtain neighbor information related to the first device.
  • the second processing unit is further configured to, if the first device is an unregistered neighbor node, assign a neighbor identifier to the first device, and generate the first device Device-related neighbor information; wherein the neighbor information includes at least one of the following: a port index of the second device, an index of the first device, an identifier of the first device, and a connection port of the first device identifier, the IP address of the first device, the IPv6 management address of the first device, the IPv4 management address of the first device, the system name of the first device, and the system description information of the first device.
  • the relevant information for the device going online includes at least one of the following: a media access control MAC address of the device, a system name, system description information, an IPv6 management address, and an IPv4 management address.
  • the apparatus is applied to the second device.
  • the first processing unit 22 and the second processing unit in the device can be implemented by CPU, DSP, MCU or FPGA in practical applications; the second communication unit 21 and the third communication unit 23 in the device are practically implemented.
  • the communication module including: basic communication suite, operating system, communication module, standardized interface and protocol, etc.
  • the transceiver antenna can be used.
  • FIG. 8 is a schematic diagram 3 of the composition structure of a data processing apparatus according to an embodiment of the application; as shown in FIG. 8 , the apparatus includes: a fourth communication unit 31 and a distribution unit 32 ; wherein,
  • the fourth communication unit 31 is configured to receive a second message from a second device, where the second message includes: identification information of the second device, and related information corresponding to the first device and used for device online neighbor information related to the first device;
  • the assigning unit 32 is configured to assign a management IP address to the first device; the management IP address is used for the first device to access a data communication network;
  • the fourth communication unit 31 is further configured to send a third message including the management IP address to the first device through the second device.
  • the second message further includes a channel identifier.
  • the allocating unit 32 is configured to determine, according to the identification information of the second device, the area range to which the second device belongs, and according to the area range, select the corresponding management IP address from the corresponding management IP address.
  • the set assigns a management IP address to the first device.
  • the relevant information for the device going online includes at least one of the following: the device's MAC address, system name, system description information, IPv6 management address, and IPv4 management address.
  • the neighbor information related to the first device includes at least one of the following: a port index of the second device, an index of the first device, an identifier of the first device, The connection port identifier of the first device, the IP address of the first device, the IPv6 management address of the first device, the IPv4 management address of the first device, the system name of the first device, the System description information of the first device.
  • the fourth communication unit 31 is further configured to receive a confirmation message related to the second channel from the first device; A device sends an instruction, where the instruction is used by the first device to switch the first channel to transmit the DCN message.
  • the apparatus is applied to a third device.
  • the distribution unit 32 in the device can be implemented by CPU, DSP, MCU or FPGA in practical applications;
  • the fourth communication unit 31 in the device can be implemented through a communication module (including: basic communication suite, Operating system, communication modules, standardized interfaces and protocols, etc.) and transceiver antenna implementation.
  • FIG. 9 is a schematic diagram of the hardware structure of a communication device according to an embodiment of the application.
  • the communication device includes a memory 42, a processor 41, and a computer program stored in the memory 42 and running on the processor 41, When the processor 41 executes the program, the steps of the foregoing data transmission method applied to the first device, the second device, or the third device in the embodiments of the present application are implemented.
  • the communication device further includes one or more network interfaces 43 .
  • the various components in the communication device may be coupled together by the bus system 44 .
  • the bus system 44 is used to implement the connection communication between these components.
  • the bus system 44 also includes a power bus, a control bus and a status signal bus.
  • the various buses are labeled as bus system 44 in FIG. 9 .
  • the memory 42 may be either volatile memory or non-volatile memory, and may include both volatile and non-volatile memory.
  • the non-volatile memory can be a read-only memory (ROM, Read Only Memory), a programmable read-only memory (PROM, Programmable Read-Only Memory), an erasable programmable read-only memory (EPROM, Erasable Programmable Read-only memory) Only Memory), Electrically Erasable Programmable Read-Only Memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), Magnetic Random Access Memory (FRAM, ferromagnetic random access memory), Flash Memory (Flash Memory), Magnetic Surface Memory , CD-ROM, or CD-ROM (Compact Disc Read-Only Memory); magnetic surface memory can be disk memory or tape memory.
  • RAM Random Access Memory
  • SRAM Static Random Access Memory
  • SSRAM Synchronous Static Random Access Memory
  • DRAM Dynamic Random Access Memory
  • SDRAM Synchronous Dynamic Random Access Memory
  • DDRSDRAM Double Data Rate Synchronous Dynamic Random Access Memory
  • ESDRAM Enhanced Type Synchronous Dynamic Random Access Memory
  • SLDRAM Synchronous Link Dynamic Random Access Memory
  • DRRAM Direct Rambus Random Access Memory
  • the memory 42 described in the embodiments of the present application is intended to include, but not limited to, these and any other suitable types of memory.
  • the methods disclosed in the above embodiments of the present application may be applied to the processor 41 or implemented by the processor 41 .
  • the processor 41 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above-mentioned method can be completed by a hardware integrated logic circuit in the processor 41 or an instruction in the form of software.
  • the above-mentioned processor 41 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like.
  • the processor 41 may implement or execute the methods, steps, and logical block diagrams disclosed in the embodiments of this application.
  • a general purpose processor may be a microprocessor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor.
  • the software module may be located in a storage medium, and the storage medium is located in the memory 42, and the processor 41 reads the information in the memory 42, and completes the steps of the foregoing method in combination with its hardware.
  • the communication device may be implemented by one or more Application Specific Integrated Circuit (ASIC, Application Specific Integrated Circuit), DSP, Programmable Logic Device (PLD, Programmable Logic Device), Complex Programmable Logic Device (CPLD, Complex Programmable Logic Device), FPGA, general-purpose processor, controller, MCU, Microprocessor (Microprocessor), or other electronic components implemented for performing the aforementioned method.
  • ASIC Application Specific Integrated Circuit
  • DSP Digital Signal processor
  • PLD Programmable Logic Device
  • CPLD Complex Programmable Logic Device
  • FPGA general-purpose processor
  • controller MCU
  • Microprocessor Microprocessor
  • the embodiment of the present application further provides a computer-readable storage medium, such as a memory 42 including a computer program, and the computer program can be executed by the processor 41 of the communication device to complete the steps of the foregoing method.
  • the computer-readable storage medium can be memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM; it can also be various devices including one or any combination of the above memories.
  • Embodiments of the present application further provide a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the aforementioned embodiments of the present application applied to the first device, the second device, or the third device.
  • the steps of the data transfer method are not limited to:
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the coupling, or direct coupling, or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical or other forms. of.
  • the unit described above as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may all be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above integration
  • the unit can be implemented either in the form of hardware or in the form of hardware plus software functional units.
  • the aforementioned program can be stored in a computer-readable storage medium, and when the program is executed, execute It includes the steps of the above method embodiments; and the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic disk or an optical disk and other media that can store program codes.
  • the above-mentioned integrated units of the present application are implemented in the form of software function modules and sold or used as independent products, they may also be stored in a computer-readable storage medium.
  • the computer software products are stored in a storage medium and include several instructions for A computer device (which may be a personal computer, a server, or a network device, etc.) is caused to execute all or part of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic disk or an optical disk and other mediums that can store program codes.

Abstract

本申请实施例公开了一种数据传输方法、装置、系统和通信设备。所述方法包括:第一设备通过灵活以太网(FlexE)、城域传送网(MTN)或切片分组网(SPN)开销帧发送第一消息至第二设备;所述第一消息包括数据通信网络(DCN)通道标识和用于设备上线的相关信息;通过所述第二设备接收来自第三设备的第三消息,所述第三消息中包括所述第三设备为所述第一设备分配的管理IP地址;基于所述管理互联网协议(IP)地址接入数据通信网络。

Description

一种数据传输方法、装置、系统和通信设备
相关申请的交叉引用
本申请基于申请号为202110450007.3、申请日为2021年04月25日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以引入方式并入本申请。
技术领域
本申请涉及通信技术领域,具体涉及一种数据传输方法、装置、系统和通信设备。
背景技术
随着传输网络技术的发展,传输分组传送网(PTN,Packet Transport Network)网络设备达到200万端,小型化接入设备每年发展10万端以上,5G时期切片分组网(SPN,Slicing Packet Network)网络也已经规模商用。而这些设备最初的上线安装和配置是制约现网业务发展的重要环节。
目前,大部分的设备是采用进站的方式完成初装,通常需要与安装部门进行申请、沟通和确认,在传输设备侧,主要是需要设备安装后,需要人工登陆已上线的设备,确定归属站址或者位置,同时,需要在人工配置互联网协议(IP,Internet Protocol)地址才能够完成设备接入数据通信网络(DCN,Data Communication Network),设备上线流程复杂。如何实现设备的自动上线,目前尚无有效解决方案。
发明内容
本申请实施例提供一种数据传输方法、装置、系统和通信设备。
本申请实施例的技术方案是这样实现的:
第一方面,本申请实施例提供了一种数据传输方法,所述方法包括:
第一设备通过灵活以太网(FlexE,Flex Ethernet)、城域传送网(MTN,Metro Transport Network)或SPN开销帧发送第一消息至第二设备;所述第一消息包括DCN通道标识和用于设备上线的相关信息;
所述第一设备通过所述第二设备接收来自第三设备的第三消息,所述第三消息中包括所述第三设备为所述第一设备分配的管理IP地址;
所述第一设备基于所述管理IP地址接入数据通信网络。
在本申请的一些可选实施例中,所述用于设备上线的相关信息包括以下至少之一:设备的媒体接入控制(MAC,Media Access Control)地址、系统名称、系统描述信息、互联网协议第6版(IPv6,Internet Protocol Version 6)管理地址、互联网协议第4版(IPv4,Internet Protocol version 4)管理地址。
在本申请的一些可选实施例中,所述第一消息通过FlexE端口的FlexE开销帧、MTN端口的MTN开销帧或SPN端口的SPN开销帧中的第一通道传输。
在本申请的一些可选实施例中,所述第一消息通过开销帧中的第4码块和第5码块传输。
在本申请的一些可选实施例中,所述第一设备接入数据通信网络后,所述方法还包括:
所述第一设备接收来自所述第三设备的指令,基于所述指令切换第二通道传输DCN消息。
在本申请的一些可选实施例中,所述第一设备接收来自所述第三设备的指令之前,所述方法还包括:所述第一设备向所述第三设备发送与所述第二通道相关的确认消息。
在本申请的一些可选实施例中,所述方法还包括:所述第一设备检测到所述第二通道失效或删除时,切换至所述第一通道传输DCN消息。
第二方面,本申请实施例还提供了一种数据传输方法,所述方法包括:
第二设备接收来自第一设备的第一消息;所述第一消息通过FlexE、MTN或SPN开销帧承载;所述第一消息包括DCN通道标识和用于设备上线的相关信息;
所述第二设备基于所述第二设备的标识信息、所述用于设备上线的相关信息和所述第一设备相关的邻居信息生成第二消息,向所述第三设备发送第二消息;
所述第二设备接收所述第三设备的第三消息,并将所述第三消息转发至所述第一设备,所述第三消息中包括所述第三设备为所述第一设备分配的管理IP地址,所述管理IP地址用于所述第一设备接入数据通信网络。
在本申请的一些可选实施例中,所述第一消息通过FlexE端口的FlexE开销帧、MTN端口的MTN开销帧或SPN端口的SPN开销帧中的第一通道传输。
在本申请的一些可选实施例中,所述方法还包括:所述第二设备判断所述第一设备是否为已登记的邻居节点;若所述第一设备为已登记的邻居节点,获得所述第一设备相关的邻居信息。
在本申请的一些可选实施例中,所述方法还包括:若所述第一设备为未登记的邻居节点,为所述第一设备分配邻居标识,以及生成所述第一设备相关的邻居信息;
其中,所述邻居信息包括以下至少之一:所述第二设备的端口索引、所述第一设备的索引、所述第一设备标识、所述第一设备的连接端口标识、所述第一设备的IP地址、所述第一设备的IPv6管理地址、所述第一设备的IPv4管理地址、所述第一设备的系统名称、所述第一设备的系统描述信息。
在本申请的一些可选实施例中,所述用于设备上线的相关信息包括以下至少之一:设备的MAC地址、系统名称、系统描述信息、IPv6管理地址、IPv4管理地址。
第三方面,本申请实施例还提供了一种数据传输方法,所述方法包括:
第三设备接收来自第二设备的第二消息,所述第二消息中包括:所述第二设备的标识信息、对应于第一设备的用于设备上线的相关信息和所述第一设备相关的邻居信息;
所述第三设备为所述第一设备分配管理IP地址,通过所述第二设备向所述第一设备发送包含有所述管理IP地址的第三消息,所述管理IP地址用于所述第一设备接入数据通信网络。
在本申请的一些可选实施例中,所述第二消息中还包括通道标识。
在本申请的一些可选实施例中,所述第三设备为所述第一设备分配管理IP地址,包括:
所述第三设备根据所述第二设备的标识信息确定所述第二设备所属的区域范围,根据所述区域范围从对应的管理IP地址集合为所述第一设备分配管理IP地址。
在本申请的一些可选实施例中,所述用于设备上线的相关信息包括以下至少之一:设备的MAC地址、系统名称、系统描述信息、IPv6管理地址、IPv4管理地址。
在本申请的一些可选实施例中,所述第一设备相关的邻居信息包括以下至少之一:所述第二设备的端口索引、所述第一设备的索引、所述第一设备标识、所述第一设备的连接端口标识、所述第一设备的IP地址、所述第一设备的IPv6管理地址、所述第一设备的IPv4管理地址、所述第一设备的系统名称、所述第一设备的系统描述信息。
在本申请的一些可选实施例中,所述方法还包括:所述第三设备接收 来自所述第一设备的与所述第二通道相关的确认消息;基于所述确认消息向所述第一设备发送指令,所述指令用于所述第一设备切换第一通道传输DCN消息。
第四方面,本申请实施例还提供了一种数据传输装置,所述装置包括:第一通信单元和接入单元;其中,
所述第一通信单元,配置为通过FlexE、MTN或SPN开销帧发送第一消息至第二设备;所述第一消息包括DCN通道标识和用于设备上线的相关信息;还配置为通过所述第二设备接收来自第三设备的第三消息,所述第三消息中包括所述第三设备为所述第一设备分配的管理IP地址;
所述接入单元,配置为基于所述管理IP地址接入数据通信网络。
第五方面,本申请实施例还提供了一种数据传输装置,所述装置包括:第二通信单元、第一处理单元和第三通信单元;其中,
所述第二通信单元,配置为接收来自第一设备的第一消息;所述第一消息通过FlexE、MTN或SPN开销帧承载;所述第一消息包括DCN通道标识和用于设备上线的相关信息;
所述第一处理单元,配置为基于所述第二设备的标识信息、所述用于设备上线的相关信息和所述第一设备相关的邻居信息生成第二消息;
所述第三通信单元,配置为向所述第三设备发送第二消息;还配置为接收所述第三设备的第三消息,所述第三消息中包括所述第三设备为所述第一设备分配的管理IP地址,所述管理IP地址用于所述第一设备接入数据通信网络;
所述第二通信单元,还配置为将所述第三消息转发至所述第一设备。
第六方面,本申请实施例还提供了一种数据传输装置,所述装置包括:第四通信单元和分配单元;其中,
所述第四通信单元,配置为接收来自第二设备的第二消息,所述第二 消息中包括:所述第二设备的标识信息、对应于第一设备的用于设备上线的相关信息和所述第一设备相关的邻居信息;
所述分配单元,配置为为所述第一设备分配管理IP地址;所述管理IP地址用于所述第一设备接入数据通信网络;
所述第四通信单元,还配置为通过所述第二设备向所述第一设备发送包含有所述管理IP地址的第三消息。
第七方面,本申请实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本申请实施例前述第一方面、第二方面或第三方面所述方法的步骤。
第八方面,本申请实施例还提供了一种通信设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现本申请实施例前述第一方面、第二方面或第三方面所述方法的步骤。
本申请实施例提供的数据传输方法、装置、系统和通信设备,所述方法包括:第一设备通过FlexE、MTN或SPN开销帧发送第一消息至第二设备;所述第一消息包括DCN通道标识和用于设备上线的相关信息;通过所述第二设备接收来自第三设备的第三消息,所述第三消息中包括所述第三设备为所述第一设备分配的管理IP地址;基于所述管理IP地址接入数据通信网络。采用本申请实施例的技术方案,第一设备通过FlexE、MTN或SPN开销帧传输用于设备上线的相关信息,并通过第二设备传输至第三设备(即管控系统),由第三设备(即管控系统)为第一设备分配管理IP地址,并通过第二设备将分配的管理IP地址传输至第一设备,第一设备可基于管理IP地址接入数据通信网络(DCN),实现了第一设备自动获取管理IP地址,自动基于管理IP地址接入数据通信网络(DCN)。
附图说明
图1a和图1b为本申请实施例的数据传输方法应用的系统架构示意图;
图2为本申请实施例的数据传输方法的流程示意图一;
图3为本申请实施例的数据传输方法的流程示意图二;
图4为本申请实施例的数据传输方法的流程示意图三;
图5为本申请实施例的数据传输方法中的管理IP地址的示例图;
图6为本申请实施例的数据处理装置的组成结构示意图一;
图7为本申请实施例的数据处理装置的组成结构示意图二;
图8为本申请实施例的数据处理装置的组成结构示意图三;
图9为本申请实施例的通信设备的硬件结构示意图。
具体实施方式
下面结合附图及具体实施例对本申请作进一步详细的说明。
图1a和图1b为本申请实施例的数据传输方法应用的系统架构示意图;如图1a所示,网络中可包括管控系统、接入设备、一个或多个已上线设备以及一个或多个待上线设备,接入设备可通过DCN(或外部DCN)与管控系统连接。其中,已上线设备和待上线设备均是网络中的接入设备,区别在于,已上线设备是已配置IP地址并接入DCN的设备,待上线设备是未配置IP地址未接入DCN的设备。管控系统是能够为接入设备分配IP地址的设备。
进一步结合图1b所示,本实施例以下各实施例中,第一设备也即待上线设备,第二设备也即已上线设备,第一设备和第二设备也可称为接入设备,或者分别称为待上线接入设备或已上线接入设备。第三设备也即管控系统,或者也可称为管控设备或控制设备等等。
至少基于上述系统架构提出本申请以下各实施例。
本申请实施例提供了一种数据传输方法,应用于第一设备中。图2为 本申请实施例的数据传输方法的流程示意图一;如图2所示,所述方法包括:
步骤101:第一设备通过FlexE、MTN或SPN开销帧发送第一消息至第二设备;所述第一消息包括DCN通道标识和用于设备上线的相关信息;
步骤102:所述第一设备通过所述第二设备接收来自第三设备的第三消息,所述第三消息中包括所述第三设备为所述第一设备分配的管理IP地址;
步骤103:所述第一设备基于所述管理IP地址接入数据通信网络。
本实施例中,第一设备通过FlexE、MTN或SPN开销帧传输用于设备上线的相关信息,并通过第二设备(第二设备具备处理转发消息给第三设备以及代理能力)传输至第三设备(即管控系统),由第三设备(即管控系统)为第一设备分配管理IP地址,并通过第二设备将分配的管理IP地址传输至第一设备,第一设备可基于管理IP地址接入数据通信网络(DCN),实现了第一设备自动获取管理IP地址,自动基于管理IP地址接入数据通信网络(DCN)。
本实施例中,所述第一消息采用DCN通道标识进行标示,示例性的,所述DCN通道标识可以是特殊虚拟局域网(VLAN,Virtual Local Area Network)标识等,以与普通业务报文进行区别。所述第一消息中包括的用于设备上线的相关信息包括设备自动上线中所需要的信息。示例性的,所述用于设备上线的相关信息包括以下至少之一:设备的MAC地址、系统名称、系统描述信息、IPv6管理地址、IPv4管理地址。所述用于设备上线的相关信息还可以包括设备标识、设备信息、路由信息等等。其中,设备信息、路由信息可通过链路层发现协议(LLDP,Link Layer Discovery Protocol)信息或开放式最短路径优先(OSPF,Open Shortest Path First)协议等生成。
在本申请的一些可选实施例中,所述第一消息通过FlexE端口的FlexE开销帧、MTN端口的MTN开销帧或SPN端口的SPN开销帧中的第一通道 传输。
本实施例中,第一设备将消息编码成64比特或66比特(64/66B)的码块格式,通过FlexE端口的FlexE开销帧、MTN端口的MTN开销帧或SPN端口的SPN开销帧的第一通道中进行传输。示例性的,报文进行64/66B编码后,插入到FlexE端口的FlexE开销帧、MTN端口的MTN开销帧或SPN端口的SPN开销帧的第一通道中进行传输。可选地,所述第一消息通过开销帧中的第4码块和第5码块传输。示例性的,以MTN开销帧为例,第一设备可直接使用MTN开销帧中的段(Section)层的第一通道进行传输。示例性的,一个MTN开销帧包括8个64/66bit块,每1023个MTN block块插入一个MTN开销帧,上述第一消息通过MTN开销帧中的第4个64/66B码块和第5个64/66B码块传输。
示例性的,以MTN为例,第一设备可通过MTN overhead或MTN客户端(MTN client)传输DCN消息。在第一设备首次接入网络(即设备未上线)时,通过MTN overhead(即第一通道)传输消息;待第一设备接入网络(即设备已上线)后,可通过MTN客户端(MTN client)或者MTN overhead传输消息。
本实施例中,第二设备为已上线设备,第二设备具备处理转发消息给第三设备的能力,将第一消息传递给第三设备;所述第三设备为管控系统,能够为第一设备分配管理IP地址,并通过第三消息将管理IP地址通过第二设备传递至第一设备。第一设备可将IP地址修改为所述管理IP地址,基于所述管理IP地址接入数据通信网络。
在本申请的一些可选实施例中,所述第一设备接入数据通信网络后,所述方法还包括:所述第一设备接收来自所述第三设备的指令,基于所述指令切换第二通道传输DCN消息。
本实施例中,在第一设备接入数据通信网络后(也即第一设备上线后), 可基于第三设备的指令切换至第二通道传输DCN消息,也即可由MTN overhead切换至MTN客户端(MTN client)传输DCN消息。示例性的,第三设备可具有检测第一设备是否具有客户端(如MTN client)的能力,也即检测第一设备是否被配置客户端(如MTN client)的能力;若第三设备检测到第一设备具有客户端(如MTN client),即第一设备被配置客户端(如MTN client),则第三设备可向第一设备发送指令,第一设备基于该指令切换第二通道传输DCN消息。
示例性的,本实施例的DCN消息可包括DCN通道标识、协议(例如路径计算元素协议(PCEP,Path Computation Element Protocol)、链路层发现协议(LLDP,Link Layer Discovery Protocol)、开放式最短路径优先(OSPF,Open Shortest Path First)协议,Telemetry协议等)、Netconf协议配置管理接口、网元性能、告警等等。
在本申请的一些可选实施例中,所述第一设备接收来自所述第三设备的指令之前,所述方法还包括:所述第一设备向所述第三设备发送与所述第二通道相关的确认消息。
本实施例中,第一设备若具有客户端(如MTN client),或者被配置客户端(如MTN client),可向第三设备发送确认消息;第三设备可基于确认消息向第一设备发送用于切换通道的指令。
在本申请的一些可选实施例中,所述方法还包括:所述第一设备检测到所述第二通道失效或删除时,切换至所述第一通道传输DCN消息。
本实施例中,示例性的,第一设备检测到MTN client的传递通道(即第二通道)被删除或失效时,第一设备可根据本地产生的通告信息,例如信号丢失(LOS,Loss Of Signal)告警、性能劣化告警等,自动切换至第一通道(如MTN overhead)传输DCN消息。
基于上述实施例,本申请实施例还提供了一种数据传输方法,应用于 第二设备中。图3为本申请实施例的数据传输方法的流程示意图二;如图3所示,所述方法包括:
步骤201:第二设备接收来自第一设备的第一消息;所述第一消息通过FlexE、MTN或SPN开销帧承载;所述第一消息包括DCN通道标识和用于设备上线的相关信息;
步骤202:所述第二设备基于所述第二设备的标识信息、所述用于设备上线的相关信息和所述第一设备相关的邻居信息生成第二消息,向所述第三设备发送第二消息;
步骤203:所述第二设备接收所述第三设备的第三消息,并将所述第三消息转发至所述第一设备,所述第三消息中包括所述第三设备为所述第一设备分配的管理IP地址,所述管理IP地址用于所述第一设备接入数据通信网络。
本实施例中,所述第二设备为已上线设备。若所述第二设备为数据通信网络中的首个接入设备,则可通过人工配置管理IP地址的方式使之接入数据通信网络。
本实施例中,所述第一消息采用DCN通道标识进行标示,示例性的,所述DCN通道标识可以是VLAN标识等,以与普通业务报文进行区别。所述第一消息中包括的用于设备上线的相关信息包括设备自动上线中所需要的信息。示例性的,所述用于设备上线的相关信息包括以下至少之一:设备的媒体接入控制MAC地址、系统名称、系统描述信息、IPv6管理地址、IPv4管理地址。所述用于设备上线的相关信息还可以包括设备标识、设备信息、路由信息等等。其中,设备信息、路由信息可通过LLDP信息或OSPF协议等生成。
本实施例中,所述第一消息通过FlexE端口的FlexE开销帧、MTN端口的MTN开销帧或SPN端口的SPN开销帧中的第一通道传输。
本实施例中,第二设备与第一设备相似,第二设备也可通过MTN overhead或MTN客户端(MTN client)传输DCN消息。第二设备为已上线设备,可通过第二通道(例如MTN client)向第三设备发送第二消息。其中,所述第二通道采用DCN通道标识进行标示;示例性的,所述DCN通道标识可以是特殊虚拟局域网(VLAN,Virtual Local Area Network)标识等,以与普通业务报文进行区别。
可选地,所述第二消息中还包括通道标识(DCN通道标识)。
在本申请的一些可选实施例中,所述方法还包括:所述第二设备判断所述第一设备是否为已登记的邻居节点;若所述第一设备为已登记的邻居节点,获得所述第一设备相关的邻居信息。
本实施例中,第二设备可对第一消息进行提取并解码后,在本地匹配是否为已登记的邻居节点。示例性的,第二设备可根据第一消息中携带的MAC地址查找本地是否存储有与该MAC地址对应的邻居信息;如果存储有与该MAC地址对应的邻居信息,则表明第一设备为已登记的邻居节点,第二设备获得所述第一设备相关的邻居信息;相应的,如果并未存储有与该MAC地址对应的邻居信息,则表明第一设备为未登记的邻居节点。
在本申请的一些可选实施例中,所述方法还包括:若所述第一设备为未登记的邻居节点,为所述第一设备分配邻居标识,以及生成所述第一设备相关的邻居信息;其中,所述邻居信息包括以下至少之一:所述第二设备的端口索引、所述第一设备的索引、所述第一设备标识、所述第一设备的连接端口标识、所述第一设备的IP地址、所述第一设备的IPv6管理地址、所述第一设备的IPv4管理地址、所述第一设备的系统名称、所述第一设备的系统描述信息。
本实施例中,第二设备根据第二设备的标识信息、所述用于设备上线的相关信息和所述第一设备相关的邻居信息生成第二消息。示例性的,所 述第二设备的标识信息可以是第二设备的IP地址、端口标识等信息。示例性的,第二消息中可包括两部分内容,第一部分内容是第一消息中的内容,例如可包括表1中所示的内容,第二部分内容是邻居信息的内容,例如可包括表2中所示的内容。
表1
消息属性名称 数据类型 消息内容
chassis-id IETF MAC 新上线网元的MAC地址
system-name String 保留定义
system-description String 保留定义
management-address-ipv6 IETF IPv6 新上线网元管理IPv6地址
management-address-ipv4 IETF IPv4 新上线网元管理IPv4地址
表2
Figure PCTCN2022085653-appb-000001
Figure PCTCN2022085653-appb-000002
上述表2中,“本端”是指第二设备,“对端”是相对于第二设备的对端,则本申请实施例中的“对端”为第一设备。
上述表2中,IPv6管理地址(management-address-ipv6)、IPv4管理地址(management-address-ipv4)在设备未上线前为初始地址,该初始地址可根据设备的MAC地址生成。
示例性的,以MAC地址生成IPv6管理地址为例,IPv6管理地址共128bit,可将前64bit填充0,后64bit根据MAC地址进行映射,例如,后64bit中的前48bit映射MAC地址,后64bit中的后16bit填充1。
本实施例中,在第三设备为第一设备分配管理IP地址后,第二设备接收来自第三设备的第三消息。所述第二设备还具有代理功能,所述代理功能包括但不限于telnet方式、传输控制协议(TCP,Transmission Control Protocol)四层通道方式、支持Netconf client方式等。示例性的,第二设备通过本地TCP端口建立第三设备和第一设备之间的临时通道,将第一设备的Netconf server的运行端口,映射到第三设备本地服务器。第三设备通过访问本地映射端口和远端第一设备的Netconf server进行通信,从而将管理IP地址发送至第一设备。
基于上述实施例,本申请实施例还提供了一种数据传输方法,应用于第三设备中。图4为本申请实施例的数据传输方法的流程示意图三;如图4所示,所述方法包括:
步骤301:第三设备接收来自第二设备的第二消息,所述第二消息中包括:所述第二设备的标识信息、对应于第一设备的用于设备上线的相关信息和所述第一设备相关的邻居信息;
步骤302:所述第三设备为所述第一设备分配管理IP地址,通过所述 第二设备向所述第一设备发送包含有所述管理IP地址的第三消息,所述管理IP地址用于所述第一设备接入数据通信网络。
本实施例中,第三设备为管控系统,或者也可称为管控设备、控制设备等等。以第三设备为管控系统为例,在管控系统(第三设备)收到第二消息后,为第一设备创建新网元,并根据地址规划规则(或地址规划方法)为第一设备分配管理IP地址。示例性的,管控系统(第三设备)通过提取第二消息中携带的第二设备的标识信息(例如已上线设备的IP地址、端口标识等)查询第二设备端口所属的地理位置,根据地理位置确定IP地址池,为端口下联的第一设备分配管理IP地址。其中,所述第二消息采用DCN通道标识进行标示,示例性的,所述DCN通道标识可以是VLAN标识等,以与普通业务报文进行区别。
可选地,所述第二消息中还包括通道标识。
示例性的,所述用于设备上线的相关信息包括以下至少之一:设备的媒体接入控制(MAC)地址、系统名称、系统描述信息、IPv6管理地址、IPv4管理地址。
示例性的,所述第一设备相关的邻居信息包括以下至少之一:所述第二设备的端口索引、所述第一设备的索引、所述第一设备标识、所述第一设备的连接端口标识、所述第一设备的IP地址、所述第一设备的IPv6管理地址、所述第一设备的IPv4管理地址、所述第一设备的系统名称、所述第一设备的系统描述信息。
在本申请的一些可选实施例中,所述第三设备为所述第一设备分配管理IP地址,包括:所述第三设备根据所述第二设备的标识信息确定所述第二设备所属的区域范围,根据所述区域范围从对应的管理IP地址集合为所述第一设备分配管理IP地址。
本实施例中,第三设备预先根据区域范围配置管理IP地址集合。示例 性的,图5为本申请实施例中的管理IP地址的示例图,如图5所示,管理IP地址中包括4/8位表示区域或网络层级标识,该标识与相应的区域范围对应。则第三设备按照第二设备的标识信息(例如第二设备的IP地址、端口标识等),查询第二设备所属的地理位置,根据地理位置确定相应区域范围的管理IP地址集合,从管理IP地址集合中选择一个管理IP地址,作为为第一设备分配的管理IP地址。进一步通过所述第二设备向所述第一设备发送包含有所述管理IP地址的第三消息。
具体的,第三设备收到新上线网元(即第一设备)上线通知(即第二消息),获得新上线网元的默认网元IP(缺省自动生成)和邻居网元(即第二设备)的网元IP。如果邻居网元没有使能端口转发功能,则第三设备向邻居网元下发使能端口转发的命令。第三设备为每个新上线网元申请独立的可用TCP端口(例如:PortL)。第三设备进行本机配置,建立从本机PortL到邻居网元的SSH隧道,实现从本机PortL到新上线网元PortR(Netconf定义的Server端口830)的SSH端口转发通道。第三设备通过访问localhost:PortL,建立与新上线网元之间的Netconf会话,并按照规划完成网元IP地址的修改。第三设备在本机进行配置,释放使用TCP端口,拆除到新上线网元的SSH端口转发通道。第三设备判断如果已经没有SSH隧道经由邻居网元,则向邻居网元下发关闭端口转发功能的命令。
在本申请的一些可选实施例中,所述方法还包括:所述第三设备接收来自所述第一设备的与所述第二通道相关的确认消息;基于所述确认消息向所述第一设备发送指令,所述指令用于所述第一设备切换第一通道传输DCN消息。
本实施例中,第一设备若具有客户端(如MTN client),或者被配置客户端(如MTN client),可向第三设备发送确认消息;第三设备可基于确认消息向第一设备发送用于切换通道的指令。
本申请实施例还提供了一种数据处理装置。图6为本申请实施例的数据处理装置的组成结构示意图一;如图6所示,所述装置包括:第一通信单元11和接入单元12;其中,
所述第一通信单元11,配置为通过FlexE、MTN或SPN开销帧发送第一消息至第二设备;所述第一消息包括DCN通道标识和用于设备上线的相关信息;还配置为通过所述第二设备接收来自第三设备的第三消息,所述第三消息中包括所述第三设备为所述第一设备分配的管理IP地址;
所述接入单元12,配置为基于所述管理IP地址接入数据通信网络。
在本申请的一些可选实施例中,所述用于设备上线的相关信息包括以下至少之一:设备的MAC地址、系统名称、系统描述信息、IPv6管理地址、IPv4管理地址。
在本申请的一些可选实施例中,所述第一消息通过FlexE端口的FlexE开销帧、MTN端口的MTN开销帧或SPN端口的SPN开销帧中的第一通道传输。
在本申请的一些可选实施例中,所述第一消息通过开销帧中的第4码块和第5码块传输。
在本申请的一些可选实施例中,所述第一通信单元11,还配置为接收来自所述第三设备的指令,基于所述指令切换第二通道传输DCN消息。
在本申请的一些可选实施例中,所述第一通信单元11,还配置为接收来自所述第三设备的指令之前,向所述第三设备发送与所述第二通道相关的确认消息。
在本申请的一些可选实施例中,所述装置还包括切换单元13,配置为检测到所述第二通道失效或删除时,切换至所述第一通道传输DCN消息。
本申请实施例中,所述装置应用于第一设备中。所述装置中的接入单元12和切换单元13,在实际应用中均可由中央处理器(CPU,Central  Processing Unit)、数字信号处理器(DSP,Digital Signal Processor)、微控制单元(MCU,Microcontroller Unit)或可编程门阵列(FPGA,Field-Programmable Gate Array)实现;所述装置中的第一通信单元11,在实际应用中可通过通信模组(包含:基础通信套件、操作系统、通信模块、标准化接口和协议等)及收发天线实现。
本申请实施例还提供了一种数据处理装置。图7为本申请实施例的数据处理装置的组成结构示意图二;如图7所示,所述装置包括:第二通信单元21、第一处理单元22和第三通信单元23;其中,
所述第二通信单元21,配置为接收来自第一设备的第一消息;所述第一消息通过FlexE、MTN或SPN开销帧承载;所述第一消息包括DCN通道标识和用于设备上线的相关信息;
所述第一处理单元22,配置为基于所述第二设备的标识信息、所述用于设备上线的相关信息和所述第一设备相关的邻居信息生成第二消息;
所述第三通信单元23,配置为向所述第三设备发送第二消息;还配置为接收所述第三设备的第三消息,所述第三消息中包括所述第三设备为所述第一设备分配的管理IP地址,所述管理IP地址用于所述第一设备接入数据通信网络;
所述第二通信单元21,还配置为将所述第三消息转发至所述第一设备。
在本申请的一些可选实施例中,所述第一消息通过FlexE端口的FlexE开销帧、MTN端口的MTN开销帧或SPN端口的SPN开销帧中的第一通道传输。
在本申请的一些可选实施例中,所述装置还包括第二处理单元,配置为判断所述第一设备是否为已登记的邻居节点;若所述第一设备为已登记的邻居节点,获得所述第一设备相关的邻居信息。
在本申请的一些可选实施例中,所述第二处理单元,还配置为若所述 第一设备为未登记的邻居节点,为所述第一设备分配邻居标识,以及生成所述第一设备相关的邻居信息;其中,所述邻居信息包括以下至少之一:所述第二设备的端口索引、所述第一设备的索引、所述第一设备标识、所述第一设备的连接端口标识、所述第一设备的IP地址、所述第一设备的IPv6管理地址、所述第一设备的IPv4管理地址、所述第一设备的系统名称、所述第一设备的系统描述信息。
在本申请的一些可选实施例中,所述用于设备上线的相关信息包括以下至少之一:设备的媒体接入控制MAC地址、系统名称、系统描述信息、IPv6管理地址、IPv4管理地址。
本申请实施例中,所述装置应用于第二设备中。所述装置中的第一处理单元22和第二处理单元,在实际应用中均可由CPU、DSP、MCU或FPGA实现;所述装置中的第二通信单元21和第三通信单元23,在实际应用中可通过通信模组(包含:基础通信套件、操作系统、通信模块、标准化接口和协议等)及收发天线实现。
本申请实施例还提供了一种数据处理装置。图8为本申请实施例的数据处理装置的组成结构示意图三;如图8所示,所述装置包括:第四通信单元31和分配单元32;其中,
所述第四通信单元31,配置为接收来自第二设备的第二消息,所述第二消息中包括:所述第二设备的标识信息、对应于第一设备的用于设备上线的相关信息和所述第一设备相关的邻居信息;
所述分配单元32,配置为为所述第一设备分配管理IP地址;所述管理IP地址用于所述第一设备接入数据通信网络;
所述第四通信单元31,还配置为通过所述第二设备向所述第一设备发送包含有所述管理IP地址的第三消息。
在本申请的一些可选实施例中,所述第二消息中还包括通道标识。
在本申请的一些可选实施例中,所述分配单元32,配置为根据所述第二设备的标识信息确定所述第二设备所属的区域范围,根据所述区域范围从对应的管理IP地址集合为所述第一设备分配管理IP地址。
在本申请的一些可选实施例中,所述用于设备上线的相关信息包括以下至少之一:设备的MAC地址、系统名称、系统描述信息、IPv6管理地址、IPv4管理地址。
在本申请的一些可选实施例中,所述第一设备相关的邻居信息包括以下至少之一:所述第二设备的端口索引、所述第一设备的索引、所述第一设备标识、所述第一设备的连接端口标识、所述第一设备的IP地址、所述第一设备的IPv6管理地址、所述第一设备的IPv4管理地址、所述第一设备的系统名称、所述第一设备的系统描述信息。
在本申请的一些可选实施例中,所述第四通信单元31,还配置为接收来自所述第一设备的与所述第二通道相关的确认消息;基于所述确认消息向所述第一设备发送指令,所述指令用于所述第一设备切换第一通道传输DCN消息。
本申请实施例中,所述装置应用于第三设备中。所述装置中的分配单元32,在实际应用中可由CPU、DSP、MCU或FPGA实现;所述装置中的第四通信单元31,在实际应用中可通过通信模组(包含:基础通信套件、操作系统、通信模块、标准化接口和协议等)及收发天线实现。
需要说明的是:上述实施例提供的数据传输装置在进行数据传输时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的数据传输装置与数据传输方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
本申请实施例还提供了一种通信设备,所述通信设备包括前述实施例的第一设备、第二设备或第三设备。图9为本申请实施例的通信设备的硬件结构示意图,如图9所示,所述通信设备包括存储器42、处理器41及存储在存储器42上并可在处理器41上运行的计算机程序,所述处理器41执行所述程序时实现本申请实施例前述应用于第一设备、第二设备或第三设备中的数据传输方法的步骤。
可选地,通信设备中还包括一个或多个网络接口43。可以理解,通信设备中的各个组件可通过总线系统44耦合在一起。可理解,总线系统44用于实现这些组件之间的连接通信。总线系统44除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图9中将各种总线都标为总线系统44。
可以理解,存储器42可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动 态随机存取存储器(SDRAM,Synchronous Dynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本申请实施例描述的存储器42旨在包括但不限于这些和任意其它适合类型的存储器。
上述本申请实施例揭示的方法可以应用于处理器41中,或者由处理器41实现。处理器41可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器41中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器41可以是通用处理器、DSP,或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器41可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器42,处理器41读取存储器42中的信息,结合其硬件完成前述方法的步骤。
在示例性实施例中,通信设备可以被一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,Programmable Logic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device)、FPGA、通用处理器、控制器、MCU、微处理器(Microprocessor)、或其他电子元件实现,用于执行前述方法。
在示例性实施例中,本申请实施例还提供了一种计算机可读存储介质, 例如包括计算机程序的存储器42,上述计算机程序可由通信设备的处理器41执行,以完成前述方法所述步骤。计算机可读存储介质可以是FRAM、ROM、PROM、EPROM、EEPROM、Flash Memory、磁表面存储器、光盘、或CD-ROM等存储器;也可以是包括上述存储器之一或任意组合的各种设备。
本申请实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本申请实施例前述应用于第一设备、第二设备或第三设备中的数据传输方法的步骤。
本申请所提供的几个方法实施例中所揭露的方法,在不冲突的情况下可以任意组合,得到新的方法实施例。
本申请所提供的几个产品实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的产品实施例。
本申请所提供的几个方法或设备实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的方法实施例或设备实施例。
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。
另外,在本申请各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
或者,本申请上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (23)

  1. 一种数据传输方法,所述方法包括:
    第一设备通过灵活以太网FlexE、城域传送网MTN或切片分组网SPN开销帧发送第一消息至第二设备;所述第一消息包括数据通信网络DCN通道标识和用于设备上线的相关信息;
    所述第一设备通过所述第二设备接收来自第三设备的第三消息,所述第三消息中包括所述第三设备为所述第一设备分配的管理互联网协议IP地址;
    所述第一设备基于所述管理IP地址接入数据通信网络。
  2. 根据权利要求1所述的方法,其中,所述用于设备上线的相关信息包括以下至少之一:设备的媒体接入控制MAC地址、系统名称、系统描述信息、互联网协议第6版IPv6管理地址、互联网协议第4版IPv4管理地址。
  3. 根据权利要求1所述的方法,其中,所述第一消息通过FlexE端口的FlexE开销帧、MTN端口的MTN开销帧或SPN端口的SPN开销帧中的第一通道传输。
  4. 根据权利要求3所述的方法,其中,所述第一消息通过开销帧中的第4码块和第5码块传输。
  5. 根据权利要求3所述的方法,其中,所述第一设备接入数据通信网络后,所述方法还包括:
    所述第一设备接收来自所述第三设备的指令,基于所述指令切换第二通道传输DCN消息。
  6. 根据权利要求5所述的方法,其中,所述第一设备接收来自所述第三设备的指令之前,所述方法还包括:
    所述第一设备向所述第三设备发送与所述第二通道相关的确认消息。
  7. 根据权利要求5所述的方法,其中,所述方法还包括:
    所述第一设备检测到所述第二通道失效或删除时,切换至所述第一通道传输DCN消息。
  8. 一种数据传输方法,所述方法包括:
    第二设备接收来自第一设备的第一消息;所述第一消息通过灵活以太网FlexE、城域传送网MTN或切片分组网SPN开销帧承载;所述第一消息包括数据通信网络DCN通道标识和用于设备上线的相关信息;
    所述第二设备基于所述第二设备的标识信息、所述用于设备上线的相关信息和所述第一设备相关的邻居信息生成第二消息,向所述第三设备发送第二消息;
    所述第二设备接收所述第三设备的第三消息,并将所述第三消息转发至所述第一设备,所述第三消息中包括所述第三设备为所述第一设备分配的管理IP地址,所述管理IP地址用于所述第一设备接入数据通信网络。
  9. 根据权利要求8所述的方法,其中,所述第一消息通过FlexE端口的FlexE开销帧、MTN端口的MTN开销帧或SPN端口的SPN开销帧中的第一通道传输。
  10. 根据权利要求8所述的方法,其中,所述方法还包括:
    所述第二设备判断所述第一设备是否为已登记的邻居节点;
    若所述第一设备为已登记的邻居节点,获得所述第一设备相关的邻居信息。
  11. 根据权利要求10所述的方法,其中,所述方法还包括:
    若所述第一设备为未登记的邻居节点,为所述第一设备分配邻居标识,以及生成所述第一设备相关的邻居信息;
    其中,所述邻居信息包括以下至少之一:所述第二设备的端口索引、所述第一设备的索引、所述第一设备标识、所述第一设备的连接端口标识、所述第一设备的IP地址、所述第一设备的IPv6管理地址、所述第一设备的 IPv4管理地址、所述第一设备的系统名称、所述第一设备的系统描述信息。
  12. 根据权利要求8所述的方法,其中,所述用于设备上线的相关信息包括以下至少之一:设备的媒体接入控制MAC地址、系统名称、系统描述信息、互联网协议第6版IPv6管理地址、互联网协议第4版IPv4管理地址。
  13. 一种数据传输方法,所述方法包括:
    第三设备接收来自第二设备的第二消息,所述第二消息中包括:所述第二设备的标识信息、对应于第一设备的用于设备上线的相关信息和所述第一设备相关的邻居信息;
    所述第三设备为所述第一设备分配管理IP地址,通过所述第二设备向所述第一设备发送包含有所述管理IP地址的第三消息,所述管理IP地址用于所述第一设备接入数据通信网络。
  14. 根据权利要求13所述的方法,其中,所述第三设备为所述第一设备分配管理IP地址,包括:
    所述第三设备根据所述第二设备的标识信息确定所述第二设备所属的区域范围,根据所述区域范围从对应的管理IP地址集合为所述第一设备分配管理IP地址。
  15. 根据权利要求13所述的方法,其中,所述用于设备上线的相关信息包括以下至少之一:设备的媒体接入控制MAC地址、系统名称、系统描述信息、互联网协议第6版IPv6管理地址、互联网协议第4版IPv4管理地址。
  16. 根据权利要求13所述的方法,其中,所述第一设备相关的邻居信息包括以下至少之一:所述第二设备的端口索引、所述第一设备的索引、所述第一设备标识、所述第一设备的连接端口标识、所述第一设备的IP地址、所述第一设备的IPv6管理地址、所述第一设备的IPv4管理地址、所述 第一设备的系统名称、所述第一设备的系统描述信息。
  17. 根据权利要求13所述的方法,其中,所述方法还包括:
    所述第三设备接收来自所述第一设备的与所述第二通道相关的确认消息;
    基于所述确认消息向所述第一设备发送指令,所述指令用于所述第一设备切换第一通道传输DCN消息。
  18. 根据权利要求13所述的方法,其中,所述第二消息中还包括通道标识。
  19. 一种数据传输装置,所述装置包括:第一通信单元和接入单元;其中,
    所述第一通信单元,配置为通过灵活以太网FlexE、城域传送网MTN或切片分组网SPN开销帧发送第一消息至第二设备;所述第一消息包括数据通信网络DCN通道标识和用于设备上线的相关信息;还配置为通过所述第二设备接收来自第三设备的第三消息,所述第三消息中包括所述第三设备为所述第一设备分配的管理互联网协议IP地址;
    所述接入单元,配置为基于所述管理IP地址接入数据通信网络。
  20. 一种数据传输装置,所述装置包括:第二通信单元、第一处理单元和第三通信单元;其中,
    所述第二通信单元,配置为接收来自第一设备的第一消息;所述第一消息通过灵活以太网FlexE、城域传送网MTN或切片分组网SPN开销帧承载;所述第一消息包括数据通信网络DCN通道标识和用于设备上线的相关信息;
    所述第一处理单元,配置为基于所述第二设备的标识信息、所述用于设备上线的相关信息和所述第一设备相关的邻居信息生成第二消息;
    所述第三通信单元,配置为向所述第三设备发送第二消息;还配置为 接收所述第三设备的第三消息,所述第三消息中包括所述第三设备为所述第一设备分配的管理IP地址,所述管理IP地址用于所述第一设备接入数据通信网络;
    所述第二通信单元,还配置为将所述第三消息转发至所述第一设备。
  21. 一种数据传输装置,所述装置包括:第四通信单元和分配单元;其中,
    所述第四通信单元,配置为接收来自第二设备的第二消息,所述第二消息中包括:所述第二设备的标识信息、对应于第一设备的用于设备上线的相关信息和所述第一设备相关的邻居信息;
    所述分配单元,配置为为所述第一设备分配管理IP地址;所述管理IP地址用于所述第一设备接入数据通信网络;
    所述第四通信单元,还配置为通过所述第二设备向所述第一设备发送包含有所述管理IP地址的第三消息。
  22. 一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现权利要求1至7任一项所述方法的步骤;或者,
    该程序被处理器执行时实现权利要求8至12任一项所述方法的步骤;或者,
    该程序被处理器执行时实现权利要求13至18任一项所述方法的步骤。
  23. 一种通信设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现权利要求1至7任一项所述方法的步骤;或者,
    所述处理器执行所述程序时实现权利要求8至12任一项所述方法的步骤;或者,
    所述处理器执行所述程序时实现权利要求13至18任一项所述方法的步骤。
PCT/CN2022/085653 2021-04-25 2022-04-07 一种数据传输方法、装置、系统和通信设备 WO2022228078A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110450007.3 2021-04-25
CN202110450007.3A CN115334042A (zh) 2021-04-25 2021-04-25 一种数据传输方法、装置、系统和通信设备

Publications (1)

Publication Number Publication Date
WO2022228078A1 true WO2022228078A1 (zh) 2022-11-03

Family

ID=83846646

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/085653 WO2022228078A1 (zh) 2021-04-25 2022-04-07 一种数据传输方法、装置、系统和通信设备

Country Status (2)

Country Link
CN (1) CN115334042A (zh)
WO (1) WO2022228078A1 (zh)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739819A (zh) * 2012-06-21 2012-10-17 华为技术有限公司 一种传输通道建立方法、装置及系统
US20140187199A1 (en) * 2012-12-27 2014-07-03 Cellco Partnership D/B/A Verizon Wireless Method and system to improve device pinging
CN107277190A (zh) * 2017-07-14 2017-10-20 中国联合网络通信集团有限公司 一种sdn设备自动上线的方法、sdn设备和控制器
CN108243035A (zh) * 2016-12-26 2018-07-03 华为技术有限公司 Dcn报文处理方法、网络设备和网络系统
CN108650126A (zh) * 2018-05-09 2018-10-12 华信塞姆(成都)科技有限公司 一种ptn网络中自动发现和配置带内dcn的方法
CN109302504A (zh) * 2017-07-25 2019-02-01 中国移动通信有限公司研究院 Ptn中控制信令通道的建立方法、ptn网元及存储介质
CN110086684A (zh) * 2019-05-30 2019-08-02 深圳市中航比特通讯技术有限公司 一种基于动态规划的dcn网络自通方法
CN112491492A (zh) * 2019-09-12 2021-03-12 华为技术有限公司 一种时隙协商的方法和设备
CN112543386A (zh) * 2019-09-20 2021-03-23 中国移动通信有限公司研究院 一种地址获取方法及相关设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104579728B (zh) * 2013-10-17 2019-02-26 中兴通讯股份有限公司 网元设备配置和管理方法、装置及网元设备
CN108777722B (zh) * 2018-04-25 2021-07-16 广州视源电子科技股份有限公司 多系统组网通信方法、装置、移动终端及存储介质
CN111683159A (zh) * 2019-03-11 2020-09-18 阿里巴巴集团控股有限公司 Ip地址分配方法、设备、系统及存储介质
CN110233766B (zh) * 2019-06-26 2022-05-17 重庆奥普泰通信技术有限公司 一种基于IPv6的OTN、PTN、IPRAN、SPN及PON网络自动部署的方法

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739819A (zh) * 2012-06-21 2012-10-17 华为技术有限公司 一种传输通道建立方法、装置及系统
US20140187199A1 (en) * 2012-12-27 2014-07-03 Cellco Partnership D/B/A Verizon Wireless Method and system to improve device pinging
CN108243035A (zh) * 2016-12-26 2018-07-03 华为技术有限公司 Dcn报文处理方法、网络设备和网络系统
CN107277190A (zh) * 2017-07-14 2017-10-20 中国联合网络通信集团有限公司 一种sdn设备自动上线的方法、sdn设备和控制器
CN109302504A (zh) * 2017-07-25 2019-02-01 中国移动通信有限公司研究院 Ptn中控制信令通道的建立方法、ptn网元及存储介质
CN108650126A (zh) * 2018-05-09 2018-10-12 华信塞姆(成都)科技有限公司 一种ptn网络中自动发现和配置带内dcn的方法
CN110086684A (zh) * 2019-05-30 2019-08-02 深圳市中航比特通讯技术有限公司 一种基于动态规划的dcn网络自通方法
CN112491492A (zh) * 2019-09-12 2021-03-12 华为技术有限公司 一种时隙协商的方法和设备
CN112543386A (zh) * 2019-09-20 2021-03-23 中国移动通信有限公司研究院 一种地址获取方法及相关设备

Also Published As

Publication number Publication date
CN115334042A (zh) 2022-11-11

Similar Documents

Publication Publication Date Title
US8086713B2 (en) Determining a subscriber device has failed gracelessly without issuing a DHCP release message and automatically releasing resources reserved for the subscriber device within a broadband network upon determining that another subscriber device requesting the reservation of a network address has the same context information as the failed subscriber device
US10027623B2 (en) Internet protocol address resolution
US8089967B2 (en) Modification of a switching table of an internet protocol switch
US8769057B1 (en) Employing a hierarchy of servers to resolve fractional IP addresses
WO2018082592A1 (zh) 一种报文处理方法以及网络设备
JP3759129B2 (ja) 重複アドレスノードに仮想アドレスを自動で割り当てる装置及び方法
WO2016177145A1 (zh) 报文发送方法及装置
WO2019205799A1 (zh) 一种处理组播数据报文的方法及装置
CN114095430B (zh) 一种访问报文的处理方法、系统及工作节点
WO2013053266A1 (zh) 一种报文的学习方法、装置和系统
US11438268B2 (en) Server-based local address assignment protocol
CA2774281C (en) User access method, system, access server, and access device
WO2016197689A1 (zh) 处理报文的方法、装置和系统
US11929913B2 (en) Method for creating data transmission entry and related device
CN107770072A (zh) 一种发送和接收报文的方法和设备
CN108206783A (zh) 一种软件定义网络系统中地址配置方法及其装置
US7882169B1 (en) Method and apparatus for configuring relay processes used for dynamically configuring hosts in network communications
CN111740908B (zh) 通信方法及相关设备
CN105897542B (zh) 一种隧道建立方法及视频监控系统
WO2016155272A1 (zh) 一种数据处理方法、装置及设备
WO2022228078A1 (zh) 一种数据传输方法、装置、系统和通信设备
JP2023511150A (ja) マルチキャストパケット検出方法、ネットワークデバイス、およびシステム
WO2011072549A1 (zh) 非lisp站点与lisp站点通信的方法、装置及系统
CN112929193B (zh) 用于配置介质访问控制地址老化时间的方法和装置
WO2022257798A1 (zh) 转发方法、转发系统、电子设备和计算机可读存储介质

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: 22794549

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: 22794549

Country of ref document: EP

Kind code of ref document: A1