WO2017215446A1 - Configuration information notification method, configuration method and corresponding device for interface expansion apparatus - Google Patents
Configuration information notification method, configuration method and corresponding device for interface expansion apparatus Download PDFInfo
- Publication number
- WO2017215446A1 WO2017215446A1 PCT/CN2017/086721 CN2017086721W WO2017215446A1 WO 2017215446 A1 WO2017215446 A1 WO 2017215446A1 CN 2017086721 W CN2017086721 W CN 2017086721W WO 2017215446 A1 WO2017215446 A1 WO 2017215446A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- configuration information
- version
- configuration
- interface extension
- information
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/084—Configuration by using pre-existing information, e.g. using templates or copying from other elements
- H04L41/0843—Configuration by using pre-existing information, e.g. using templates or copying from other elements based on generic templates
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
Definitions
- the present disclosure relates to the field of communications technologies, for example, to a configuration information notification method, a configuration method, and a corresponding device of an interface extension device.
- the Institute of Electrical and Electronics Engineers (Institute of Electrical and Electronics Engineers, IEEE) proposed a series of new 802.1 standards for new technologies such as data center virtual machine migration, including: congestion notification 802.1Qau, enhanced transmission selection 802.1Qaz, priority-based flow control 802.1Qbb
- the edge virtual bridge 802.1Qbg and the virtual bridge interface extend the 802.1BR standard.
- the 802.1Qbg standard introduces a Virtual Ethernet Port Aggregator (VEPA).
- VEPA Virtual Ethernet Port Aggregator
- the VEPA device can send all the information to the border bridge, so that the use of the Access Control List (ACL) is no longer used. Depends on where the virtual machine is located.
- the VSI Discovery and Configuration Protocol can implement the discovery and configuration of the Virtual Switch Interface (VSI); the Channel Discovery and Configuration Protocol (CDCP). Channel discovery and configuration can be achieved; the VEPA protocol can reduce the complexity associated with highly virtualized deployments.
- the 802.1Qbg standard focuses on the operation between the service equipment and the border bridge, and the physical link channel between the two devices.
- This method of edge relaying is relatively simple, and there is no need to modify the format of the packet transmitted on the current link, but when multicast or a large amount of information passes through the physical link, each channel will be sent in the 802.1Qbg standard. A copy of the frame results in multiple frames of the same frame in the physical link.
- the 802.1BR standard restricts the channel to only send and copy one frame by adding additional tag information to the message. This reduces the bandwidth usage of multiple identical frame replicas under multicast conditions, which usually requires more hardware resources to support.
- the 802.1BR standard can deploy a remote switch as a policy-controlled switch in a virtual environment instead of a switch deployed as a neighboring server rack. Through multiple virtual channels, the edge virtual bridge copies the frames to a set of remote ports, using the waterfall.
- the serial port flexibility allows the network to be designed to more efficiently allocate bandwidth for multicast, broadcast, and unicast frames.
- the 802.1BR standard establishes an expansion bridge system, including a Controlling Bridge (CB) and one or more Interface Extenders (PEs).
- CB Controlling Bridge
- PEs Interface Extenders
- a core for zero deployment of PE devices The PE device is plug-and-play, that is, the PE device can be configured directly through the command line interface (CLI) or the NMS.
- CLI command line interface
- the PE device can be self-starting and normal running.
- the connection link between the CB device and the PE device is not fixed. This requires the PE device to dynamically detect the Link Aggregation Control Protocol (LACP).
- LACP Link Aggregation Control Protocol
- the link member port of the link, and the zero-deployment of the PE device in the vertical stack environment the PE device needs to know the configuration information of the PE device, such as the storage path of the version file, the compile time and version number of the version.
- the PE device cannot dynamically detect LACP link member ports and PE device configuration information.
- the disclosure provides a configuration information notification method, a configuration method, and a corresponding device for an interface expansion device, so as to solve the problem that the PE device cannot perceive the configuration information of the PE device in the vertical stack environment, and thus cannot perform zero deployment.
- the embodiment provides a method for advertising configuration information of an interface extension device, including:
- the configuration information includes: a device type, a version number of the device, a version compile time, and a version storage path;
- the advertisement message is sent to the target interface extension device by controlling the cascade port of the bridge device.
- the embodiment further provides a method for configuring an interface expansion device, including:
- the content of the packet corresponding to the field includes configuration information of the interface extension device and address information of the control bridge device, where the configuration information includes: a device type, a version number of the device, a version compile time, and a version storage path.
- the interface extension device type in the configuration information is consistent with the device type of the target interface extension device, download the version file according to the configuration information and the address information of the control bridge device, and write the configuration information to the target interface extension device. In the configuration file.
- the embodiment further provides a configuration information notification device of the interface expansion device, including:
- the obtaining module is configured to: obtain configuration information of the pre-stored interface expansion device, where the configuration information includes: a device type, a version number of the device, a version compiling time, and a version storage path;
- the processing module is configured to: fill the configuration information and the address information of the control bridge device into the private message field of the advertisement packet;
- the sending module is configured to: send the advertisement packet to the target interface extension device by using a cascade port of the control bridge device.
- the embodiment further provides an apparatus for configuring an interface expansion device, including:
- the receiving module is configured to: receive an advertisement message that is sent by the control bridge device and carries a private message field, where the content of the packet corresponding to the private message field includes configuration information of the interface extension device and an address of the control bridge device.
- Information, the configuration information includes: a device type, a version number of the device, a version compile time, and a version storage path;
- the parsing processing module is configured to: parse the advertisement packet to obtain configuration information of the interface extension device;
- a judging module configured to: disconnect the interface extension device type in the configuration information from the device type of the target interface extension device;
- the configuration module is configured to: when the interface extension device type in the configuration information is consistent with the device type of the target interface extension device, download the version file according to the configuration information and the address information of the control bridge device, and write the configuration information. Enter the configuration file of the target interface extension device.
- the embodiment further provides a computer readable storage medium, where the computer storage medium stores Computer executable instructions for performing any of the methods described above.
- the embodiment also provides an electronic device including one or more processors, a memory, and one or more programs, the one or more programs being stored in the memory when executed by one or more processors When performing any of the above methods.
- the embodiment further provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer Having the computer perform any of the methods described above.
- the configuration information of the pre-stored interface extension device is obtained, and the configuration information and the address information of the local end are filled in the private packet field of the advertisement packet, and the advertisement packet is sent to the interface extension device through the expansion port.
- the configuration information of the interface extension device is added to the advertisement packet in the manner of a private packet field, and is sent to the interface extension device, so that the interface extension device can directly parse the corresponding configuration information after receiving the advertisement packet. Thereby, the dynamic awareness of the interface extension device configuration information is realized, thereby achieving zero deployment.
- FIG. 1 is a schematic structural diagram of a configuration information notification apparatus of an interface extension device according to a first embodiment
- FIG. 2 is a schematic flowchart of a method for notifying a configuration information of an interface extension device according to the first embodiment
- FIG. 3 is a schematic diagram of a basic format of a private message field provided by the first embodiment
- FIG. 4 is a schematic diagram of a basic format of an LLDP private packet field provided by the first embodiment
- FIG. 5 is a schematic diagram of a LLDP private packet field carrying information format provided by the first embodiment
- FIG. 6 is a schematic diagram of carrying specific information of an LLDP private packet field provided by the first embodiment
- FIG. 7 is a schematic structural diagram of a device for configuring an interface expansion device according to a second embodiment
- FIG. 8 is a schematic flowchart diagram of a method for configuring an interface expansion device according to a second embodiment
- FIG. 9 is a schematic structural diagram of an electronic device according to a second embodiment.
- the configuration information advertisement method, the configuration method, and the corresponding device of the interface extension device provided in this embodiment are filled in the advertisement packet by the CB device, and the private packet field is used.
- -Iength-value, TLV) adds the configuration information of the PE device, and sends the advertisement packet with the configuration information to the target PE device through the cascade port.
- the target PE device receives the advertisement packet, the target PE device The advertisement packet is parsed to obtain the corresponding configuration information, and the PE device type in the configuration information is consistent with the device type of the target PE device.
- the PE device type in the configuration information is the same as the device type of the target PE device.
- the target PE device downloads the corresponding version file from the CB device through the File Transfer Protocol (FTP), and writes the parsed configuration information to the configuration file of the target PE device.
- FTP File Transfer Protocol
- the zero deployment of the PE device can be understood as the PE device detecting the connection link between the PE device and the CB device, and the PE device and the CB device.
- the corresponding port is used to store the detected port information in the PE device, so that the PE device downloads the version file of the software to be run through the corresponding link.
- the information about the detected port may include the information of the port that can receive the private TLV message and the port that the CB device sends the private TLV message, and the uplink port of the PE device, that is, the PE device and the CB device.
- a port that can receive private TLV messages may include the information of the port that can receive the private TLV message and the port that the CB device sends the private TLV message, and the uplink port of the PE device, that is, the PE device and the CB device.
- FIG. 1 is a schematic structural diagram of a configuration information notification apparatus of an interface expansion device according to an embodiment of the present disclosure.
- the configuration information notification apparatus may be configured in a CB device.
- the configuration information notification apparatus may include: The obtaining module 110, the processing module 120, and the sending module 130, wherein:
- the obtaining module 110 is configured to: obtain configuration information of the pre-stored interface extension device, where the configuration information includes: a device type, a version number of the device, a version compile time, and a version storage path.
- the processing module 120 is configured to: fill the configuration information and the address information of the control bridge device into the private message field of the advertisement message.
- the sending module 130 is configured to: send the advertisement packet to the target interface extension device by using a cascade port of the control bridge device.
- the advertisement packet is an advertisement packet carrying the configuration information described above.
- the processing module 120 is configured to pre-store the configuration information of the interface expansion device in the control bridge device in a configuration file, so that the control bridge device reads the configuration file by Obtaining configuration information of the interface extension device.
- the PE device that receives the advertisement message with the private message field may be referred to as the target PE device.
- the processing module 120 may convert the configuration information of the PE device into the configuration file in advance. And the configuration file is stored on the CB device.
- the obtaining module 110 obtains the configuration information by reading the configuration file.
- the processing module 120 stores the configuration information in the flash memory of the CB device. In the flash), the configuration information is converted into a configuration file and stored in the flash.
- the configuration file may be an Extensible Markup Language (XML) file, and the obtaining module 110 reads the XML corresponding to the configuration file from the flash.
- the file is parsed, and the configuration of the PE device is obtained, such as the device type of the PE device, the version number of the PE device, the version compile time, and the version storage path.
- XML Extensible Markup Language
- the version number of the PE device is the version number of the software that the PE device needs to run.
- the version compile time is the compile time of the software that the PE device needs to run.
- the version storage path is the directory information that the PE device needs to run to store the software in the CB device. .
- the processing module 120 is configured to: fill the configuration information and the address information of the control bridge device into the message content corresponding to the private message field of the advertisement packet, and in the private message
- the header of the text field sets the type of the private message field and the length of the private message field header information.
- the processing module 120 is configured to: add a private TLV to the advertisement packet, and the CB device fills the obtained configuration information into the private TLV according to the corresponding format, for example, The processing module 120 fills the configuration information and the address information of the CB device into the content of the packet corresponding to the private TLV of the advertisement packet in a corresponding format, and sets the type and private type of the private message field in the header of the packet field. The length of the header information of the message field.
- the configuration information of each port of the PE device is not fixed.
- the configuration information of the PE device is modified, the content corresponding to the configuration file stored in the flash on the CB device may be changed.
- the obtaining module 110 may obtain the configuration file of the PE device from the flash, and parse the corresponding configuration information from the configuration file, and then re-fill the configuration information into the private TLV of the advertisement packet and send the configuration information to the target PE device.
- the user can modify the configuration file of the PE device stored on the CB device, and the CB device can send the notification of the configuration information of the modified PE device.
- a packet that is, a private TLV packet, enables the PE device to obtain configuration information of the modified PE device through the configuration of the private TLV packet, and realize zero deployment of multiple PE devices.
- the present embodiment further provides a configuration information advertisement method for the interface extension device.
- the configuration information notification method for the interface extension device is provided in this embodiment. The method can be applied to a CB device and can include steps 202-206.
- step 202 configuration information of the interface expansion device stored in advance is acquired.
- the configuration information of the PE device may include information such as the device type, the version number of the device, the version compile time, and the version storage path.
- the foregoing configuration information may be stored in a specific configuration file, and the advertisement information sent by the configuration information notification device may be an LLDP nearest bridge advertisement packet, and the configuration information of the PE device is added to the packet. And adding configuration information of the PE device to the packet in a private TLV format.
- the acquiring, by the pre-stored configuration information of the interface expansion device, the configuration information of the interface expansion device is pre-stored in the control bridge device in a configuration file, so that the control bridge device is read by The configuration file acquires configuration information of the interface extension device
- the CB device may convert the configuration information of the PE device into a configuration file in advance, for example, storing the configuration information of the PE device in a configuration file, and storing the configuration file in a memory of the CB device, for example, Store the configuration file in the flash of the CB device.
- the CB device reads the configuration file from the flash and parses the configuration file to obtain the device type, the version number of the device, the version compile time, and the version storage path. information.
- step 204 the configuration information and the address information of the control bridge device are filled in the private message field of the advertisement message.
- the CB device adds a private TLV to the advertisement packet.
- the basic format of the packet field provided in this embodiment may include the packet.
- the type of the field type TLVtype and the length of the header information, the information content of the message field can occupy 0-511 octets.
- the configuration information and the address information of the control bridge device are filled in the message content corresponding to the private message field of the advertisement packet, and the private message field is set in the header of the private message field.
- the type and length of the private message field header information are specified.
- the processing module 120 adds the configuration information of the obtained PE device to the advertisement packet.
- the format of the advertisement packet private TLV may be: the header of the packet field includes the packet. The type of the TLV type and the length of the header information.
- the information content of the packet field includes multiple link identifiers, a private TLV subtype, and a corresponding packet content Value.
- the content of the TLV type can occupy 7 bits.
- the length of the header information can be 9 bits, the link identifier OUI can be 00-19-0c, the content of the link identifier can occupy 3 bytes (Byte), and the content of the private TLV subtype can occupy 1 byte.
- the processing module 120 fills the obtained configuration information into the private TLV, as shown in FIG. 5, the configuration information that the processing module 120 fills in to the private TLV.
- the configuration information that the processing module 120 fills in to the private TLV Including: the ID of the PE device, whether the version number of the PE device is changed, the version compilation information generation hash, the version compile time of the PE device, the version number, and the version name (verinfo) and the random number (random).
- the information is filled in the location of the private TLV.
- the ID of the PE device added to the private TLV can occupy 1 byte.
- the content of the PE device can be changed by 1 byte.
- the version information of the PE device is compiled.
- the content that generates the identifier can occupy 4 bytes.
- the content compilation time, version number, and version name of the PE device can occupy 60 bytes, and the random content can occupy 4 bytes.
- the version compilation information generation hash refers to calculating the compile time, version number, and a random number of the software that the PE device needs to run according to the hash algorithm, obtaining a hash value, and encrypting the private TLV report by using the obtained hash value.
- the problem is that the PE device receives the error message and the PE device continuously upgrades the software version or restarts continuously.
- the processing module 120 may further fill the configuration information of the next PE device into the private TLV, so that A PE device can also learn the corresponding configuration information and implement deployment of multiple PE devices.
- the format of the configuration information in the private TLV is as shown in FIG. 6.
- the configuration information of the PE device includes the PE device ID (type) being 0x01, and the identifier of the PE device changing flag is 0x00, and the version is compiled.
- the information generation identifier is hash, the version time of the PE device is 20151110957, the version number is V3.02.20B13, and the version name is MSXP.SET.
- step 206 the advertisement message is sent to the target interface extension device by controlling the cascade port of the bridge device.
- the private message field is set in step 204, and after the configuration information of the PE device is filled in the advertisement message according to the set private message field, the sending module 130 passes the configuration port of the CB end.
- the advertisement message of the information is sent to the target PE device, and the target PE device performs the resolution and deployment according to the received packet.
- the port of the CB device and the PE device includes two ports, one is a port that can receive private TLV packets, and the other is a port that cannot receive private TLV packets, that is, a common port and an uplink device.
- a member port is a port that can receive a private TLV packet in a port that is cascaded between a PE device and a CB device.
- the port that cannot receive the private TLV packet is a common port and does not belong to the PE device uplink device. Member port.
- the advertisement packet is a link layer discovery protocol LLDP packet.
- the configuration information advertisement method and device for the interface extension device obtaineds the configuration information of the interface extension device by using the acquisition module, and fills the configuration information into the advertisement packet, so that the advertisement packet carries the configuration of the PE device.
- the information is sent to the target PE device.
- the target PE device After receiving the advertisement packet, the target PE device can parse the configuration information from the advertisement packet, so that the PE device can sense the member port of the uplink device and obtain the The configuration information is zero-deployed accordingly.
- FIG. 7 is a schematic structural diagram of an apparatus for configuring an interface expansion device according to an embodiment.
- the configuration apparatus may be configured in a PE device.
- the configuration apparatus of the interface expansion device may include: Module 710, parsing processing module 720, judging module 730, and configuration module 740, wherein:
- the receiving module 710 is configured to: receive an advertisement message that is sent by the control bridge device and that carries the private message field, where the content of the packet corresponding to the private message field includes configuration information of the interface extension device and the device that controls the bridge device. Address information, the configuration information includes: a device type, a version number of the device, a version compile time, and a version storage path.
- the receiving module 710 receives the LLDP neighbor bridge advertisement packet sent by the CB device.
- the parsing processing module 720 is configured to: parse the advertisement packet to obtain configuration information of the interface extension device.
- the determining module 730 is configured to: disconnect the interface extension device type in the configuration information from the device type of the target interface extension device.
- the configuration module 740 is configured to: when the interface extension device type in the configuration information is consistent with the device type of the target interface extension device, download the version file according to the configuration information and the address information of the control bridge device, and configure the configuration information. Write to the configuration file of the target interface expansion device
- the version file downloaded by the PE device according to the configuration information and the address information of the control bridge is a version file of the software that the PE device needs to run.
- the PE device that receives the advertisement packet with the private packet field may be referred to as the target PE device.
- the configuration device of the interface extension device detects whether the advertisement packet has a private message.
- the TLV parses the advertisement packet by the parsing processing module 720 to obtain the device type, and the judging module 730 determines whether the parsed device type is consistent with the device type of the target PE device, and if they are consistent, the target is determined.
- the port of the PE device is the member port of the LACP link of the PE device.
- the current environment is a vertical stack.
- the device continues to parse the received private TLV packet format and obtain the address information of the CB device, such as the IP address of the VLAN 1 of the CB device.
- the version file information of the software that the PE device carried in the private TLV needs to run, wherein the PE device version file information includes information such as a version number, a version compile time, and a version storage path of the PE device.
- the target PE device can detect the port that receives the private TLV packet from the cascading port between the PE device and the CB device, and configures the port of the target PE device as a member port of the LACP.
- the configuration module 740 is configured to: according to the version number, the version compile time, and the version storage path of the device in the configuration information, use the address information of the control bridge device and FTP from the control bridge according to the file transfer protocol. Download the version file from the device.
- the configuration module 740 downloads the version file corresponding to the version file information from the CB device according to the obtained version storage path.
- the target PE device can pass the file transfer protocol FTP is used to download the version file.
- the port that sends the advertisement packet is the CB device port that sends the private TLV packet.
- the parsing processing module 720 after downloading the version file according to the version file information of the PE device, further includes writing the parsed configuration information into the configuration file of the target PE device, so that the target PE device is deployed next time. You can directly read the corresponding port information and PE device version file information from its own configuration file.
- the connection link between the CB device and the PE device is different, but the PE device can directly
- the received packet is the corresponding port, that is, the cascading port of the CB device, and the port information of the PE device obtained from the packet is used as the member port of the LACP link of the PE device, and the corresponding version is downloaded from the CB device.
- the file is implemented, so that the PE device deploys the PE device according to the received packet.
- the present embodiment further provides a configuration method of the interface expansion device, which can be applied to the PE device, as shown in FIG.
- the configuration method of the interface expansion device may include steps 802 to 808.
- step 802 the notification message carrying the private message field sent by the control bridge device is received, and the content of the packet corresponding to the private message field includes the configuration information of the interface extension device and the address information of the control bridge device. .
- the configuration information may include: a device type, a version number of the device, a version compile time, and a version storage path.
- the PE device that receives the advertisement packet with the private packet field may be referred to as the target PE device, and the configuration information may include: a device type, a version number of the device, a version compile time, and a version storage path, where
- the advertisement information received by the configuration information notification device may be an LLDP nearest bridge advertisement packet sent by the CB device, and the configuration information of the PE device is added to the packet, and the packet is in the private TLV format. Add configuration information of the PE device.
- step 804 the advertisement packet is parsed to obtain configuration information of the interface extension device.
- the configuration device When the configuration device receives the advertisement packet, it detects whether the advertisement packet carries a private TLV. If the advertisement packet has a private TLV, the resolution processing module 720 parses the advertisement packet to obtain the device type. information.
- step 806 it is determined whether the interface extension device type in the configuration information is consistent with the device type of the target interface extension device.
- step 808 in a case where the interface extension device type in the configuration information is consistent with the device type of the target interface extension device, the version file is downloaded according to the configuration information and the address information of the control bridge device, and the configuration information is written.
- the target interface is extended in the configuration file of the device.
- the judging module 730 determines whether the parsed device type is consistent with the device type of the target PE device. If the parsed device type is consistent with the device type of the target PE device, the port of the target PE device is determined to be the PE device LACP link. Member port, the current environment is a vertical stack environment, and the received private TLV packet format is analyzed. The IP address of the VLAN 1 of the CB device and the version file of the PE device carried in the private TLV are obtained. The file information includes information such as the version number of the device, the version compile time, and the version storage path.
- the downloading the version file according to the configuration information and the address information of the control bridge device includes: obtaining a version number, a version compiling time, and a version storage path of the device in the configuration information, and using the address information of the control bridge device according to the File Transfer Protocol FTP downloads version files from the control bridge device.
- the configuration device when it is determined that the device type in the configuration information is consistent with the device type of the target PE device, the configuration device is configured according to the device type, the version number of the device, the version compile time, and the version storage path.
- the information about the port of the PE device is zero.
- the port of the PE device is used to find the corresponding communication link, connect to the CB device through the communication link, and use the FTP version of the CB device according to the version number of the device. Download the version file corresponding to the version number and deploy the PE device based on the version file.
- the port information of the PE device can be understood as the member port of the LACP of the PE device.
- the configuration device may further write the parsed configuration information into a configuration file of the target PE device, where the configuration file may be an XML file, and the configuration information is written into the XML file and stored in the flash of the PE device.
- the XML file corresponding to the configuration information can be directly read from the flash to obtain the configuration information of the PE device, and the XML file corresponding to the configuration information is directly read from the flash of the PE device.
- Obtaining the configuration information of the PE device is applicable to the case that the configuration information of the PE device is not modified. If the configuration information is modified, the configuration information needs to be obtained through the foregoing step 802-step 808.
- the configuration information notification method, the configuration method, and the corresponding device of the interface extension device provided in this embodiment are configured to fill the configuration information of the obtained PE device into the advertisement packet in the private TLV format by using the processing module.
- the sending module sends the advertised packet with the private TLV to the target PE device through the cascading port.
- the target PE device parses the advertised packet and obtains the advertised packet.
- the configuration of the PE device determines whether the device type in the configuration information is the same as the device type of the target PE device. If the device type in the configuration information is the same as the device type of the target PE device, the configuration information and the address of the CB device are used.
- the information is downloaded from the CB device, so that the PE device can directly obtain the configuration information of the PE device through the received packet, and the communication between the CB device and the PE device can be obtained without manual operation or communication through the gateway device.
- the link information is obtained, and the member port of the uplink LACP link of the PE device is obtained, and the version file is downloaded from the CB device to perform the PE device deployment according to the configured configuration information, so that the PE device can dynamically sense the configuration information.
- the embodiment further provides a computer readable storage medium storing computer executable instructions for performing the method provided by any of the above embodiments.
- FIG. 9 is a schematic structural diagram of an electronic device according to the embodiment. As shown in FIG. 9, the electronic device includes: one or more processors 910 and a memory 920. One processor 910 is taken as an example in FIG.
- the electronic device may further include an input device 930 and an output device 940.
- the processor 910, the memory 920, the input device 930, and the output device 940 in the electronic device may be connected by a bus or other means, as exemplified by a bus connection in FIG.
- Input device 930 can receive input numeric or character information
- output device 940 can include a display device such as a display screen.
- the memory 920 is a computer readable storage medium that can be used to store software programs, computer executable programs, and modules.
- the processor 910 performs various functional applications and data processing by executing software programs, instructions, and modules stored in the memory 920 to implement any of the above-described embodiments.
- the memory 920 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the electronic device, and the like.
- the memory may include volatile memory such as random access memory (RAM), and may also include non-volatile memory such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device.
- Memory 920 can be a non-transitory computer storage medium or a transitory computer storage medium.
- the non-transitory computer storage medium such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
- memory 920 can optionally include remotely with respect to processor 910 Set up memory that can be connected to an electronic device over a network. Examples of the above networks may include the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
- Input device 930 can be used to receive input digital or character information and to generate key signal inputs related to user settings and function control of the electronic device.
- Output device 940 can include a display device such as a display screen.
- the electronic device of the present embodiment may further include a communication device 950 that transmits and/or receives information over a communication network.
- a person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by executing related hardware by a computer program, and the program can be stored in a non-transitory computer readable storage medium.
- the program when executed, may include the flow of an embodiment of the method as described above, wherein the non-transitory computer readable storage medium may be a magnetic disk, an optical disk, a read only memory (ROM), or a random access memory (RAM). Wait.
- the present disclosure provides a configuration information notification method, a configuration method, and a corresponding device of an interface extension device, so that the PE device can obtain configuration information of the PE device through the received packet, and does not need to perform an artificial operation or a communication interaction through the gateway device.
- the link information between the CB device and the P device is obtained, so that the PE device can dynamically sense the configuration information, and the member ports of the uplink LACP link of the PE device, and download the version file from the CB device according to the configuration information to deploy the PE device. Settings.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A configuration information notification method, a configuration method and a corresponding device for an interface expansion apparatus. The notification method comprises: by acquiring pre-stored configuration information about an interface expansion apparatus, filling the configuration information and address information about a local end into a private message field of a notification message, and transmitting the notification message to a target interface extension apparatus via a cascade port of a control network bridge apparatus.
Description
本公开涉及通信技术领域,例如涉及一种接口扩展设备的配置信息通告方法、配置方法及相应装置。The present disclosure relates to the field of communications technologies, for example, to a configuration information notification method, a configuration method, and a corresponding device of an interface extension device.
随着网络技术的不断发展,通信交互的数据量也不断增多,导致企业的数据中心产生一些管理的难题,为了通过虚拟化技术提高处理器的使用效率,从而降低管理成本,电气和电子工程师协会(Institute of Electrical and Electronics Engineers,IEEE)针对数据中心虚拟机迁移等新技术提出了一系列新的802.1标准,包括:拥塞通告802.1Qau、增强型传输选择802.1Qaz、基于优先级的流控802.1Qbb、边缘虚拟桥802.1Qbg和虚拟桥接口扩展802.1BR标准等。With the continuous development of network technology, the amount of data for communication interaction is also increasing, which causes some management problems in the data center of the enterprise. In order to improve the efficiency of the processor through virtualization technology, thereby reducing the management cost, the Institute of Electrical and Electronics Engineers (Institute of Electrical and Electronics Engineers, IEEE) proposed a series of new 802.1 standards for new technologies such as data center virtual machine migration, including: congestion notification 802.1Qau, enhanced transmission selection 802.1Qaz, priority-based flow control 802.1Qbb The edge virtual bridge 802.1Qbg and the virtual bridge interface extend the 802.1BR standard.
其中,802.1Qbg标准引入了虚拟边界接口聚合器(Virtual Ethernet Port Aggregator,VEPA),VEPA设备能够将所有的信息都发送到边界桥,使得对访问控制列表(Access Control List,ACL)的使用不再依赖于虚拟机所处的位置。在802.1Qbg标准中,VSI发现与配置协议(VSI Discovery and Configuration Protocol,VDP)可以实现虚拟交换接口(Virtual Switch Interface,VSI)的发现和配置;隧道发现配置协议(Channel Discovery and Configuration Protocol,CDCP)可以实现通道的发现和配置;VEPA协议可以降低与高度虚拟化部署有关的复杂性。802.1Qbg标准主要关注服务设备和边界桥之间的操作,及两个设备之间的物理链路信道。这种边缘中继的办法比较简单,对当前链路上传输的报文格式不需要做修改,但是在组播或大量信息通过物理链路时,由于在802.1Qbg标准中每个信道都会发送一个帧副本,导致物理链路中相同的帧会有多个帧副本。The 802.1Qbg standard introduces a Virtual Ethernet Port Aggregator (VEPA). The VEPA device can send all the information to the border bridge, so that the use of the Access Control List (ACL) is no longer used. Depends on where the virtual machine is located. In the 802.1Qbg standard, the VSI Discovery and Configuration Protocol (VDP) can implement the discovery and configuration of the Virtual Switch Interface (VSI); the Channel Discovery and Configuration Protocol (CDCP). Channel discovery and configuration can be achieved; the VEPA protocol can reduce the complexity associated with highly virtualized deployments. The 802.1Qbg standard focuses on the operation between the service equipment and the border bridge, and the physical link channel between the two devices. This method of edge relaying is relatively simple, and there is no need to modify the format of the packet transmitted on the current link, but when multicast or a large amount of information passes through the physical link, each channel will be sent in the 802.1Qbg standard. A copy of the frame results in multiple frames of the same frame in the physical link.
为了解决802.1Qbg标准中出现的多个相同帧副本占用宽带的问题,802.1BR标准通过在报文中添加额外的标签信息,来限制信道只能发送和复制一个帧副
本,从而减少了组播状况下多个相同帧副本的带宽占用,这通常需要更多的硬件资源来支持。802.1BR标准可以将远程交换机部署为虚拟环境中的策略控制交换机,而不是部署成邻近服务器机架的交换机,通过多个虚拟通道,使边缘虚拟桥将帧复制到一组远程端口上,利用瀑布式的串联端口灵活地设计网络,更有效地为多播帧、广播帧和单播帧分配带宽。In order to solve the problem that multiple copies of the same frame appear in the 802.1Qbg standard occupy the bandwidth, the 802.1BR standard restricts the channel to only send and copy one frame by adding additional tag information to the message.
This reduces the bandwidth usage of multiple identical frame replicas under multicast conditions, which usually requires more hardware resources to support. The 802.1BR standard can deploy a remote switch as a policy-controlled switch in a virtual environment instead of a switch deployed as a neighboring server rack. Through multiple virtual channels, the edge virtual bridge copies the frames to a set of remote ports, using the waterfall. The serial port flexibility allows the network to be designed to more efficiently allocate bandwidth for multicast, broadcast, and unicast frames.
802.1BR标准建立了一个扩展桥系统,包括控制网桥设备(Controlling Bridge,CB)和一个或多个接口扩展设备(Port Extender,PE),在纵向堆叠环境中,对PE设备进行零部署的核心是PE设备的即插即用,即不需要通过任何命令行界面(Command Line Interface,CLI)或网管去直接配置PE设备,PE设备就可实现自启动和业务的正常运行。但是,由于纵向堆叠环境中PE设备即插即用,使得CB设备和PE设备之间的连接链路不固定,这就需要PE设备动态感知到上行链路汇聚控制协议(Link Aggregation Control Protocol,LACP)的链路成员端口,且为了实现纵向堆叠环境中PE设备的零部署,PE设备还需要感知PE设备配置信息,如版本文件的存放路径、版本的编译时间和版本号等信息。而在相关技术中,PE设备并不能实现动态感知LACP链路成员端口和PE设备配置信息。The 802.1BR standard establishes an expansion bridge system, including a Controlling Bridge (CB) and one or more Interface Extenders (PEs). In a vertical stacking environment, a core for zero deployment of PE devices The PE device is plug-and-play, that is, the PE device can be configured directly through the command line interface (CLI) or the NMS. The PE device can be self-starting and normal running. However, because the PE device in the vertical stacking environment is plug-and-play, the connection link between the CB device and the PE device is not fixed. This requires the PE device to dynamically detect the Link Aggregation Control Protocol (LACP). The link member port of the link, and the zero-deployment of the PE device in the vertical stack environment, the PE device needs to know the configuration information of the PE device, such as the storage path of the version file, the compile time and version number of the version. In the related art, the PE device cannot dynamically detect LACP link member ports and PE device configuration information.
发明内容Summary of the invention
本公开提供了一种接口扩展设备的配置信息通告方法、配置方法及相应装置,以解决在纵向堆叠环境中,PE设备无法感知PE设备的配置信息,进而无法进行零部署的问题。The disclosure provides a configuration information notification method, a configuration method, and a corresponding device for an interface expansion device, so as to solve the problem that the PE device cannot perceive the configuration information of the PE device in the vertical stack environment, and thus cannot perform zero deployment.
本实施例提供一种接口扩展设备的配置信息通告方法,包括:The embodiment provides a method for advertising configuration information of an interface extension device, including:
获取预先存储的接口扩展设备的配置信息,所述配置信息包括:设备类型、设备的版本号、版本编译时间和版本存放路径;Acquiring configuration information of the pre-stored interface extension device, where the configuration information includes: a device type, a version number of the device, a version compile time, and a version storage path;
将所述配置信息和控制网桥设备的地址信息填入通告报文的私有报文字段中;以及Filling in the private message field of the advertisement message with the configuration information and the address information of the control bridge device;
通过控制网桥设备的级联端口向目标接口扩展设备发送所述通告报文。The advertisement message is sent to the target interface extension device by controlling the cascade port of the bridge device.
本实施例还提供一种接口扩展设备的配置方法,包括:The embodiment further provides a method for configuring an interface expansion device, including:
接收控制网桥设备发送的携带有私有报文字段的通告报文,所述私有报文
字段对应的报文内容中包括接口扩展设备的配置信息和控制网桥设备的地址信息,所述配置信息包括:设备类型、设备的版本号、版本编译时间和版本存放路径;Receiving, by the control bridge device, an advertisement message carrying a private message field, the private message
The content of the packet corresponding to the field includes configuration information of the interface extension device and address information of the control bridge device, where the configuration information includes: a device type, a version number of the device, a version compile time, and a version storage path.
对所述通告报文进行解析获取接口扩展设备的配置信息,判断所述配置信息中的接口扩展设备类型与目标接口扩展设备的设备类型是否一致;以及And parsing the advertisement packet to obtain configuration information of the interface extension device, and determining whether the interface extension device type in the configuration information is consistent with the device type of the target interface extension device;
在配置信息中的接口扩展设备类型与所述目标接口扩展设备的设备类型一致的情况下,根据配置信息和控制网桥设备的地址信息下载版本文件,并将配置信息写入目标接口扩展设备的配置文件中。If the interface extension device type in the configuration information is consistent with the device type of the target interface extension device, download the version file according to the configuration information and the address information of the control bridge device, and write the configuration information to the target interface extension device. In the configuration file.
本实施例还提供一种接口扩展设备的配置信息通告装置,包括:The embodiment further provides a configuration information notification device of the interface expansion device, including:
获取模块,设置为:获取预先存储的接口扩展设备的配置信息,所述配置信息包括:设备类型、设备的版本号、版本编译时间和版本存放路径;The obtaining module is configured to: obtain configuration information of the pre-stored interface expansion device, where the configuration information includes: a device type, a version number of the device, a version compiling time, and a version storage path;
处理模块,设置为:将所述配置信息和控制网桥设备的地址信息填入通告报文的私有报文字段中;以及The processing module is configured to: fill the configuration information and the address information of the control bridge device into the private message field of the advertisement packet;
发送模块,设置为:通过控制网桥设备的级联端口向目标接口扩展设备发送所述通告报文。The sending module is configured to: send the advertisement packet to the target interface extension device by using a cascade port of the control bridge device.
本实施例还提供一种接口扩展设备的配置装置,包括:The embodiment further provides an apparatus for configuring an interface expansion device, including:
接收模块,设置为:接收控制网桥设备发送的携带有私有报文字段的通告报文,所述私有报文字段对应的报文内容中包括接口扩展设备的配置信息和控制网桥设备的地址信息,所述配置信息包括:设备类型、设备的版本号、版本编译时间和版本存放路径;The receiving module is configured to: receive an advertisement message that is sent by the control bridge device and carries a private message field, where the content of the packet corresponding to the private message field includes configuration information of the interface extension device and an address of the control bridge device. Information, the configuration information includes: a device type, a version number of the device, a version compile time, and a version storage path;
解析处理模块,设置为:对所述通告报文进行解析获取接口扩展设备的配置信息;The parsing processing module is configured to: parse the advertisement packet to obtain configuration information of the interface extension device;
判断模块,设置为:断所述配置信息中的接口扩展设备类型与目标接口扩展设备的设备类型是否一致;以及a judging module, configured to: disconnect the interface extension device type in the configuration information from the device type of the target interface extension device;
配置模块,设置为:在配置信息中的接口扩展设备类型与所述目标接口扩展设备的设备类型一致的情况下,根据配置信息和控制网桥设备的地址信息下载版本文件,并将配置信息写入目标接口扩展设备的配置文件中。The configuration module is configured to: when the interface extension device type in the configuration information is consistent with the device type of the target interface extension device, download the version file according to the configuration information and the address information of the control bridge device, and write the configuration information. Enter the configuration file of the target interface extension device.
本实施例还提供一种计算机可读存储介质,所述计算机存储介质中存储有
计算机可执行指令,所述计算机可执行指令用于执行上述任意一种方法。The embodiment further provides a computer readable storage medium, where the computer storage medium stores
Computer executable instructions for performing any of the methods described above.
本实施例还提供一种电子设备,该电子设备包括一个或多个处理器、存储器以及一个或多个程序,所述一个或多个程序存储在存储器中,当被一个或多个处理器执行时,执行上述任意一种方法。The embodiment also provides an electronic device including one or more processors, a memory, and one or more programs, the one or more programs being stored in the memory when executed by one or more processors When performing any of the above methods.
本实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任意一种方法。The embodiment further provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer Having the computer perform any of the methods described above.
本实施例通过获取预先存储的接口扩展设备的配置信息,将配置信息和本端的地址信息填入通告报文的私有报文字段中,通过级联口将所述通告报文发送至接口扩展设备上;通过将接口扩展设备的配置信息以私有报文字段的方式添加到通告报文中发送给接口扩展设备,使得接口扩展设备在接收到通告报文后,可以直接解析得到相应的配置信息,从而实现了接口扩展设备配置信息的动态感知,进而实现了零部署。In this embodiment, the configuration information of the pre-stored interface extension device is obtained, and the configuration information and the address information of the local end are filled in the private packet field of the advertisement packet, and the advertisement packet is sent to the interface extension device through the expansion port. The configuration information of the interface extension device is added to the advertisement packet in the manner of a private packet field, and is sent to the interface extension device, so that the interface extension device can directly parse the corresponding configuration information after receiving the advertisement packet. Thereby, the dynamic awareness of the interface extension device configuration information is realized, thereby achieving zero deployment.
图1为第一实施例提供的接口扩展设备的配置信通告装置的结构示意图;1 is a schematic structural diagram of a configuration information notification apparatus of an interface extension device according to a first embodiment;
图2为第一实施例提供的接口扩展设备的配置信通告方法的流程示意图;2 is a schematic flowchart of a method for notifying a configuration information of an interface extension device according to the first embodiment;
图3为第一实施例提供的私有报文字段基本格式示意图;3 is a schematic diagram of a basic format of a private message field provided by the first embodiment;
图4为第一实施例提供的LLDP私有报文字段基本格式示意图;4 is a schematic diagram of a basic format of an LLDP private packet field provided by the first embodiment;
图5为第一实施例提供的LLDP私有报文字段携带信息格式示意图;FIG. 5 is a schematic diagram of a LLDP private packet field carrying information format provided by the first embodiment;
图6为第一实施例提供的LLDP私有报文字段携带具体信息示意图;FIG. 6 is a schematic diagram of carrying specific information of an LLDP private packet field provided by the first embodiment;
图7为第二实施例提供的接口扩展设备的配置装置结构示意图;FIG. 7 is a schematic structural diagram of a device for configuring an interface expansion device according to a second embodiment;
图8为第二实施例提供的接口扩展设备的配置方法的流程示意图;FIG. 8 is a schematic flowchart diagram of a method for configuring an interface expansion device according to a second embodiment;
图9为第二实施例提供的一种电子设备的结构示意图。FIG. 9 is a schematic structural diagram of an electronic device according to a second embodiment.
以下结合说明书附图对本公开的实施例进行说明,应当理解,此处所描述
的实施例仅用于说明和解释本公开,并不用于限定本公开,并且在不冲突的情况下,本公开中的实施例及实施例中的特征可以相互组合。The embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which should be understood as described herein.
The embodiments are only used to illustrate and explain the present disclosure, and are not intended to limit the present disclosure, and the features of the embodiments and the embodiments of the present disclosure may be combined with each other without conflict.
本实施例提供的接口扩展设备的配置信息通告方法、配置方法及相应装置,通过CB设备将获取到的接口扩展设备的配置信息填入到通告报文中,并以私有的报文字段(Type-Iength-value,TLV)形式进行PE设备配置信息的添加,将添加有配置信息的通告报文通过级联端口发送至目标PE设备,当目标PE设备接收到该通告报文后,目标PE设备对该通告报文进行解析处理,得到对应的配置信息,并判断配置信息中的PE设备类型与目标PE设备的设备类型是否一致,在配置信息中的PE设备类型与目标PE设备的设备类型一致的情况下,目标PE设备通过文件传输协议(File Transfer Protocol,FTP)从CB设备下载对应的版本文件,并将解析得到的配置信息写入到目标PE设备的配置文件中,解决了PE设备无法对配置信息动态感知的问题,使得PE设备在纵向堆叠环境中,可以根据接收通告报文解析得到配置信息,感知到LACP链路成员端口,从而实现零部署,其中,PE设备的零部署可理解为PE设备通过检测PE设备和CB设备之间的连接链路,以及PE设备和CB设备之间对应的端口,将检测到的端口信息存储到PE设备中,实现PE设备通过对应的链路下载所需运行的软件的版本文件。其中,上述检测到的端口信息可以包括PE设备中可以收到私有TLV报文的端口和CB设备发送私有TLV报文的端口的信息,还包括PE设备的上行端口,即PE设备和CB设备之间能够接收到私有TLV报文的端口。The configuration information advertisement method, the configuration method, and the corresponding device of the interface extension device provided in this embodiment are filled in the advertisement packet by the CB device, and the private packet field is used. -Iength-value, TLV) adds the configuration information of the PE device, and sends the advertisement packet with the configuration information to the target PE device through the cascade port. After the target PE device receives the advertisement packet, the target PE device The advertisement packet is parsed to obtain the corresponding configuration information, and the PE device type in the configuration information is consistent with the device type of the target PE device. The PE device type in the configuration information is the same as the device type of the target PE device. The target PE device downloads the corresponding version file from the CB device through the File Transfer Protocol (FTP), and writes the parsed configuration information to the configuration file of the target PE device. The problem that the configuration information is dynamically perceived, so that the PE device can be parsed according to the received advertisement packet in the vertical stack environment. Obtaining the configuration information and sensing the member ports of the LACP link, thereby achieving zero deployment. The zero deployment of the PE device can be understood as the PE device detecting the connection link between the PE device and the CB device, and the PE device and the CB device. The corresponding port is used to store the detected port information in the PE device, so that the PE device downloads the version file of the software to be run through the corresponding link. The information about the detected port may include the information of the port that can receive the private TLV message and the port that the CB device sends the private TLV message, and the uplink port of the PE device, that is, the PE device and the CB device. A port that can receive private TLV messages.
第一实施例First embodiment
请参见图1,图1为本实施提供的接口扩展设备的配置信息通告装置的结构示意图,该配置信息通告装置可以设置在CB设备中,在本实施例中,该配置信息通告装置可以包括:获取模块110、处理模块120和发送模块130,其中:Referring to FIG. 1 , FIG. 1 is a schematic structural diagram of a configuration information notification apparatus of an interface expansion device according to an embodiment of the present disclosure. The configuration information notification apparatus may be configured in a CB device. In this embodiment, the configuration information notification apparatus may include: The obtaining module 110, the processing module 120, and the sending module 130, wherein:
获取模块110,设置为:获取预先存储的接口扩展设备的配置信息,所述配置信息包括:设备类型、设备的版本号、版本编译时间和版本存放路径。The obtaining module 110 is configured to: obtain configuration information of the pre-stored interface extension device, where the configuration information includes: a device type, a version number of the device, a version compile time, and a version storage path.
处理模块120,设置为:将所述配置信息和控制网桥设备的地址信息填入通告报文的私有报文字段中。The processing module 120 is configured to: fill the configuration information and the address information of the control bridge device into the private message field of the advertisement message.
发送模块130,设置为:通过控制网桥设备的级联端口向目标接口扩展设备发送所述通告报文。
The sending module 130 is configured to: send the advertisement packet to the target interface extension device by using a cascade port of the control bridge device.
其中,该通告报文为携带有上述的配置信息的通告报文。The advertisement packet is an advertisement packet carrying the configuration information described above.
可选地,所述处理模块120,是设置为:将接口扩展设备的配置信息以配置文件的方式预先存储在控制网桥设备中,以使所述控制网桥设备通过读取所述配置文件获取所述接口扩展设备的配置信息。Optionally, the processing module 120 is configured to pre-store the configuration information of the interface expansion device in the control bridge device in a configuration file, so that the control bridge device reads the configuration file by Obtaining configuration information of the interface extension device.
在本实施例中,接收带有私有报文字段通告报文的PE设备可以叫作目标PE设备,在获取模块110获取配置信息之前,处理模块120可以预先将PE设备的配置信息转换成配置文件的形式,并将配置文件存储在CB设备上,当需要发送通告报文时,获取模块110通过读取所述配置文件获取配置信息,例如,处理模块120将配置信息存储在CB设备的闪存(flash)中,并且是将配置信息转换成配置文件后存储在flash中,该配置文件可以为可扩展标记语言(Extensible Markup Language,XML)文件,获取模块110从flash中读取配置文件对应的XML文件,并将该XML文件进行解析得到PE设备的设备类型、PE设备的版本号、版本编译时间和版本存放路径等PE设备配置信息。In this embodiment, the PE device that receives the advertisement message with the private message field may be referred to as the target PE device. Before the obtaining module 110 obtains the configuration information, the processing module 120 may convert the configuration information of the PE device into the configuration file in advance. And the configuration file is stored on the CB device. When the notification message needs to be sent, the obtaining module 110 obtains the configuration information by reading the configuration file. For example, the processing module 120 stores the configuration information in the flash memory of the CB device. In the flash), the configuration information is converted into a configuration file and stored in the flash. The configuration file may be an Extensible Markup Language (XML) file, and the obtaining module 110 reads the XML corresponding to the configuration file from the flash. The file is parsed, and the configuration of the PE device is obtained, such as the device type of the PE device, the version number of the PE device, the version compile time, and the version storage path.
其中,PE设备的版本号为PE设备需要运行的软件的版本号,版本编译时间为PE设备需要运行的软件的编译时间,版本存放路径为PE设备需要运行的软件存放在CB设备中的目录信息。The version number of the PE device is the version number of the software that the PE device needs to run. The version compile time is the compile time of the software that the PE device needs to run. The version storage path is the directory information that the PE device needs to run to store the software in the CB device. .
可选地,所述处理模块120,是设置为:将所述配置信息和控制网桥设备的地址信息填入通告报文的私有报文字段对应的报文内容中,并在所述私有报文字段的报头中设置私有报文字段的类型和私有报文字段报头信息的长度。Optionally, the processing module 120 is configured to: fill the configuration information and the address information of the control bridge device into the message content corresponding to the private message field of the advertisement packet, and in the private message The header of the text field sets the type of the private message field and the length of the private message field header information.
在本实施例中,在获取到上述的配置信息后,处理模块120是设置为:对上述通告报文增加私有TLV,CB设备将获取到的配置信息根据对应的格式填入私有TLV中,例如,处理模块120将配置信息和CB设备的地址信息以对应的格式填入通告报文的私有TLV对应的报文内容中,并在该报文字段的报头中设置私有报文字段的类型和私有报文字段报头信息的长度。In this embodiment, after the configuration information is obtained, the processing module 120 is configured to: add a private TLV to the advertisement packet, and the CB device fills the obtained configuration information into the private TLV according to the corresponding format, for example, The processing module 120 fills the configuration information and the address information of the CB device into the content of the packet corresponding to the private TLV of the advertisement packet in a corresponding format, and sets the type and private type of the private message field in the header of the packet field. The length of the header information of the message field.
在本实施例中,PE设备的每一个端口的配置信息并不是固定不变的,在修改PE设备的配置信息时,更改CB设备上存储于flash中的配置文件对应的内容即可。获取模块110可以不定时地从flash中获取PE设备的配置文件,从配置文件中解析得到对应的配置信息,再将配置信息重新填入到通告报文的私有TLV中,并发送至目标PE设备,从而实现配置信息的更新,不需要在PE设备和CB设备两端都进行配置文件的更改,使得在一端的配置文件内容出现修改的情
况下,另一端会自动根据发送的通告报文进行配置文件的对应修改,从而实现了PE设备动态感知配置信息,实现PE设备的零部署。In this embodiment, the configuration information of each port of the PE device is not fixed. When the configuration information of the PE device is modified, the content corresponding to the configuration file stored in the flash on the CB device may be changed. The obtaining module 110 may obtain the configuration file of the PE device from the flash, and parse the corresponding configuration information from the configuration file, and then re-fill the configuration information into the private TLV of the advertisement packet and send the configuration information to the target PE device. In order to update the configuration information, it is not necessary to change the configuration file on both ends of the PE device and the CB device, so that the content of the configuration file at one end is modified.
In this case, the other end automatically performs the corresponding modification of the configuration file according to the sent advertisement packet, thereby realizing the dynamic sensing configuration information of the PE device and implementing zero deployment of the PE device.
例如,存在多个PE设备的情况下,对多个PE设备进行零部署时,用户过修改CB设备上存储的PE设备的配置文件,CB设备即可发送携带修改后的PE设备配置信息的通告报文,即私有TLV报文,使得PE设备可以通过私有TLV报文感知配置信息,获取修改后的PE设备的配置信息,实现多个PE设备的零部署。For example, if there are multiple PE devices, the user can modify the configuration file of the PE device stored on the CB device, and the CB device can send the notification of the configuration information of the modified PE device. A packet, that is, a private TLV packet, enables the PE device to obtain configuration information of the modified PE device through the configuration of the private TLV packet, and realize zero deployment of multiple PE devices.
在上述图1所提供的配置信息通告装置的基础上,本实施还提供了一种接口扩展设备的配置信息通告方法,如图2所示,为本实施例提供接口扩展设备的配置信息通告方法,该方法可以应用于CB设备,可以包括步骤202-步骤206。On the basis of the configuration information notification device provided in FIG. 1 , the present embodiment further provides a configuration information advertisement method for the interface extension device. As shown in FIG. 2 , the configuration information notification method for the interface extension device is provided in this embodiment. The method can be applied to a CB device and can include steps 202-206.
在步骤202中,获取预先存储的接口扩展设备的配置信息。In step 202, configuration information of the interface expansion device stored in advance is acquired.
其中,PE设备的配置信息可以包括:设备类型、设备的版本号、版本编译时间和版本存放路径等信息。上述的配置信息可存储于特定的配置文件中,配置信息通告装置发送的通告报文可以为LLDP最近的桥(LLDP nearest bridge)通告报文,在该报文中添加有PE设备的配置信息,并且是以私有TLV格式在该报文中添加PE设备的配置信息。The configuration information of the PE device may include information such as the device type, the version number of the device, the version compile time, and the version storage path. The foregoing configuration information may be stored in a specific configuration file, and the advertisement information sent by the configuration information notification device may be an LLDP nearest bridge advertisement packet, and the configuration information of the PE device is added to the packet. And adding configuration information of the PE device to the packet in a private TLV format.
可选地,所述获取预先存储的接口扩展设备的配置信息包括:将接口扩展设备的配置信息以配置文件的方式预先存储在控制网桥设备中,以使所述控制网桥设备通过读取所述配置文件获取所述接口扩展设备的配置信息Optionally, the acquiring, by the pre-stored configuration information of the interface expansion device, the configuration information of the interface expansion device is pre-stored in the control bridge device in a configuration file, so that the control bridge device is read by The configuration file acquires configuration information of the interface extension device
在本实施例中,CB设备可以预先将PE设备的配置信息转换成配置文件,例如将PE设备的配置信息存方在一个配置文件中,并将配置文件存储在CB设备的存储器中,例如,将配置文件存储在CB设备的flash中。在需要将配置文件写入通告报文时,CB设备再从flash中读取出该配置文件,并对配置文件进行解析得到设备的类型、设备的版本号、版本编译时间和版本存放路径等配置信息。In this embodiment, the CB device may convert the configuration information of the PE device into a configuration file in advance, for example, storing the configuration information of the PE device in a configuration file, and storing the configuration file in a memory of the CB device, for example, Store the configuration file in the flash of the CB device. When the configuration file is to be written to the advertisement packet, the CB device reads the configuration file from the flash and parses the configuration file to obtain the device type, the version number of the device, the version compile time, and the version storage path. information.
在步骤204中,将所述配置信息和控制网桥设备的地址信息填入通告报文的私有报文字段中。In step 204, the configuration information and the address information of the control bridge device are filled in the private message field of the advertisement message.
在该步骤中,CB设备在获取到配置信息之后,对通告报文增加私有TLV,如图3所示,为本实施例提供的报文字段的基本格式示意图,该报文字段可以包括报文字段的报头和报文字段的信息内容,其中,报文字段的报头还包括报
文字段的类型TLVtype和报头信息的长度,报文字段的信息内容可以占用0-511个八位字节(octets)。In this step, after obtaining the configuration information, the CB device adds a private TLV to the advertisement packet. As shown in FIG. 3, the basic format of the packet field provided in this embodiment may include the packet. The header of the field and the information content of the message field, wherein the header of the message field further includes a report
The type of the field type TLVtype and the length of the header information, the information content of the message field can occupy 0-511 octets.
可选地,将所述配置信息和控制网桥设备的地址信息填入通告报文的私有报文字段对应的报文内容中,并在所述私有报文字段的报头中设置私有报文字段的类型和私有报文字段报头信息的长度。Optionally, the configuration information and the address information of the control bridge device are filled in the message content corresponding to the private message field of the advertisement packet, and the private message field is set in the header of the private message field. The type and length of the private message field header information.
在本实施例中,处理模块120将获取到的PE设备的配置信息添加到通告报文中,如图4所示,通告报文私有TLV添加的格式可以为:报文字段的报头包括报文字段的类型TLV type和报头信息的长度,报文字段的信息内容包括多个链路标识、私有TLV子类型以及相应的报文内容Value,其中,TLV type的内容可以占用7比特(bit),报头信息的长度可以为9bit,链路标识OUI可以为00-19-0c,链路标识的内容可以占用3个字节(Byte),私有TLV子类型的内容可以占用1Byte。In this embodiment, the processing module 120 adds the configuration information of the obtained PE device to the advertisement packet. As shown in FIG. 4, the format of the advertisement packet private TLV may be: the header of the packet field includes the packet. The type of the TLV type and the length of the header information. The information content of the packet field includes multiple link identifiers, a private TLV subtype, and a corresponding packet content Value. The content of the TLV type can occupy 7 bits. The length of the header information can be 9 bits, the link identifier OUI can be 00-19-0c, the content of the link identifier can occupy 3 bytes (Byte), and the content of the private TLV subtype can occupy 1 byte.
在本实施例中,根据图4的格式对私有TLV定义完成之后,处理模块120将获取到的配置信息填入私有TLV中,如图5所示,处理模块120向私有TLV填入的配置信息包括:PE设备的ID、PE设备的版本号是否改变、版本编译信息产生标识(hash)、PE设备的版本编译时间、版本号以及版本名称(verinfo)和随机数(random),将上述的配置信息填入到私有TLV对应的位置中,私有TLV中添加的PE设备的ID内容可以占用1个字节,PE设备的版本号是否改变的内容可以占用1个字节,PE设备的版本编译信息产生标识的内容可以占用4个字节,PE设备的版本编译时间、版本号以及版本名称的内容可以占用60个字节,random内容可以占用4个字节In this embodiment, after the definition of the private TLV is completed according to the format of FIG. 4, the processing module 120 fills the obtained configuration information into the private TLV, as shown in FIG. 5, the configuration information that the processing module 120 fills in to the private TLV. Including: the ID of the PE device, whether the version number of the PE device is changed, the version compilation information generation hash, the version compile time of the PE device, the version number, and the version name (verinfo) and the random number (random). The information is filled in the location of the private TLV. The ID of the PE device added to the private TLV can occupy 1 byte. The content of the PE device can be changed by 1 byte. The version information of the PE device is compiled. The content that generates the identifier can occupy 4 bytes. The content compilation time, version number, and version name of the PE device can occupy 60 bytes, and the random content can occupy 4 bytes.
其中,版本编译信息产生标识(hash)是指将PE设备需要运行的软件的编译时间、版本号和一个随机数按照hash算法进行计算,得到一个hash值,并用得到的hash值来加密私有TLV报文,以防止私有TLV报文被伪造而导致PE设备收到错误信息,出现PE设备不断进行软件版本升级或不断重启的问题。The version compilation information generation hash (hash) refers to calculating the compile time, version number, and a random number of the software that the PE device needs to run according to the hash algorithm, obtaining a hash value, and encrypting the private TLV report by using the obtained hash value. The problem is that the PE device receives the error message and the PE device continuously upgrades the software version or restarts continuously.
在本实施例中,如图5所示,为使多个PE设备能动态感知对应PE设备的配置信息,处理模块120还可以将下一个PE设备的配置信息填入到私有TLV中,使得下一个PE设备也可以获知对应的配置信息,实现多个PE设备的部署。将配置信息填入私有TLV中的格式如图6所示,例如,PE设备的配信息包括PE设备ID(type)为0x01、PE设备的版本是否改变的标识flag为0x00、版本编译
信息产生标识为哈希(hash)、PE设备的版本编译时间为20151110957、版本号为V3.02.20B13及版本名称为MSXP.SET。In this embodiment, as shown in FIG. 5, in order to enable a plurality of PE devices to dynamically sense the configuration information of the corresponding PE device, the processing module 120 may further fill the configuration information of the next PE device into the private TLV, so that A PE device can also learn the corresponding configuration information and implement deployment of multiple PE devices. The format of the configuration information in the private TLV is as shown in FIG. 6. For example, the configuration information of the PE device includes the PE device ID (type) being 0x01, and the identifier of the PE device changing flag is 0x00, and the version is compiled.
The information generation identifier is hash, the version time of the PE device is 20151110957, the version number is V3.02.20B13, and the version name is MSXP.SET.
在步骤206中,通过控制网桥设备的级联端口向目标接口扩展设备发送所述通告报文。In step 206, the advertisement message is sent to the target interface extension device by controlling the cascade port of the bridge device.
在本实施例中,通过步骤204设置私有报文字段,在根据设置的私有报文字段将PE设备的配置信息填入通告报文后,由发送模块130通过CB端的级联端口将带有配置信息的通告报文发送至目标PE设备,由目标PE设备根据接收到的报文进行解析部署。In this embodiment, the private message field is set in step 204, and after the configuration information of the PE device is filled in the advertisement message according to the set private message field, the sending module 130 passes the configuration port of the CB end. The advertisement message of the information is sent to the target PE device, and the target PE device performs the resolution and deployment according to the received packet.
在CB设备和PE设备的连接链路中包括两种端口,一种为可以收到私有TLV报文的端口,一种为无法收到私有TLV报文的端口,即普通端口,上行链路设备的成员端口是指使PE设备和CB设备之间实现级联的端口中能够接收到私有TLV报文的端口,而不能接收到私有TLV报文的端口为普通端口,不属于PE设备上行链路设备的成员端口。The port of the CB device and the PE device includes two ports, one is a port that can receive private TLV packets, and the other is a port that cannot receive private TLV packets, that is, a common port and an uplink device. A member port is a port that can receive a private TLV packet in a port that is cascaded between a PE device and a CB device. The port that cannot receive the private TLV packet is a common port and does not belong to the PE device uplink device. Member port.
可选地,所述通告报文为链路层发现协议LLDP报文。Optionally, the advertisement packet is a link layer discovery protocol LLDP packet.
本实施例提供的接口扩展设备的配置信息通告方法和装置,通过获取模块获取到接口扩展设备的配置信息,并将该配置信息填入到通告报文中,使得通告报文携带PE设备的配置信息发送给目标PE设备,当目标PE设备接收到通告报文后,可以从该通告报文中解析得到相应的配置信息,使得PE设备能够感知上行链路设备的成员端口,并根据解析得到的配置信息进行相应的零部署。The configuration information advertisement method and device for the interface extension device provided in this embodiment obtains the configuration information of the interface extension device by using the acquisition module, and fills the configuration information into the advertisement packet, so that the advertisement packet carries the configuration of the PE device. The information is sent to the target PE device. After receiving the advertisement packet, the target PE device can parse the configuration information from the advertisement packet, so that the PE device can sense the member port of the uplink device and obtain the The configuration information is zero-deployed accordingly.
第二实施例Second embodiment
请参见图7,图7为实施例提供的接口扩展设备的配置装置的结构示意图,该配置装置可以设置在PE设备中,在本实施例中,所述接口扩展设备的配置装置可以包括:接收模块710、解析处理模块720、判断模块730和配置模块740,其中:Referring to FIG. 7, FIG. 7 is a schematic structural diagram of an apparatus for configuring an interface expansion device according to an embodiment. The configuration apparatus may be configured in a PE device. In this embodiment, the configuration apparatus of the interface expansion device may include: Module 710, parsing processing module 720, judging module 730, and configuration module 740, wherein:
接收模块710,设置为:接收控制网桥设备发送的携带有私有报文字段的通告报文,所述私有报文字段对应的报文内容中包括接口扩展设备的配置信息和控制网桥设备的地址信息,所述配置信息包括:设备类型、设备的版本号、版本编译时间和版本存放路径。
The receiving module 710 is configured to: receive an advertisement message that is sent by the control bridge device and that carries the private message field, where the content of the packet corresponding to the private message field includes configuration information of the interface extension device and the device that controls the bridge device. Address information, the configuration information includes: a device type, a version number of the device, a version compile time, and a version storage path.
可选地,接收模块710接收所述通告报文是由CB设备发送过来的LLDP nearest bridge通告报文。Optionally, the receiving module 710 receives the LLDP neighbor bridge advertisement packet sent by the CB device.
解析处理模块720,设置为:对所述通告报文进行解析获取接口扩展设备的配置信息。The parsing processing module 720 is configured to: parse the advertisement packet to obtain configuration information of the interface extension device.
判断模块730,设置为:断所述配置信息中的接口扩展设备类型与目标接口扩展设备的设备类型是否一致。The determining module 730 is configured to: disconnect the interface extension device type in the configuration information from the device type of the target interface extension device.
配置模块740,设置为:在配置信息中的接口扩展设备类型与所述目标接口扩展设备的设备类型一致的情况下,根据配置信息和控制网桥设备的地址信息下载版本文件,并将配置信息写入目标接口扩展设备的配置文件中The configuration module 740 is configured to: when the interface extension device type in the configuration information is consistent with the device type of the target interface extension device, download the version file according to the configuration information and the address information of the control bridge device, and configure the configuration information. Write to the configuration file of the target interface expansion device
其中,PE设备根据配置信息和控制网桥的地址信息下载的版本文件为PE设备需要运行的软件的版本文件。The version file downloaded by the PE device according to the configuration information and the address information of the control bridge is a version file of the software that the PE device needs to run.
在本实施例中,接收带有私有报文字段的通告报文的PE设备可以称作目标PE设备,接口扩展设备的配置装置在接收到通告报文时,检测该通告报文是否带有私有TLV,若带有,则通过解析处理模块720将该通告报文进行解析,得到设备类型,判断模块730判断解析到的设备类型与目标PE设备的设备类型是否一致,若一致,则判断该目标PE设备的端口为PE设备LACP链路的成员端口,当前的环境为纵向堆叠环境,并继续对接收到私有TLV报文格式进行解析,获取CB设备的地址信息,如CB设备的VLAN1的IP地址,和私有TLV中携带的PE设备需要运行的软件的版本文件信息,其中,PE设备版本文件信息包括PE设备的版本号、版本编译时间和版本存放路径等信息。In this embodiment, the PE device that receives the advertisement packet with the private packet field may be referred to as the target PE device. When receiving the advertisement packet, the configuration device of the interface extension device detects whether the advertisement packet has a private message. The TLV, if yes, parses the advertisement packet by the parsing processing module 720 to obtain the device type, and the judging module 730 determines whether the parsed device type is consistent with the device type of the target PE device, and if they are consistent, the target is determined. The port of the PE device is the member port of the LACP link of the PE device. The current environment is a vertical stack. The device continues to parse the received private TLV packet format and obtain the address information of the CB device, such as the IP address of the VLAN 1 of the CB device. And the version file information of the software that the PE device carried in the private TLV needs to run, wherein the PE device version file information includes information such as a version number, a version compile time, and a version storage path of the PE device.
其中,目标PE设备可以感知PE设备和CB设备之间级联的端口中收到私有TLV报文的端口,并将目标PE设备的端口配置为LACP的成员端口,在重启目标PE设备时生效。The target PE device can detect the port that receives the private TLV packet from the cascading port between the PE device and the CB device, and configures the port of the target PE device as a member port of the LACP.
可选地,所述配置模块740,是设置为:根据配置信息中的设备的版本号、版本编译时间和版本存放路径,利用控制网桥设备的地址信息并根据文件传输协议FTP从控制网桥设备中下载版本文件。Optionally, the configuration module 740 is configured to: according to the version number, the version compile time, and the version storage path of the device in the configuration information, use the address information of the control bridge device and FTP from the control bridge according to the file transfer protocol. Download the version file from the device.
在本实施例中,在解析处理模块720解析得到PE设备的版本存放路径以及发送通告报文的端口之后,配置模块740根据得到的版本存放路径从CB设备中下载与版本文件信息对应的版本文件,其中,目标PE设备可以通过文件传输协
议FTP进行版本文件的下载,发送通告报文的端口为发送私有TLV报文的CB设备端口。In this embodiment, after the parsing processing module 720 parses the version storage path of the PE device and the port that sends the advertisement packet, the configuration module 740 downloads the version file corresponding to the version file information from the CB device according to the obtained version storage path. , wherein the target PE device can pass the file transfer protocol
FTP is used to download the version file. The port that sends the advertisement packet is the CB device port that sends the private TLV packet.
在本实施例中,解析处理模块720根据PE设备的版本文件信息下载版本文件后,还包括将解析得到的配置信息写入目标PE设备的配置文件中,使得目标PE设备在进行下一次部署时,可以直接从自身的配置文件中读取对应的端口信息和PE设备版本文件信息。In this embodiment, the parsing processing module 720, after downloading the version file according to the version file information of the PE device, further includes writing the parsed configuration information into the configuration file of the target PE device, so that the target PE device is deployed next time. You can directly read the corresponding port information and PE device version file information from its own configuration file.
在本实施例中,由于接口扩展设备的配置装置接收到的通告报文中携带有PE设备的配置信息,因此,CB设备与PE设备之间的连接链路不相同,但是PE设备可以直接根据接收到的报文得到对应的端口,即CB设备的级联端口,并将从报文中得到的PE设备的端口信息作为PE设备的LACP链路的成员端口,从CB设备中下载对应的版本文件,从而实现了PE设备根据接收的报文进行PE设备的部署。In this embodiment, since the configuration information received by the configuration device of the interface extension device carries the configuration information of the PE device, the connection link between the CB device and the PE device is different, but the PE device can directly The received packet is the corresponding port, that is, the cascading port of the CB device, and the port information of the PE device obtained from the packet is used as the member port of the LACP link of the PE device, and the corresponding version is downloaded from the CB device. The file is implemented, so that the PE device deploys the PE device according to the received packet.
在上述图7提供的接口扩展设备的配置装置的基础上,本实施还提供了一种接口扩展设备的配置方法,该方法可以应用于PE设备中,如图8所示,本实施例提供的接口扩展设备的配置方法可以包括步骤802-步骤808。On the basis of the configuration device of the interface expansion device provided in FIG. 7 , the present embodiment further provides a configuration method of the interface expansion device, which can be applied to the PE device, as shown in FIG. The configuration method of the interface expansion device may include steps 802 to 808.
在步骤802中,接收控制网桥设备发送的携带有私有报文字段的通告报文,所述私有报文字段对应的报文内容中包括接口扩展设备的配置信息和控制网桥设备的地址信息。In step 802, the notification message carrying the private message field sent by the control bridge device is received, and the content of the packet corresponding to the private message field includes the configuration information of the interface extension device and the address information of the control bridge device. .
其中,所述配置信息可以包括:设备类型、设备的版本号、版本编译时间和版本存放路径。The configuration information may include: a device type, a version number of the device, a version compile time, and a version storage path.
在本实例中,接收带有私有报文字段的通告报文的PE设备可以称作目标PE设备,该配置信息可以包括:设备类型、设备的版本号、版本编译时间和版本存放路径,其中,配置信息通告装置接收到的通告报文可以为由CB设备发送过来的LLDP nearest bridge通告报文,在该报文中添加有PE设备的配置信息,并且是以私有TLV格式在该报报文中添加PE设备的配置信息。In this example, the PE device that receives the advertisement packet with the private packet field may be referred to as the target PE device, and the configuration information may include: a device type, a version number of the device, a version compile time, and a version storage path, where The advertisement information received by the configuration information notification device may be an LLDP nearest bridge advertisement packet sent by the CB device, and the configuration information of the PE device is added to the packet, and the packet is in the private TLV format. Add configuration information of the PE device.
在步骤804中,对所述通告报文进行解析获取接口扩展设备的配置信息。In step 804, the advertisement packet is parsed to obtain configuration information of the interface extension device.
在配置装置接收到通告报文时,检测该通告报文是否带有私有TLV,在通告报文带有私有TLV的情况下,则通过解析处理模块720将该通告报文进行解析,得到设备类型信息。
When the configuration device receives the advertisement packet, it detects whether the advertisement packet carries a private TLV. If the advertisement packet has a private TLV, the resolution processing module 720 parses the advertisement packet to obtain the device type. information.
在步骤806中,判断所述配置信息中的接口扩展设备类型与目标接口扩展设备的设备类型是否一致。In step 806, it is determined whether the interface extension device type in the configuration information is consistent with the device type of the target interface extension device.
在步骤808中,在配置信息中的接口扩展设备类型与所述目标接口扩展设备的设备类型一致的情况下,根据配置信息和控制网桥设备的地址信息下载版本文件,并将配置信息写入目标接口扩展设备的配置文件中。In step 808, in a case where the interface extension device type in the configuration information is consistent with the device type of the target interface extension device, the version file is downloaded according to the configuration information and the address information of the control bridge device, and the configuration information is written. The target interface is extended in the configuration file of the device.
判断模块730判断解析到的设备类型与目标PE设备的设备类型是否一致,在解析得到的设备类型与目标PE设备的设备类型一致的情况下,则判断目标PE设备的端口为PE设备LACP链路的成员端口,当前的环境为纵向堆叠环境,继续对接收到的私有TLV报文格式进行解析,获取CB设备的VLAN1的IP地址和私有TLV中携带的PE设备版本文件信息,其中,PE设备版本文件信息包括设备的版本号、版本编译时间和版本存放路径等信息。The judging module 730 determines whether the parsed device type is consistent with the device type of the target PE device. If the parsed device type is consistent with the device type of the target PE device, the port of the target PE device is determined to be the PE device LACP link. Member port, the current environment is a vertical stack environment, and the received private TLV packet format is analyzed. The IP address of the VLAN 1 of the CB device and the version file of the PE device carried in the private TLV are obtained. The file information includes information such as the version number of the device, the version compile time, and the version storage path.
可选地,所述根据配置信息和控制网桥设备的地址信息下载版本文件包括:获取配置信息中的设备的版本号、版本编译时间和版本存放路径,利用控制网桥设备的地址信息并根据文件传输协议FTP从控制网桥设备中下载版本文件。Optionally, the downloading the version file according to the configuration information and the address information of the control bridge device includes: obtaining a version number, a version compiling time, and a version storage path of the device in the configuration information, and using the address information of the control bridge device according to the File Transfer Protocol FTP downloads version files from the control bridge device.
在本实施例中,在判断出配置信息中的设备类型与目标PE设备的设备类型一致的情况下,上述配置装置根据解析得到的设备类型、设备的版本号、版本编译时间、版本存放路径及PE设备的端口等信息进行零部署,例如,通过解析得到的PE设备的端口查找对应的通信链路,通过通信链路与CB设备连接,并根据设备的版本号从CB设备中以FTP的方式下载与版本号对应的版本文件,根据版本文件对PE设备进行部署。其中,PE设备的端口信息可以理解为PE设备的LACP的成员端口。In this embodiment, when it is determined that the device type in the configuration information is consistent with the device type of the target PE device, the configuration device is configured according to the device type, the version number of the device, the version compile time, and the version storage path. The information about the port of the PE device is zero. For example, the port of the PE device is used to find the corresponding communication link, connect to the CB device through the communication link, and use the FTP version of the CB device according to the version number of the device. Download the version file corresponding to the version number and deploy the PE device based on the version file. The port information of the PE device can be understood as the member port of the LACP of the PE device.
可选地,配置装置还可以将解析得到的配置信息写入到目标PE设备的配置文件中,该配置文件可以是XML文件,将配置信息写入到XML文件中,并存储在PE设备的flash中,当PE设备需要再次进行部署时,可以直接从自身的flash中读取配置信息对应的XML文件来获取PE设备的配置信息,直接从PE设备的flash中读取配置信息对应的XML文件来获取PE设备的配置信息适用于在PE设备的配置信息没有被修改的情况下使用,在配置信息被修改的情况下,则仍然需要通过上述的步骤802-步骤808来获取新的配置信息。Optionally, the configuration device may further write the parsed configuration information into a configuration file of the target PE device, where the configuration file may be an XML file, and the configuration information is written into the XML file and stored in the flash of the PE device. If the PE device needs to be deployed again, the XML file corresponding to the configuration information can be directly read from the flash to obtain the configuration information of the PE device, and the XML file corresponding to the configuration information is directly read from the flash of the PE device. Obtaining the configuration information of the PE device is applicable to the case that the configuration information of the PE device is not modified. If the configuration information is modified, the configuration information needs to be obtained through the foregoing step 802-step 808.
本实施例提供的接口扩展设备的配置信息通告方法、配置方法及相应装置,通过处理模块将获取到的PE设备的配置信息以私有TLV格式填入通告报文中,
发送模块将带有私有TLV的通告报文通过级联端口发送至目标PE设备,目标PE设备接收到带有私有TLV的通告报文后,将该通告报文进行解析处理,得到CB设备发送的PE设备的配置信息,判断配置信息中的设备类型与目标PE设备的设备类型是否一致,在配置信息中的设备类型与目标PE设备的设备类型一致的情况下,根据配置信息和CB设备的地址信息从CB设备中下载版本文件,使得PE设备通过接收的报文可以直接得到PE设备的配置信息,不需要通过人为的操作或者通过网关设备进行通信交互即可得到CB设备和PE设备之间的链路信息,并得到PE设备的上行LACP链路的成员端口,并根据解析得到的配置信息从CB设备上下载版本文件进行PE设备部署,使得PE设备能够动态感知配置信息。The configuration information notification method, the configuration method, and the corresponding device of the interface extension device provided in this embodiment are configured to fill the configuration information of the obtained PE device into the advertisement packet in the private TLV format by using the processing module.
The sending module sends the advertised packet with the private TLV to the target PE device through the cascading port. After receiving the advertised packet with the private TLV, the target PE device parses the advertised packet and obtains the advertised packet. The configuration of the PE device determines whether the device type in the configuration information is the same as the device type of the target PE device. If the device type in the configuration information is the same as the device type of the target PE device, the configuration information and the address of the CB device are used. The information is downloaded from the CB device, so that the PE device can directly obtain the configuration information of the PE device through the received packet, and the communication between the CB device and the PE device can be obtained without manual operation or communication through the gateway device. The link information is obtained, and the member port of the uplink LACP link of the PE device is obtained, and the version file is downloaded from the CB device to perform the PE device deployment according to the configured configuration information, so that the PE device can dynamically sense the configuration information.
本实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任意实施例提供的方法。The embodiment further provides a computer readable storage medium storing computer executable instructions for performing the method provided by any of the above embodiments.
图9为本实施例的一种电子设备的结构示意图,如图9所示,该电子设备包括:一个或多个处理器910和存储器920。图9中以一个处理器910为例。FIG. 9 is a schematic structural diagram of an electronic device according to the embodiment. As shown in FIG. 9, the electronic device includes: one or more processors 910 and a memory 920. One processor 910 is taken as an example in FIG.
所述电子设备还可以包括:输入装置930和输出装置940。The electronic device may further include an input device 930 and an output device 940.
所述电子设备中的处理器910、存储器920、输入装置930和输出装置940可以通过总线或者其他方式连接,图9中以通过总线连接为例。The processor 910, the memory 920, the input device 930, and the output device 940 in the electronic device may be connected by a bus or other means, as exemplified by a bus connection in FIG.
输入装置930可以接收输入的数字或字符信息,输出装置940可以包括显示屏等显示设备。 Input device 930 can receive input numeric or character information, and output device 940 can include a display device such as a display screen.
存储器920作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块。处理器910通过运行存储在存储器920中的软件程序、指令以及模块,从而执行多种功能应用以及数据处理,以实现上述实施例中的任意一种方法。The memory 920 is a computer readable storage medium that can be used to store software programs, computer executable programs, and modules. The processor 910 performs various functional applications and data processing by executing software programs, instructions, and modules stored in the memory 920 to implement any of the above-described embodiments.
存储器920可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据电子设备的使用所创建的数据等。此外,存储器可以包括随机存取存储器(Random Access Memory,RAM)等易失性存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件或者其他非暂态固态存储器件。The memory 920 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the electronic device, and the like. In addition, the memory may include volatile memory such as random access memory (RAM), and may also include non-volatile memory such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device.
存储器920可以是非暂态计算机存储介质或暂态计算机存储介质。该非暂态计算机存储介质,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器920可选包括相对于处理器910远程
设置的存储器,这些远程存储器可以通过网络连接至电子设备。上述网络的实例可以包括互联网、企业内部网、局域网、移动通信网及其组合。 Memory 920 can be a non-transitory computer storage medium or a transitory computer storage medium. The non-transitory computer storage medium, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 920 can optionally include remotely with respect to processor 910
Set up memory that can be connected to an electronic device over a network. Examples of the above networks may include the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
输入装置930可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。输出装置940可包括显示屏等显示设备。 Input device 930 can be used to receive input digital or character information and to generate key signal inputs related to user settings and function control of the electronic device. Output device 940 can include a display device such as a display screen.
本实施例的电子设备还可以包括通信装置950,通过通信网络传输和/或接收信息。The electronic device of the present embodiment may further include a communication device 950 that transmits and/or receives information over a communication network.
本领域普通技术人员可理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来执行相关的硬件来完成的,该程序可存储于一个非暂态计算机可读存储介质中,该程序在执行时,可包括如上述方法的实施例的流程,其中,该非暂态计算机可读存储介质可以为磁碟、光盘、只读存储记忆体(ROM)或随机存储记忆体(RAM)等。A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by executing related hardware by a computer program, and the program can be stored in a non-transitory computer readable storage medium. The program, when executed, may include the flow of an embodiment of the method as described above, wherein the non-transitory computer readable storage medium may be a magnetic disk, an optical disk, a read only memory (ROM), or a random access memory (RAM). Wait.
本公开提供一种接口扩展设备的配置信息通告方法、配置方法及相应装置,使得PE设备能通过接收的报文得到PE设备的配置信息,不需要通过人为的操作或者通过网关设备进行通信交互即可得到CB设备和P设备之间的链路信息,使得PE设备能够动态感知配置信息,以及PE设备的上行LACP链路的成员端口,并根据配置信息从CB设备上下载版本文件进行PE设备部署设置。
The present disclosure provides a configuration information notification method, a configuration method, and a corresponding device of an interface extension device, so that the PE device can obtain configuration information of the PE device through the received packet, and does not need to perform an artificial operation or a communication interaction through the gateway device. The link information between the CB device and the P device is obtained, so that the PE device can dynamically sense the configuration information, and the member ports of the uplink LACP link of the PE device, and download the version file from the CB device according to the configuration information to deploy the PE device. Settings.
Claims (12)
- 一种接口扩展设备的配置信息通告方法,包括:A method for advertising configuration information of an interface extension device includes:获取预先存储的接口扩展设备的配置信息,所述配置信息包括:设备类型、设备的版本号、版本编译时间和版本存放路径;Acquiring configuration information of the pre-stored interface extension device, where the configuration information includes: a device type, a version number of the device, a version compile time, and a version storage path;将所述配置信息和控制网桥设备的地址信息填入通告报文的私有报文字段中;以及Filling in the private message field of the advertisement message with the configuration information and the address information of the control bridge device;通过控制网桥设备的级联端口向目标接口扩展设备发送所述通告报文。The advertisement message is sent to the target interface extension device by controlling the cascade port of the bridge device.
- 根据权利要求1所述的方法,其中,所述获取预先存储的接口扩展设备的配置信息包括:将接口扩展设备的配置信息以配置文件的方式预先存储在控制网桥设备中,以使所述控制网桥设备通过读取所述配置文件获取所述接口扩展设备的配置信息。The method according to claim 1, wherein the obtaining the configuration information of the pre-stored interface extension device comprises: pre-storing the configuration information of the interface extension device in a control file device in a manner of a configuration file, so that the The control bridge device obtains configuration information of the interface extension device by reading the configuration file.
- 根据权利要求1或2所述的方法,所述将所述配置信息和控制网桥设备的地址信息填入通告报文的私有报文字段中包括:The method according to claim 1 or 2, wherein the filling the configuration information and the address information of the control bridge device into the private message field of the advertisement packet includes:将所述配置信息和控制网桥设备的地址信息填入通告报文的私有报文字段对应的报文内容中,并在所述私有报文字段的报头中设置私有报文字段的类型和私有报文字段报头信息的长度。The configuration information and the address information of the control bridge device are filled in the message content corresponding to the private message field of the advertisement packet, and the type and private type of the private message field are set in the header of the private message field. The length of the header information of the message field.
- 根据权利要求1或2所述的方法,其中,所述通告报文为链路层发现协议LLDP报文。The method according to claim 1 or 2, wherein the advertisement message is a link layer discovery protocol LLDP message.
- 一种接口扩展设备的配置方法,包括:A method for configuring an interface extension device includes:接收控制网桥设备发送的携带有私有报文字段的通告报文,所述私有报文字段对应的报文内容中包括接口扩展设备的配置信息和控制网桥设备的地址信息,所述配置信息包括:设备类型、设备的版本号、版本编译时间和版本存放路径;Receiving, by the control network bridge device, an advertisement message carrying a private message field, where the content of the message corresponding to the private message field includes configuration information of the interface extension device and address information of the control bridge device, where the configuration information is Including: device type, device version number, version compile time, and version storage path;对所述通告报文进行解析获取接口扩展设备的配置信息,判断所述配置信息中的接口扩展设备类型与目标接口扩展设备的设备类型是否一致;以及And parsing the advertisement packet to obtain configuration information of the interface extension device, and determining whether the interface extension device type in the configuration information is consistent with the device type of the target interface extension device;在配置信息中的接口扩展设备类型与所述目标接口扩展设备的设备类型一致的情况下,根据配置信息和控制网桥设备的地址信息下载版本文件,并将配置信息写入目标接口扩展设备的配置文件中。If the interface extension device type in the configuration information is consistent with the device type of the target interface extension device, download the version file according to the configuration information and the address information of the control bridge device, and write the configuration information to the target interface extension device. In the configuration file.
- 根据权利要求5所述的方法,其中,所述根据配置信息和控制网桥设备 的地址信息下载版本文件包括:The method of claim 5, wherein said configuring information and controlling a bridge device The address information download version file includes:获取配置信息中的设备的版本号、版本编译时间和版本存放路径,利用控制网桥设备的地址信息并根据文件传输协议FTP从控制网桥设备中下载版本文件。Obtain the version number, version compile time, and version storage path of the device in the configuration information, and use the address information of the control bridge device to download the version file from the control bridge device according to the file transfer protocol FTP.
- 一种接口扩展设备的配置信息通告装置,包括:A configuration information notification device for an interface expansion device includes:获取模块,设置为:获取预先存储的接口扩展设备的配置信息,所述配置信息包括:设备类型、设备的版本号、版本编译时间和版本存放路径;The obtaining module is configured to: obtain configuration information of the pre-stored interface expansion device, where the configuration information includes: a device type, a version number of the device, a version compiling time, and a version storage path;处理模块,设置为:将所述配置信息和控制网桥设备的地址信息填入通告报文的私有报文字段中;以及The processing module is configured to: fill the configuration information and the address information of the control bridge device into the private message field of the advertisement packet;发送模块,设置为:通过控制网桥设备的级联端口向目标接口扩展设备发送所述通告报文。The sending module is configured to: send the advertisement packet to the target interface extension device by using a cascade port of the control bridge device.
- 根据权利要求7所述的装置,其中,所述处理模块,是设置为:将接口扩展设备的配置信息以配置文件的方式预先存储在控制网桥设备中,以使所述控制网桥设备通过读取所述配置文件获取所述接口扩展设备的配置信息。The device according to claim 7, wherein the processing module is configured to pre-store configuration information of the interface expansion device in a control network device in a configuration file, so that the control bridge device passes Reading the configuration file to obtain configuration information of the interface extension device.
- 根据权利要求7或8所述的装置,其中,所述处理模块是设置为:将所述配置信息和控制网桥设备的地址信息填入通告报文的私有报文字段对应的报文内容中,并在所述私有报文字段的报头中设置私有报文字段的类型和私有报文字段报头信息的长度。The device according to claim 7 or 8, wherein the processing module is configured to: fill the configuration information and the address information of the control bridge device into the message content corresponding to the private message field of the advertisement message. And setting the type of the private message field and the length of the private message field header information in the header of the private message field.
- 一种接口扩展设备的配置装置,包括:接收模块,设置为:接收控制网桥设备发送的携带有私有报文字段的通告报文,所述私有报文字段对应的报文内容中包括接口扩展设备的配置信息和控制网桥设备的地址信息,所述配置信息包括:设备类型、设备的版本号、版本编译时间和版本存放路径;An apparatus for configuring an interface extension device, comprising: a receiving module, configured to: receive an advertisement message that is sent by a control bridge device and that carries a private message field, where the content of the packet corresponding to the private message field includes an interface extension The configuration information of the device and the address information of the control bridge device, where the configuration information includes: a device type, a version number of the device, a version compile time, and a version storage path;解析处理模块,设置为:对所述通告报文进行解析获取接口扩展设备的配置信息;The parsing processing module is configured to: parse the advertisement packet to obtain configuration information of the interface extension device;判断模块,设置为:断所述配置信息中的接口扩展设备类型与目标接口扩展设备的设备类型是否一致;以及a judging module, configured to: disconnect the interface extension device type in the configuration information from the device type of the target interface extension device;配置模块,设置为:在配置信息中的接口扩展设备类型与所述目标接口扩展设备的设备类型一致的情况下,根据配置信息和控制网桥设备的地址信息下载版本文件,并将配置信息写入目标接口扩展设备的配置文件中。 The configuration module is configured to: when the interface extension device type in the configuration information is consistent with the device type of the target interface extension device, download the version file according to the configuration information and the address information of the control bridge device, and write the configuration information. Enter the configuration file of the target interface extension device.
- 根据权利要求10所述的装置,其中,所述配置模块,是设置为:根据配置信息中的设备的版本号、版本编译时间和版本存放路径,利用控制网桥设备的地址信息并根据文件传输协议FTP从控制网桥设备中下载版本文件。The device according to claim 10, wherein the configuration module is configured to: according to the version number, version compile time and version storage path of the device in the configuration information, use the address information of the control bridge device and transmit according to the file Protocol FTP downloads version files from the control bridge device.
- 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-4和权利要求5-6任一项的方法。 A computer readable storage medium storing computer executable instructions for performing the method of any of claims 1-4 and 5-6.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610422090.2A CN107493185B (en) | 2016-06-13 | 2016-06-13 | Configuration information notification method and device for interface extension equipment |
CN201610422090.2 | 2016-06-13 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017215446A1 true WO2017215446A1 (en) | 2017-12-21 |
Family
ID=60642064
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/086721 WO2017215446A1 (en) | 2016-06-13 | 2017-05-31 | Configuration information notification method, configuration method and corresponding device for interface expansion apparatus |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107493185B (en) |
WO (1) | WO2017215446A1 (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109274516A (en) * | 2017-12-22 | 2019-01-25 | 新华三技术有限公司 | A kind of extension bridge and thereon line control method |
CN111262928A (en) * | 2020-01-15 | 2020-06-09 | 上海快仓智能科技有限公司 | Data communication method, device, equipment, terminal and system |
CN112416457A (en) * | 2020-11-19 | 2021-02-26 | 中国建设银行股份有限公司 | Interface configuration file generation method and device |
CN112737852A (en) * | 2020-12-30 | 2021-04-30 | 北京安博通科技股份有限公司 | Method and device for standardizing network equipment configuration |
CN113726830A (en) * | 2020-05-25 | 2021-11-30 | 网联清算有限公司 | Message identifier generation method and device |
CN115412619A (en) * | 2022-07-21 | 2022-11-29 | 浙江众合科技股份有限公司 | Log message real-time monitoring and analyzing method with user configurable message format |
CN117278340A (en) * | 2023-11-23 | 2023-12-22 | 瑞纳智能设备股份有限公司 | Method for realizing low-power-consumption valve firmware upgrade, storage medium and electronic equipment |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108259228B (en) * | 2017-12-22 | 2021-06-08 | 新华三技术有限公司 | Network equipment virtualization system and equipment configuration method and device thereof |
CN108494842A (en) * | 2018-03-13 | 2018-09-04 | 国网江苏省电力有限公司无锡供电分公司 | A kind of photovoltaic data acquisition method and system |
CN108989094B (en) * | 2018-06-27 | 2021-08-27 | 新华三技术有限公司合肥分公司 | Method and device for installing patch package |
CN112506816B (en) * | 2020-11-26 | 2024-05-03 | 珠海格力电器股份有限公司 | Configuration information analysis method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102148749A (en) * | 2010-11-05 | 2011-08-10 | 华为技术有限公司 | Method and device for extending switch port |
CN102739505A (en) * | 2011-04-06 | 2012-10-17 | 中兴通讯股份有限公司 | Method and system for controlling virtual channel flow in data center network |
CN102769558A (en) * | 2011-05-06 | 2012-11-07 | 中兴通讯股份有限公司 | Method, system and controlling bridge for acquiring port extension topology information |
CN103457818A (en) * | 2012-05-31 | 2013-12-18 | 美国博通公司 | Multi-homing in an extended bridge |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103166874B (en) * | 2013-03-25 | 2016-03-02 | 杭州华三通信技术有限公司 | A kind of message forwarding method and equipment |
CN104427012B (en) * | 2013-09-04 | 2018-12-11 | 新华三技术有限公司 | Port negotiation method and apparatus |
CN104468854B (en) * | 2013-09-13 | 2017-10-27 | 新华三技术有限公司 | A kind of longitudinal fusion architecture VCF construction method and equipment |
CN103516609B (en) * | 2013-09-17 | 2017-05-17 | 杭州华三通信技术有限公司 | Method and equipment for transmitting service messages |
US20150312151A1 (en) * | 2014-04-29 | 2015-10-29 | Dell Products L.P. | Enhanced load distribution of non-unicast traffic to multi-homed nodes in a port extender environment |
CN104243358B (en) * | 2014-09-18 | 2018-10-26 | 新华三技术有限公司 | The method and device that PE device softwares load in VCF systems |
CN104618147B (en) * | 2015-01-06 | 2018-04-06 | 新华三技术有限公司 | A kind of vertical stack method for managing system and system |
CN104702438B (en) * | 2015-03-13 | 2018-04-06 | 新华三技术有限公司 | PE device management methods and device |
-
2016
- 2016-06-13 CN CN201610422090.2A patent/CN107493185B/en active Active
-
2017
- 2017-05-31 WO PCT/CN2017/086721 patent/WO2017215446A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102148749A (en) * | 2010-11-05 | 2011-08-10 | 华为技术有限公司 | Method and device for extending switch port |
CN102739505A (en) * | 2011-04-06 | 2012-10-17 | 中兴通讯股份有限公司 | Method and system for controlling virtual channel flow in data center network |
CN102769558A (en) * | 2011-05-06 | 2012-11-07 | 中兴通讯股份有限公司 | Method, system and controlling bridge for acquiring port extension topology information |
CN103457818A (en) * | 2012-05-31 | 2013-12-18 | 美国博通公司 | Multi-homing in an extended bridge |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109274516A (en) * | 2017-12-22 | 2019-01-25 | 新华三技术有限公司 | A kind of extension bridge and thereon line control method |
CN111262928A (en) * | 2020-01-15 | 2020-06-09 | 上海快仓智能科技有限公司 | Data communication method, device, equipment, terminal and system |
CN111262928B (en) * | 2020-01-15 | 2023-01-31 | 上海快仓智能科技有限公司 | Data communication method, device, equipment, terminal and system |
CN113726830A (en) * | 2020-05-25 | 2021-11-30 | 网联清算有限公司 | Message identifier generation method and device |
CN113726830B (en) * | 2020-05-25 | 2023-09-12 | 网联清算有限公司 | Message identifier generation method and device |
CN112416457A (en) * | 2020-11-19 | 2021-02-26 | 中国建设银行股份有限公司 | Interface configuration file generation method and device |
CN112737852A (en) * | 2020-12-30 | 2021-04-30 | 北京安博通科技股份有限公司 | Method and device for standardizing network equipment configuration |
CN115412619A (en) * | 2022-07-21 | 2022-11-29 | 浙江众合科技股份有限公司 | Log message real-time monitoring and analyzing method with user configurable message format |
CN115412619B (en) * | 2022-07-21 | 2024-06-04 | 浙江众合科技股份有限公司 | Method for real-time monitoring and analyzing log message with user configurable message format |
CN117278340A (en) * | 2023-11-23 | 2023-12-22 | 瑞纳智能设备股份有限公司 | Method for realizing low-power-consumption valve firmware upgrade, storage medium and electronic equipment |
CN117278340B (en) * | 2023-11-23 | 2024-02-13 | 瑞纳智能设备股份有限公司 | Method for realizing low-power-consumption valve firmware upgrade, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107493185A (en) | 2017-12-19 |
CN107493185B (en) | 2022-03-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017215446A1 (en) | Configuration information notification method, configuration method and corresponding device for interface expansion apparatus | |
Pakzad et al. | Efficient topology discovery in OpenFlow-based software defined networks | |
US11716669B2 (en) | Internet of things service routing method | |
US11941423B2 (en) | Data processing method and related device | |
US11576020B1 (en) | Apparatus and method for a unified slice manager | |
CN109362085B (en) | Implementing EPC in cloud computer through OPENFLOW data plane | |
RU2643451C2 (en) | System and method for virtualisation of mobile network function | |
US20200059976A1 (en) | IoT DEVICE CONNECTIVITY, DISCOVERY, AND NETWORKING | |
EP2866389B1 (en) | Method and device thereof for automatically finding and configuring virtual network | |
WO2018040529A1 (en) | Message processing method, device and system | |
US9824080B2 (en) | Automatic generation of forms for device configuration | |
US9036638B2 (en) | Avoiding unknown unicast floods resulting from MAC address table overflows | |
WO2017198003A1 (en) | Service processing method and system | |
WO2019128273A1 (en) | Method, device and system for determining connection relation of network devices | |
WO2018188662A1 (en) | Information notification method and device | |
Dzogovic et al. | Building virtualized 5G networks using open source software | |
CN102469004A (en) | Virtual machine network system and creation method thereof | |
WO2021174943A1 (en) | Data forwarding method and apparatus, and device and storage medium | |
US8964749B2 (en) | Method, device and system for establishing a pseudo wire | |
US20210351956A1 (en) | Customer premises lan expansion | |
US10314090B2 (en) | Access point management | |
WO2021254001A1 (en) | Session establishment method, apparatus and system and computer storage medium | |
US11805011B2 (en) | Bulk discovery of devices behind a network address translation device | |
CN104320347A (en) | Method and device for initiatively updating LLDP | |
EP3893447A1 (en) | Method for creating connectivity detection session, and network device and system |
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: 17812557 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: 17812557 Country of ref document: EP Kind code of ref document: A1 |