CN107733727B - Zero configuration method, device and equipment - Google Patents

Zero configuration method, device and equipment Download PDF

Info

Publication number
CN107733727B
CN107733727B CN201711230073.XA CN201711230073A CN107733727B CN 107733727 B CN107733727 B CN 107733727B CN 201711230073 A CN201711230073 A CN 201711230073A CN 107733727 B CN107733727 B CN 107733727B
Authority
CN
China
Prior art keywords
equipment
zero configuration
information
zero
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711230073.XA
Other languages
Chinese (zh)
Other versions
CN107733727A (en
Inventor
高燕翔
赵海峰
王鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Raisecom Technology Co Ltd
Original Assignee
Raisecom Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Raisecom Technology Co Ltd filed Critical Raisecom Technology Co Ltd
Priority to CN201711230073.XA priority Critical patent/CN107733727B/en
Publication of CN107733727A publication Critical patent/CN107733727A/en
Application granted granted Critical
Publication of CN107733727B publication Critical patent/CN107733727B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/30Decision processes by autonomous network management units using voting and bidding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements

Landscapes

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

Abstract

The invention discloses a zero configuration method, a zero configuration device and zero configuration equipment, wherein the zero configuration method comprises the following steps: the method comprises the steps that communication is carried out between first equipment and second equipment, and management of the second equipment is achieved, wherein the first equipment is equipment which is accessed to a network according to a zero configuration technology, the second equipment is equipment which is connected with the first equipment and is to be accessed to the network according to the zero configuration technology, and the first equipment manages the second equipment and comprises the steps that information of the second equipment can be obtained from the second equipment and the second equipment can be configured; initiating a zero configuration process on first equipment according to a zero configuration technical process, wherein information provided by the first equipment according to the zero configuration technical process requirement is information of second equipment, and configuring the second equipment through the first equipment when configuring according to the zero configuration technical process requirement. By adopting the invention, the zero configuration can be carried out on the old equipment which is deployed and used in the existing network or the low-cost equipment with simple function application.

Description

Zero configuration method, device and equipment
Technical Field
The present invention relates to the field of computer network management technologies, and in particular, to a zero configuration method, apparatus, and device.
Background
With the increasing network scale, the requirements for network management of network devices are higher and higher. Since the zero-configuration (zero-configuration) technology and the automatic deployment technology can effectively reduce the cost of network management, they are favored by more and more operators.
Because the zero configuration technology adopted by each equipment manufacturer is not uniform and the equipment can be fully managed only by using the network management software owned by the manufacturer, the network management maintenance work of the operator is still more complicated. Therefore, some large operators successively put out uniform zero configuration technical specifications and entrust third parties to develop the comprehensive network management platform, and the platform aims to realize automatic online of equipment of different manufacturers in the whole network by using the uniform zero configuration technology and use the same comprehensive network management platform for management.
The disadvantage of the prior art is that, before the zero configuration technical specification of the operator is released, a large amount of used old equipment is already deployed in the network, and the equipment manufacturer would not be willing to develop and support new zero configuration technology for the equipment because part of the old equipment may have entered the life cycle maintenance stage. Even if some of the old devices can be upgraded by software to support the new zero configuration technology, it is very heavy to upgrade and debug the large number of the operating old devices in the network. In addition, there are some functions that apply simple access devices, which means a large increase in cost if new zero configuration technology is supported.
Disclosure of Invention
The invention provides a zero configuration method, a zero configuration device and zero configuration equipment, which are used for solving the zero configuration problem of equipment which does not support the existing zero configuration function.
The embodiment of the invention provides a zero configuration method, which comprises the following steps:
the method comprises the steps that communication is carried out between first equipment and second equipment, and management of the second equipment is achieved, wherein the first equipment is equipment which is accessed to a network according to a zero configuration technology, the second equipment is equipment which is connected with the first equipment and is to be accessed to the network according to the zero configuration technology, and the first equipment manages the second equipment and comprises the steps that information of the second equipment can be obtained from the second equipment and the second equipment can be configured;
initiating a zero configuration process on first equipment according to a zero configuration technical process, wherein information provided by the first equipment according to the zero configuration technical process requirement is information of second equipment, and configuring the second equipment through the first equipment when configuring according to the zero configuration technical process requirement.
Preferably, when there are a plurality of devices accessing the network according to the zero configuration technology, the first device is determined according to the exchanged topology information.
Preferably, determining the first device according to the exchanged topology information includes:
acquiring adjacent equipment information of second equipment in the exchanged topology information;
identifying equipment which belongs to the zero configuration technology access network in each adjacent equipment of the second equipment as target equipment according to the acquired information;
and selecting one device from the target devices as a first device according to a preset election rule.
Preferably, the adjoining device information includes a device type; identifying the devices which belong to the zero configuration technology access network in each adjacent device of the second device according to the acquired information, wherein the equipment comprises:
searching whether the device type of the adjacent device of the second device exists in various locally stored device types capable of supporting the zero configuration technology; if yes, identifying that the adjacent equipment of the second equipment is equipment which is accessed to the network according to the zero configuration technology;
alternatively, the first and second electrodes may be,
the neighboring device information includes a device capability identification; identifying the devices which belong to the zero configuration technology access network in each adjacent device of the second device according to the acquired information, wherein the equipment comprises:
and identifying whether the adjacent equipment is the equipment which accesses the network according to the zero configuration technology by reading the equipment capability identification of the adjacent equipment of the second equipment.
Preferably, the neighboring device information includes a MAC address; according to a preset election rule, one device is selected from the target devices to serve as a first device, and the method comprises the following steps:
one device is selected from the target devices as a first device according to the MAC address size of the target devices.
Preferably, further comprising:
and generating power failure warning information of the second equipment when the first equipment detects that the second equipment is offline.
The embodiment of the invention provides a zero configuration device, which comprises:
the management module is used for communicating with a second device on a first device and managing the second device, wherein the first device is a device which is accessed to a network according to a zero configuration technology, the second device is a device which is connected with the first device and is to be accessed to the network according to the zero configuration technology, and the first device manages the second device and comprises the steps of acquiring information of the second device from the second device and configuring the second device;
and the zero configuration module is used for initiating a zero configuration process on the first equipment according to a zero configuration technical process, wherein the information provided by the first equipment according to the zero configuration technical process requirement is the information of the second equipment, and the second equipment is configured by the first equipment when the configuration is carried out according to the zero configuration technical process requirement.
Preferably, further comprising:
and the first equipment determining module is used for determining the first equipment according to the exchanged topology information when a plurality of equipment which is connected with the equipment which is to be accessed to the network according to the zero configuration technology and is accessed to the network according to the zero configuration technology are provided.
The embodiment of the invention provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the zero configuration method when executing the computer program.
The embodiment of the invention provides a computer readable storage medium, and the computer readable storage medium stores and executes the zero configuration method.
The invention has the following beneficial effects:
in the technical solution provided in the embodiment of the present invention, since communication is performed between a first device supporting a zero configuration function and a second device not supporting the zero configuration function and management of the second device is implemented, information of the second device is obtained from the second device and the second device is configured; and initiating a zero configuration process on the first equipment according to the zero configuration technical process, and completing the configuration of the second equipment through the first equipment. Therefore, when the zero configuration is carried out on old equipment which is deployed and used in the existing network or low-cost equipment with simple function application, the zero configuration technology of an operator does not need to be developed and supported, the zero configuration function of the operator can be realized by connecting with the equipment supporting the zero configuration function, and the zero configuration technology is managed by the comprehensive network management system NMS.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a schematic flow chart of a zero configuration method implemented in an embodiment of the present invention;
FIG. 2 is a schematic diagram of a zero configuration network environment according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a zero configuration apparatus according to an embodiment of the present invention.
Detailed Description
The inventors have noted that, before the zero configuration specification of the operator is released, the used old devices are already deployed in the network in large quantities, and since some of the old devices may have entered the life cycle maintenance phase, the equipment operators would not like to develop and support new zero configuration technologies for these devices. Even if some of the old devices can be upgraded by software to support the new zero configuration technology, it is very heavy to upgrade and debug the large number of the operating old devices in the network. In addition, there are some functions that apply simple access devices, which means a large increase in cost if new zero configuration technology is supported. However, in the current situation, manufacturers manage network devices together through their own network managers and integrated network managers for transition. Based on this, the embodiment of the present invention provides a terminal virtualization zero configuration scheme, which virtualizes a zero configuration terminal for a device that does not support a zero configuration technology, implements a virtual terminal zero configuration function, and implements that the device is managed by a comprehensive network manager. The following describes embodiments of the present invention with reference to the drawings.
Fig. 1 is a schematic flow chart of an implementation of the zero configuration method, as shown in the figure, the implementation may include:
step 101, communicating with a second device on a first device and managing the second device, wherein the first device is a device accessing a network according to a zero configuration technology, the second device is a device connected with the first device and intending to access the network according to the zero configuration technology, and the first device manages the second device, including being capable of acquiring information of the second device from the second device and being capable of configuring the second device;
step 102, initiating a zero configuration process on the first device according to a zero configuration technical process, wherein the information provided by the first device according to the zero configuration technical process requirement is the information of the second device, and configuring the second device by the first device when configuring according to the zero configuration technical process requirement.
In implementation, the information that can be obtained from the second device refers to information that can be obtained as needed after the first device manages the second device, and those skilled in the art can easily understand that operations such as management can be performed on another device by one device, and after the management is performed, corresponding information that can be obtained after the management is performed can be obtained according to specifications, protocols, and the like;
the information provided by the first device according to the requirement of the zero configuration technical process is information provided by the second device according to the requirement of the zero configuration technical process, and a specific example of the content of the information is also given by taking the chinese telecom as an example in the following embodiments. The difference is that according to the technical solution provided by the embodiment of the present invention, when the first device provides information according to the zero configuration technical process requirement, the information of the second device is provided instead of the information of the first device.
It is also easy to see that the range of information that can be obtained from the second device is greater than or equal to the range of information of the second device provided by the first device according to the zero configuration technical flow requirement.
In implementation, the relationship that the second device can be configured and the second device is configured by the first device is similar to the relationship between the two pieces of information, and the second device can be configured as needed after the first device manages the second device, and it is easily understood by those skilled in the art that one device can manage another device, and after the management is implemented, the second device can be configured according to specifications, protocols, and the like, and the second device can be configured as needed after the management is implemented;
the configuration of the second device by the first device refers to configuration according to the requirement of the zero configuration technical process, and a specific example of the configuration content is also given by taking chinese telecom as an example in the following embodiments, however, it is easily understood by those skilled in the art that the required configuration content is different according to different requirements of each zero configuration technical specification, but it can be sure that the configuration can be realized after the first device manages the second device. The difference is that according to the technical solution provided by the embodiment of the present invention, when the first device performs configuration according to the zero configuration technical process requirement, the configured object is the second device, but not the first device.
It is also easy to see that the range in which the second device can be configured is equal to or greater than the range in which the second device is configured by the first device.
The following first describes an environment for implementation.
Fig. 2 is a schematic diagram of a Network environment with zero configuration, taking a Data Communication Network (DCN) zero configuration technology in china as an example, as shown in the figure, the Network mainly includes the following devices: NMS (Network Management System, Network Management for short), firewall, B device, operator Network, new _ device (new device, that is, first device), old _ device (old device, that is, second device). Wherein:
in the embodiment, the new _ device refers to a device supporting the carrier zero configuration technology, and the name of the new _ device is used for better understanding the property of the first device, that is, the first device is a device accessing the network according to the zero configuration technology;
in the embodiment, old _ device refers to a device that does not support the zero configuration technology of the operator, supports a private management protocol of a device provider, and may be a two-layer device or a three-layer device, and the use of the name old _ device is for better understanding the property of the second device, that is, the second device is a device that is to access the network according to the zero configuration technology, but the device cannot perform zero configuration according to the zero configuration technical specification of the existing operator;
in the embodiment, the core B device is a convergence layer device in a telecommunication IP RAN (Radio Access Network IP; IP: Internet Protocol, RAN: Radio Access Network, Radio Access Network) Network. The B device supports OSPF (Open Shortest Path First) routing function, supports OSPF opaque capability, can identify customized OSPF 10 type LSA (Link-State Advertisement) information, can fill the result after analyzing 10 type LSAs into a new device online Trap (the Trap is one of core messages, and can use the Trap to send an unsolicited response message to an SNMP (Simple Network Management Protocol) Management station, which is generally used for describing the occurrence of certain event.
The zero configuration process initiated by the carrier zero configuration technical flow is briefly described below by using a chinese telecom DCN zero configuration example.
1. Starting equipment null configuration, automatically starting a DCN zero configuration function, creating an IP interface for the equipment, automatically configuring an IP address, automatically enabling an OSPF routing Protocol function, automatically enabling an OSPF Opaque capability, and simultaneously automatically starting an lldp (Link Layer Discovery Protocol) function; the rules for automatically configuring the IP address in this function are as follows: the first 8 bits of the IP address are customized by the manufacturer, and the last 24 bits use the last 24 bits of the mac (Media Access Control) address.
2. And opening a routing path between the equipment and the Network Management System (NMS) through an OSPF routing protocol so that the routing between the equipment and the NMS can be achieved.
3. The DCN zero configuration function automatically enables OSPF opaque capability, so that the equipment floods and sends customized LSA of 10 types; the custom 10-class LSA contains the following information: manufacturer identification, equipment type, equipment mac address, NEID, NEIP; wherein, the NEID is a device ID for network management, which is a 32-bit integer, the first 8 bits are 0, and the last 24 bits are the last 24 bits of the mac address of the device; NEIP is an IP address for network management, i.e. an IP address automatically configured for a device as described above.
4. The core B device receives and analyzes the 10 types of LSAs, extracts vendor identification, device type, device mac address, device NEIP and device NEID information in the 10 types of LSAs, constructs a trap of the new device online, fills the information into the trap, and then sends the trap of the new device online to the NMS.
5. And the NMS receives the online trap of the new equipment, automatically creates a new network element, automatically discovers the position of the new network element in the network topology through the lldp protocol and updates the network topology information.
6. And the NMS (network management system) issues the prepared configuration information to the new on-line equipment to complete the configuration and service opening of the new on-line equipment.
Therefore, the equipment completes automatic on-line and service opening, and the whole process does not need network management personnel to intervene.
7. And if the new equipment is automatically restarted due to the fault, sending a power failure alarm trap to the NMS.
The following describes implementation of the terminal virtualization zero configuration in the embodiment of the present invention.
In implementation, the zero configuration technology needs to support multiple technologies such as OSPF, OSPF opaque, LLDP, etc. For the second device, old _ device, involved in implementation, is an old device used in the existing network, and for such an old device, the development period for supporting the new zero configuration technology may be long and face the problem of upgrading a large number of devices. In addition, there are some functions that apply simple access devices, which means a large increase in cost if new zero configuration technology is supported. Then the zero configuration can be done mainly for such old devices as follows:
in implementation, since it is necessary to communicate with the second device (old _ device) on the first device (new _ device) and to implement management of the second device, the following steps are performed:
1. the device manufacturer supports a private management protocol, so that the new _ device can manage the old _ device through the private management protocol;
2. the old _ device is physically and directly connected with at least one new _ device, so that the old _ device and the new _ device can directly interact with a private management protocol of a device manufacturer;
3. old _ device and new _ device may be different types of devices of the same vendor, and old _ device and new _ device support the same vendor proprietary management protocol. Of course, if there is a management protocol, it is also feasible to support interaction of management information between old _ device and new _ device of different device vendors, as long as it is ensured that communication with the second device (old _ device) on the first device (new _ device) and management of the second device are performed.
In the embodiment, the terminal virtualization zero configuration technology refers to that after a new _ devivce supporting an operator zero configuration technology accesses a network, zero configuration related information is generated for the device, and meanwhile, a piece of virtual zero configuration related information meeting an operator zero configuration specification is generated for old _ device.
And the new _ device interacts with the old _ device connected with the new _ device through a proprietary management protocol of a manufacturer to control the generation and the cancellation of the related information of the virtual zero configuration. The specific process can be as follows:
1. the new _ device enables both the operator zero configuration function and the terminal virtualization zero configuration function. If an interface on the new _ device equipment is directly connected with an old _ device, and the new _ device and the old _ device both start a private management protocol of an equipment provider, the new _ device and the old _ device interactively complete equipment identification and authentication through the private management protocol of the equipment provider to reach the state that the new _ device can manage the old _ device, and at the moment, a terminal virtualization zero configuration function of the new _ device automatically generates virtual zero configuration related information for the old _ device, wherein the virtual zero configuration related information meets the zero configuration specification of the operator, and the method comprises the following steps: virtual IP address, virtual OSPF routing information, virtual OSPF customized 10-type LSA, virtual lldp information; wherein the virtual IP address generation rule means that the first 8 bits of the IP address are customized by the manufacturer, and the last 24 bits use the last 24 bits of the mac address of old _ device). The case where there are a plurality of new _ devices and a plurality of old _ devices will be described below.
In an implementation, the first device managing the second device includes being capable of acquiring information of the second device from the second device and being capable of configuring the second device. Specifically, the new _ device may manage the state of the old _ device, which means that through private management protocol message interaction, command setting (set operation) may be performed on the old _ device on the new _ device, and information (get operation) of the old _ device is obtained.
2. And the new _ device floods the virtual OSPF routing information, so that the NMS can route the virtual IP which can reach the old _ device.
3. new _ device floods virtual class 10 LSAs in the network.
In implementation, a virtual class 10 LSA contains the following information: vendor identification, device type, device mac address, device NEID, device NEIP. Wherein the vendor identification uses the same vendor identification as the new _ device. The device type and the device mac address are acquired from old _ device by new _ device in the process of interacting with old _ device through the proprietary management protocol of the device manufacturer and completing device identification and authentication. The NEID and NEIP are generated by the mac address of old _ device. NEID is a 32-bit integer with the first 8 bits being 0 and the last 24 bits being 24 bits after the mac address of old _ device. NEIP is a 32-bit integer, the first 8 bits are the same as the first 8 bits of NEIP of new _ device itself, and the last 24 bits are the last 24 bits of mac address of old _ device.
The core B device receives and analyzes the 10 types of LSAs, extracts vendor identification, device type, device mac address, device NEIP and device NEID information in the 10 types of LSAs, constructs a trap of the new online device, fills the information into the trap, and then sends the trap of the new online device to the NMS.
4. The NMS receives the trap of the new online device, automatically creates old _ device as new network element information according to the information in the trap, automatically discovers the position of the new network element in the network topology through the lldp protocol, and accordingly updates the network topology information of the comprehensive network management system.
5. And the NMS (network management system) issues the prepared configuration information to the new on-line equipment to complete the configuration and service opening of the new on-line equipment.
Specifically, the configuration information prepared by the network management NMS in advance is sent to the new _ device, and the new _ device needs to send the relevant configuration to the old _ device through a management protocol proprietary to the manufacturer, so as to complete service provisioning.
6. And if the new _ device detects that the old _ device is offline through a management protocol private by a manufacturer, revoking the virtual zero configuration information, generating a virtual power failure alarm trap for the old _ device, and sending the virtual power failure alarm trap to the NMS through the core B device. That is, it may further include:
and generating power failure warning information of the second equipment when the first equipment detects that the second equipment is offline.
Therefore, the old _ device does not need to support the operator zero configuration technology, but can still be managed on the integrated network management system through the virtual zero configuration information.
Next, an implementation in which a plurality of new _ devices and a plurality of old _ devices exist will be described.
Determining a first device from the exchanged topology information, comprising:
acquiring adjacent equipment information of second equipment in the exchanged topology information;
identifying equipment which belongs to the zero configuration technology access network in each adjacent equipment of the second equipment as target equipment according to the acquired information;
and selecting one device from the target devices as a first device according to a preset election rule.
In specific implementation, once the equipment accessing the network according to the zero configuration technology determines that the equipment is not the first equipment based on the election result, the subsequent zero configuration process operation is not executed; otherwise, if the device is determined to be the first device, the operation of initiating the zero configuration flow for the second device is executed.
In an implementation, the neighboring device information includes a MAC address; according to a preset election rule, one device is selected from the target devices to serve as a first device, and the method comprises the following steps:
one device is selected from the target devices as a first device according to the MAC address size of the target devices.
Specifically, in practical application, a ring network is a common networking mode. There is a high possibility that one old _ device is directly connected to two new _ devices in the ring network. For the scenario, the terminal virtualization technology requires that a private management protocol of the device vendor supports exchange of topology information, so that one new _ device is selected from two new _ devices directly connected to the old _ device to generate virtual zero configuration information for the old _ device, and the new _ device is responsible for managing the terminal virtualization zero configuration information corresponding to the old _ device.
The topology information exchanged between devices may include: device interface, opposite terminal device type, opposite terminal device mac address. The information is stored in a topology information base of the device, the information is organized in the form of a table, the index of a table row is a device interface, and other information of the table row is a peer device type, a peer device mac address and a device capability. The exchange process of topology information between devices is as follows:
1. in the initial access network of the device, if the device enables the proprietary management protocol of the device manufacturer, the device periodically sends the proprietary management information such as the device type, the mac address, the device capability and the like to all the interfaces in the UP state. The device capability describes interface information of the device and functions supported by the device, such as an IP routing forwarding function, an MPLS (Multi-Protocol Label Switching) function, an OAM (Operation Administration and Maintenance) function, and the like.
2. The device is already in the network and the device enables the management protocol private to the device manufacturer, and when one interface state changes from down to UP, the device periodically sends the private management information such as the device type, the mac address, the device capability and the like to all the interfaces in the UP state.
3. The device supporting the private management protocol of the device manufacturer can collect the private management information of the device type, the mac address, the device capability and the like of the adjacent device in a plurality of cycles; and the device creates, deletes and refreshes the topology information base of the device by utilizing the collected private management information.
4. The new _ device identifies that the adjacent device is old _ device through the private management information, and if the new _ device enables the terminal virtualization zero configuration function, the new _ device periodically requests the complete topology information of the old _ device. If the old _ device supports the response of the complete topology information query request, the complete topology information (namely the private management information of the device types, the mac addresses, the device capabilities and the like of all the adjacent devices of the old _ device) is acquired by querying the local topology information base, and the complete topology information is sent to the new _ device.
It should be noted that, in a specific implementation, for the above identification process, the new _ device does not need to be identified by specific private management information. old _ device only supports private management protocol, and as long as new _ device periodically receives private management protocol message from neighboring device, it considers that neighboring device is old _ device. So in the network, two directly connected new _ devices should avoid simultaneously enabling proprietary management protocols on the interconnected interfaces. That is, the device connected to the first device and intending to access the network according to the zero configuration technology is a device physically connected to the first device, and the device periodically sends a management protocol packet, where the management protocol packet is a private management protocol packet between the first device and the second device.
5. And if the new _ device does not receive the complete topology information response message, the new _ device defaults that the old _ device generates the virtual zero configuration related information. Otherwise, the new _ device queries the type of the adjacent device of the old _ device from the complete topology information of the old _ device, and if the new _ device is the device which is uniquely connected with the old _ device and supports the terminal virtualization function, the new _ device generates virtual zero configuration related information for the old _ device.
If the new _ device finds that the old _ device is connected with other new _ devices supporting the terminal virtualization function, the new _ device acquires the mac addresses of the new _ devices from the complete topology information of the old _ device, and the new _ device is responsible for generating virtual zero configuration related information for the old _ device after judging that the acquired mac addresses are all smaller than the mac address of the new _ device (namely the mac address of the new _ device is the largest). The new _ device is chosen by the mac address in the implementation because the mac address can uniquely identify a device globally and is the most common information for device management protocol interaction. However, there are various algorithms for selecting the new _ device, and only a certain new _ device needs to be selected to be responsible for generating the virtual zero configuration related information for the old _ device.
If the obtained mac address is larger than the mac address of the new device, the new device determines that the mac address of the new device is not the maximum, and does not need to generate virtual zero configuration related information for the old device.
Certainly, in implementation, virtual zero configuration related information may also be generated for old _ device by a device with the smallest mac address in all new _ devices adjacent to old _ device, and the terminal in charge of managing old _ device virtualizes the zero configuration information, that is, when there are multiple devices accessing the network according to the zero configuration technology, which are connected to the device that wants to access the network according to the zero configuration technology, the first device is determined according to the mac information in the exchanged topology information.
In the embodiment of the present invention, as a specific implementation manner, the new _ device may store various device type records capable of supporting terminal virtualization in advance, and after acquiring the device type of the adjacent device of the old _ device from the complete topology information sent by the old _ device, determine whether the adjacent device of the old _ device supports terminal virtualization by querying the stored record, in this implementation manner, the new _ device may actively identify whether the adjacent device of the old _ device supports terminal virtualization by using the local record. This embodiment is generally applicable to the following situations: the complete topology information does not relate to the equipment capability; or, although the device capability is involved, since the private management protocol does not support the extension information, an identifier for describing whether the device supports the terminal virtualization function cannot be carried in the device capability. That is, in implementation, the neighboring device information includes a device type; identifying, according to the obtained information, a device that belongs to the zero configuration technology access network in each neighboring device of the second device, may include:
searching whether the device type of the adjacent device of the second device exists in various locally stored device types capable of supporting the zero configuration technology; if the neighbor device exists, the neighbor device of the second device is identified as a device accessing the network according to the zero configuration technology.
As another specific embodiment, the complete topology information sent by old _ device includes device capability carrying an identifier for describing whether the device supports the terminal virtualization function, and the new _ device can learn whether the adjacent device of old _ device supports the terminal virtualization function only by simply reading the identifier through a reading operation.
That is, in implementation, the neighboring device information includes a device capability identifier; identifying the devices which belong to the zero configuration technology access network in each adjacent device of the second device according to the acquired information, wherein the equipment comprises:
and identifying whether the adjacent equipment is the equipment which accesses the network according to the zero configuration technology by reading the equipment capability identification of the adjacent equipment of the second equipment.
In addition, if the proprietary management protocol of the equipment provider does not support topology information exchange, in a scenario where old _ device is directly connected to multiple new _ devices, it is necessary to manually specify a unique new _ device for generating virtual zero configuration related information for old _ device. Meanwhile, other new _ devices are prohibited from generating virtual zero configuration related information for the old _ device. For the scenario that the old _ device is directly connected with the new _ devices, if topology information exchange is supported, a configuration administrator does not need to intervene in the terminal virtualization zero configuration process. However, sometimes for some management needs (for example, to relieve the pressure of a certain new _ device), the new _ device generating the virtual zero configuration related information may be manually specified by the configuration administrator for old _ device.
In the scenario where old _ device is used to connect with a single new _ device, no administrator intervention is required, regardless of whether the proprietary management protocol of the vendor supports topology information exchange.
Based on the same inventive concept, the embodiment of the present invention further provides a zero configuration apparatus, a computer device, and a computer readable storage medium, and because the principle of solving the problem of these devices is similar to that of a zero configuration method, the implementation of these devices may refer to the implementation of the method, and the repeated details are not repeated.
Fig. 3 is a schematic structural diagram of a zero configuration device, which may include:
a management module 301, configured to communicate with a second device on a first device and manage the second device, where the first device is a device that accesses a network according to a zero configuration technology, the second device is a device that is connected to the first device and is to access the network according to the zero configuration technology, and the first device manages the second device, where the first device can obtain information of the second device from the second device and can configure the second device;
a zero configuration module 302, configured to initiate a zero configuration process on a first device according to a zero configuration technical process, where information provided by the first device according to a requirement of the zero configuration technical process is information of a second device, and the second device is configured by the first device when configured according to the requirement of the zero configuration technical process.
In the implementation, the method can further comprise the following steps:
and the first equipment determining module is used for determining the first equipment according to the exchanged topology information when a plurality of equipment which is connected with the equipment which is to be accessed to the network according to the zero configuration technology and is accessed to the network according to the zero configuration technology are provided.
Specifically, the module may be located in the first device, and determine whether the device becomes the first device according to the topology information; of course, it is also easy to understand that the module may also exist on a certain device, and after the first device is determined by the topology information, the device is indicated and notified to become the first device by a corresponding technical means.
Further, the module may also become a module for the administrator to configure the second device by manual method, considering that the scenario of topology information exchange is not supported.
For convenience of description, each part of the above-described apparatus is separately described as being functionally divided into various modules or units. Of course, the functionality of the various modules or units may be implemented in the same one or more pieces of software or hardware in practicing the invention.
When the technical scheme provided by the embodiment of the invention is implemented, the implementation can be further carried out as follows.
A computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following zero-configuration method when executing the computer program:
the method comprises the steps that communication is carried out between first equipment and second equipment, and management of the second equipment is achieved, wherein the first equipment is equipment which is accessed to a network according to a zero configuration technology, the second equipment is equipment which is connected with the first equipment and is to be accessed to the network according to the zero configuration technology, and the first equipment manages the second equipment and comprises the steps that information of the second equipment can be obtained from the second equipment and the second equipment can be configured;
initiating a zero configuration process on first equipment according to a zero configuration technical process, wherein information provided by the first equipment according to the zero configuration technical process requirement is information of second equipment, and configuring the second equipment through the first equipment when configuring according to the zero configuration technical process requirement.
In implementation, when a plurality of devices accessing the network according to the zero configuration technology are connected with the device which is to access the network according to the zero configuration technology, the first device is determined according to the exchanged topology information.
In implementation, the device connected to the first device and intending to access the network according to the zero configuration technology is a device physically connected to the first device and periodically sending a private management protocol packet between the first device and the second device.
Preferably, determining the first device according to the exchanged topology information includes:
acquiring adjacent equipment information of second equipment in the exchanged topology information;
identifying equipment which belongs to the zero configuration technology access network in each adjacent equipment of the second equipment as target equipment according to the acquired information;
and selecting one device from the target devices as a first device according to a preset election rule.
Preferably, the adjoining device information includes a device type; identifying the devices which belong to the zero configuration technology access network in each adjacent device of the second device according to the acquired information, wherein the equipment comprises:
searching whether the device type of the adjacent device of the second device exists in various locally stored device types capable of supporting the zero configuration technology; if yes, identifying that the adjacent equipment of the second equipment is equipment which is accessed to the network according to the zero configuration technology;
alternatively, the first and second electrodes may be,
the neighboring device information includes a device capability identification; identifying the devices which belong to the zero configuration technology access network in each adjacent device of the second device according to the acquired information, wherein the equipment comprises:
and identifying whether the adjacent equipment is the equipment which accesses the network according to the zero configuration technology by reading the equipment capability identification of the adjacent equipment of the second equipment.
Preferably, the neighboring device information includes a MAC address; according to a preset election rule, one device is selected from the target devices to serve as a first device, and the method comprises the following steps:
one device is selected from the target devices as a first device according to the MAC address size of the target devices.
In an implementation, the method further comprises the following steps:
and generating power failure warning information of the second equipment when the first equipment detects that the second equipment is offline.
Accordingly, similarly to the computer device, a computer-readable storage medium storing a computer program for executing the zero configuration method is also provided in the embodiment of the present invention.
In summary, in the technical solution provided in the embodiment of the present invention, zero configuration information is generated virtually for a device that does not support a zero configuration function, so as to meet the requirement of comprehensive network management. By using the technical scheme provided by the embodiment of the invention, old equipment or low-cost equipment with simple function application which is already deployed and used in the existing network does not need to develop and support the zero configuration technology of the operator, and the zero configuration function of the operator can be realized by connecting with new equipment supporting the terminal virtualization zero configuration technology, and the zero configuration function of the operator can be managed by the comprehensive network management system NMS. Effectively saving cost for enterprises and providing competitiveness for products.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A zero configuration method, comprising:
the method comprises the steps that communication is carried out between first equipment and second equipment, and management of the second equipment is achieved, wherein the first equipment is equipment which is accessed to a network according to a zero configuration technology, the second equipment is equipment which is connected with the first equipment and is to be accessed to the network according to the zero configuration technology, and the first equipment manages the second equipment and comprises the steps that information of the second equipment can be obtained from the second equipment and the second equipment can be configured;
initiating a zero configuration process on first equipment according to a zero configuration technical process, wherein information provided by the first equipment according to the zero configuration technical process requirement is information of second equipment, and configuring the second equipment through the first equipment when configuring according to the zero configuration technical process requirement.
2. The method of claim 1, wherein when there are a plurality of devices accessing the network according to the zero-profile technology connected to the device accessing the network according to the zero-profile technology, the first device is determined based on the exchanged topology information.
3. The method of claim 2, wherein determining the first device from the exchanged topology information comprises:
acquiring adjacent equipment information of second equipment in the exchanged topology information;
identifying equipment which belongs to the zero configuration technology access network in each adjacent equipment of the second equipment as target equipment according to the acquired information;
and selecting one device from the target devices as a first device according to a preset election rule.
4. The method of claim 3, wherein the neighboring device information includes a device type; identifying the devices which belong to the zero configuration technology access network in each adjacent device of the second device according to the acquired information, wherein the equipment comprises:
searching whether the device type of the adjacent device of the second device exists in various locally stored device types capable of supporting the zero configuration technology; if yes, identifying that the adjacent equipment of the second equipment is equipment which is accessed to the network according to the zero configuration technology;
alternatively, the first and second electrodes may be,
the neighboring device information includes a device capability identification; identifying the devices which belong to the zero configuration technology access network in each adjacent device of the second device according to the acquired information, wherein the equipment comprises:
and identifying whether the adjacent equipment is the equipment which accesses the network according to the zero configuration technology by reading the equipment capability identification of the adjacent equipment of the second equipment.
5. The method of claim 3 or 4, wherein the neighbor device information includes a MAC address; according to a preset election rule, one device is selected from the target devices to serve as a first device, and the method comprises the following steps:
one device is selected from the target devices as a first device according to the MAC address size of the target devices.
6. The method of claim 1, wherein the device connected to the first device and intending to access the network according to the zero configuration technology is a device physically connected to the first device and periodically sending a private management protocol packet between the first device and the second device.
7. The method of claim 1, further comprising:
and generating power failure warning information of the second equipment when the first equipment detects that the second equipment is offline.
8. A zero configuration apparatus, comprising:
the management module is used for communicating with a second device on a first device and managing the second device, wherein the first device is a device which is accessed to a network according to a zero configuration technology, the second device is a device which is connected with the first device and is to be accessed to the network according to the zero configuration technology, and the first device manages the second device and comprises the steps of acquiring information of the second device from the second device and configuring the second device;
and the zero configuration module is used for initiating a zero configuration process on the first equipment according to a zero configuration technical process, wherein the information provided by the first equipment according to the zero configuration technical process requirement is the information of the second equipment, and the second equipment is configured by the first equipment when the configuration is carried out according to the zero configuration technical process requirement.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the method of any one of claims 1 to 7.
CN201711230073.XA 2017-11-29 2017-11-29 Zero configuration method, device and equipment Active CN107733727B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711230073.XA CN107733727B (en) 2017-11-29 2017-11-29 Zero configuration method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711230073.XA CN107733727B (en) 2017-11-29 2017-11-29 Zero configuration method, device and equipment

Publications (2)

Publication Number Publication Date
CN107733727A CN107733727A (en) 2018-02-23
CN107733727B true CN107733727B (en) 2021-08-24

Family

ID=61220469

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711230073.XA Active CN107733727B (en) 2017-11-29 2017-11-29 Zero configuration method, device and equipment

Country Status (1)

Country Link
CN (1) CN107733727B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213089B (en) * 2019-05-17 2022-02-15 烽火通信科技股份有限公司 Method and system for accessing large-scale remote zero configuration equipment to network management
CN112865991A (en) * 2019-11-26 2021-05-28 中兴通讯股份有限公司 Zero configuration ZTP state switching method, implementation equipment and storage medium
CN114553831B (en) * 2020-11-25 2023-09-08 华为技术有限公司 Method and system related to sending management IP address

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1429522B1 (en) * 2002-12-13 2008-08-27 Sony Deutschland GmbH Network topology aware configuration of network addresses in wireless networks
CN102123482A (en) * 2010-01-07 2011-07-13 杭州华三通信技术有限公司 Method and equipment for accessing zero-configuration MP (Mesh Point) into Mesh network
CN102164360A (en) * 2011-04-20 2011-08-24 瑞斯康达科技发展股份有限公司 Method and system for configurating and loading network equipment
CN102523110A (en) * 2011-12-09 2012-06-27 杭州华三通信技术有限公司 Method and device for realizing automatic configuration of equipment with zero configuration

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060126614A1 (en) * 2004-12-09 2006-06-15 International Business Machines Corporation Automatic network configuration
CN102447574B (en) * 2011-08-18 2014-03-12 杭州华三通信技术有限公司 Method for realizing zero configuration of IRF (intelligent resilient framework) equipment and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1429522B1 (en) * 2002-12-13 2008-08-27 Sony Deutschland GmbH Network topology aware configuration of network addresses in wireless networks
CN102123482A (en) * 2010-01-07 2011-07-13 杭州华三通信技术有限公司 Method and equipment for accessing zero-configuration MP (Mesh Point) into Mesh network
CN102164360A (en) * 2011-04-20 2011-08-24 瑞斯康达科技发展股份有限公司 Method and system for configurating and loading network equipment
CN102523110A (en) * 2011-12-09 2012-06-27 杭州华三通信技术有限公司 Method and device for realizing automatic configuration of equipment with zero configuration

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《零配置网络协议的研究》;王岩 等;《广东通信技术》;20050331;全文 *
Bastian Könings 等.《Device Names in the Wild: Investigating Privacy Risks of Zero Configuration Networking》.《2013 IEEE 14th International Conference on Mobile Data Management》.2013, *

Also Published As

Publication number Publication date
CN107733727A (en) 2018-02-23

Similar Documents

Publication Publication Date Title
US8774054B2 (en) Network policy configuration method, management device, and network management center device
US10091274B2 (en) Method, device, and system for controlling network device auto-provisioning
WO2023098645A1 (en) Container network configuration method and apparatus, computing node, master node, and storage medium
CN103997414B (en) Generate method and the network control unit of configuration information
CN106464528B (en) For the contactless method allocated, medium and the device in communication network
CN106664216B (en) VNF switching method and device
WO2017036288A1 (en) Network element upgrading method and device
CN115296993B (en) System, function and interface for interconnected multi-domain network fragment control and management
US20190056975A1 (en) Virtualized network function manager determining method and network functions virtualization orchestrator
US20190280939A1 (en) Network Fabric Topology Expansion and Self-Healing Devices
CN107733727B (en) Zero configuration method, device and equipment
US10404544B2 (en) Network topology determining method and apparatus, and centralized network status information storage device
CN105704042A (en) Message processing method, BNG and BNG cluster system
US20220394010A1 (en) Method, Apparatus, and System for Sending Control Request Based on Key Value Configuration
CN112956158A (en) Structured data plane monitoring
US20220094572A1 (en) Gateway selection method, device, and system
WO2017000858A1 (en) Network element device and method for opening data communication network
CN112333014B (en) Device management method and communication apparatus
US11641307B2 (en) Method for configuring a network node
WO2017182086A1 (en) Management of network resources shared by multiple customers
CN104836688A (en) Network device and method for virtually configuring underlying equipment
CN111630814B (en) Method for automatically setting up session conforming to dynamic routing protocol by first device and second device
EP2890053B1 (en) Ds domain generating method and system
US11804902B2 (en) Optical line terminal configured to operate with optical network terminals that require different sets of OMCI parameters
Louati et al. Autonomic virtual routers for the future internet

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100094 First to Fifth Floors of Building 11, East Yard, No. 10 Wangdong Road, Northwest Haidian District, Beijing

Applicant after: Raisecom Technology Inc.

Address before: 100085 No. 2 Building, No. 28 Shangdi Sixth Street, Haidian District, Beijing

Applicant before: Raisecom Technology Inc.

GR01 Patent grant
GR01 Patent grant