CN107733727A - A kind of Zero configuration method, device and equipment - Google Patents
A kind of Zero configuration method, device and equipment Download PDFInfo
- Publication number
- CN107733727A CN107733727A CN201711230073.XA CN201711230073A CN107733727A CN 107733727 A CN107733727 A CN 107733727A CN 201711230073 A CN201711230073 A CN 201711230073A CN 107733727 A CN107733727 A CN 107733727A
- 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.)
- Granted
Links
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/30—Decision processes by autonomous network management units using voting and bidding
-
- 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/0893—Assignment 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 kind of Zero configuration method, device and equipment, including:Communicated on the first device with the second equipment and realize the management to the second equipment, wherein, first equipment is the equipment by zero configuration technology access network, second equipment be connected with the first equipment, be intended to by zero configuration technology access network equipment, the first equipment the second equipment is managed including can from the second equipment obtain the second equipment information and the second equipment can be configured;On the first device zero configuration process is initiated by zero configuration techniqueflow, wherein, the information provided by the requirement of zero configuration techniqueflow by the first equipment is the information of the second equipment, and the second equipment is configured by the first equipment when being configured by zero configuration techniqueflow requirement.Using the present invention, zero configuration can be carried out to the simple low-cost equipment of old equipment or application of function used in existing network deployment.
Description
Technical field
The present invention relates to technical field of computer network management, more particularly to a kind of Zero configuration method, device and equipment.
Background technology
As network size is increasing, more and more higher is required to the webmaster of the network equipment.Due to zero configuration (zero-
Configuration) technology, automatic deployment technology can effectively reduce the cost of network management, thus by more and more fortune
Seek the favor of business.
Due to the zero configuration technology disunity that each equipment vendor uses, and the webmastering software ability that producer can only be used to have by oneself
Sufficient management equipment, it is still complex that this make it that the Network Management and Maintenance of operator works.So some big operators are successively
Unified zero configuration technical specification is released, commission third party develops comprehensive network management platform, and the target of platform is to realize the whole network difference
The equipment of producer uses unified zero configuration technology automatic wire charging, is managed using same comprehensive network management platform.
The deficiencies in the prior art are, before the zero configuration technical specification of operator is released, are largely disposed in network
The old equipment used, and because the old equipment in part may come into life cycle maintenance phase, equipment vendor will not be ready for
These equipment developments, support new zero configuration technology.Even if the old equipment in part can support new zero to match somebody with somebody by software upgrading
Technology is put, but software upgrading, debugging are carried out to old equipment that is substantial amounts of in network, operating, and one very heavy
Work.In addition, there is the simple access device of some application of function, mean cost if new zero configuration technology is supported
Larger rise.
The content of the invention
The invention provides a kind of Zero configuration method, device and equipment, and existing zero configuration function is never supported to solution
The zero configuration problem of equipment.
A kind of Zero configuration method is provided in the embodiment of the present invention, including:
Communicated on the first device with the second equipment and realize the management to the second equipment, wherein, the first equipment is
By the equipment of zero configuration technology access network, the second equipment is to be connected with the first equipment, be intended to access network by zero configuration technology
Equipment, the first equipment the second equipment is managed including can from the second equipment obtain the second equipment information and can
Second equipment is configured;
Zero configuration process is initiated by zero configuration techniqueflow on the first device, wherein, by zero configuration techniqueflow requirement
The information provided by the first equipment is the information of the second equipment, when being configured by zero configuration techniqueflow requirement by the
One equipment configures to the second equipment.
It is preferred that when with being intended to access setting for network by zero configuration technology by what the equipment of zero configuration technology access network was connected
During for being multiple, the first equipment is therefrom determined according to the topology information of exchange.
It is preferred that the first equipment is therefrom determined according to the topology information of exchange, including:
Obtain each adjacent device information of the second equipment in the topology information exchanged;
According to the information got, identify and belong in each adjacent device of the second equipment by zero configuration technology access network
Equipment, as target device;
According to election regulation set in advance, an equipment is elected from target device as the first equipment.
It is preferred that adjacent device information includes device type;According to the information got, each adjoining of the second equipment is identified
Belong to the equipment by zero configuration technology access network in equipment, including:
Search the neighbour that can support to whether there is in the various device types of zero configuration technology the second equipment being locally stored
Connect the device type of equipment;If in the presence of the adjacent device for identifying the second equipment is to access network by zero configuration technology
Equipment;
Or
Adjacent device information includes equipment capacity identification;According to the information got, each adjoining of the second equipment of identification is set
Belong to the equipment by zero configuration technology access network in standby, including:
By the equipment capacity identification for the adjacent device for reading the second equipment, identify whether the adjacent device is by zero configuration
The equipment that technology accesses network.
It is preferred that adjacent device information includes MAC Address;According to election regulation set in advance, selected from target device
An equipment is enumerated as the first equipment, including:
According to the MAC Address size of target device, an equipment is elected from target device as the first equipment.
It is preferred that further comprise:
When the first equipment detects that the second equipment is offline, the power fail warning information of the second equipment is generated.
A kind of zero configuration device is provided in the embodiment of the present invention, including:
Management module, for the management to the second equipment to be communicated and realized with the second equipment on the first device, its
In, the first equipment is that the second equipment is to be connected with the first equipment, be intended to by zero configuration by the equipment of zero configuration technology access network
The equipment that technology accesses network, the first equipment are managed to the second equipment including that can obtain the second equipment from the second equipment
Information and the second equipment can be configured;
Zero configuration module, zero configuration process is initiated for pressing zero configuration techniqueflow on the first device, wherein, match somebody with somebody by zero
The information that the information that techniqueflow requirement is provided by the first equipment is the second equipment is put, is entered by zero configuration techniqueflow requirement
The second equipment is configured by the first equipment during row configuration.
It is preferred that further comprise:
First equipment determining module, for when be intended to by zero configuration technology access network equipment be connected by zero configuration skill
When the equipment of art access network is multiple, the first equipment is therefrom determined according to the topology information of exchange.
A kind of computer equipment is provided in the embodiment of the present invention, including memory, processor and storage are on a memory
And the computer program that can be run on a processor, above-mentioned zero configuration side is realized described in the computing device during computer program
Method.
A kind of computer-readable recording medium, the computer-readable recording medium storage are provided in the embodiment of the present invention
Have and perform above-mentioned Zero configuration method.
The present invention has the beneficial effect that:
In technical scheme provided in an embodiment of the present invention, due to support zero configuration function the first equipment on not propping up
The second equipment for holding zero configuration function is communicated and realizes the management to the second equipment, and the second equipment is obtained from the second equipment
Information and the second equipment is configured;And zero configuration process is initiated by zero configuration techniqueflow on the first device, pass through
First equipment is completed to configure the second equipment.Therefore, in the old equipment or application of function to having been used in existing network deployment
When simple low-cost equipment carries out zero configuration, itself is without developing, supporting operator's zero configuration technology, by with supporting that zero matches somebody with somebody
The connected i.e. achievable operator's zero configuration function of equipment of function is put, and is integrated into webmaster NMS management, it is contemplated that using this
Scheme can be that enterprise effectively saves cost, and competitiveness is provided for product.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the part of the present invention, this hair
Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is Zero configuration method implementation process diagram in the embodiment of the present invention;
Fig. 2 is the network environment schematic diagram of zero configuration in the embodiment of the present invention;
Fig. 3 is zero configuration apparatus structure schematic diagram in the embodiment of the present invention.
Embodiment
Inventors noted that largely dispose what is used before the zero configuration technical specification of operator is released, in network
Old equipment, and because the old equipment in part may come into life cycle maintenance phase, equipment vendor will not be ready to set for these
Standby exploitation, support new zero configuration technology.Even if the old equipment in part can support new zero configuration technology by software upgrading,
But software upgrading, debugging, and a very hard work are carried out to old equipment that is substantial amounts of in network, operating.
In addition, there is the simple access device of some application of function, mean if new zero configuration technology is supported cost it is larger on
Rise.However, it is to manage the network equipment jointly by own webmaster and comprehensive network management to carry out transition that current present situation, which is producer,.It is based on
This, will provide a kind of terminal virtualization zero configuration scheme, not support that the equipment of zero configuration technology is virtual in the embodiment of the present invention
One zero configuration terminal, virtual terminal zero configuration function is realized, and realize that equipment is integrated into webmaster management.It is right below in conjunction with the accompanying drawings
The embodiment of the present invention illustrates.
Fig. 1 is Zero configuration method implementation process diagram, as illustrated, can include:
Step 101, communicated on the first device with the second equipment and realize the management to the second equipment, wherein, the
One equipment is that the second equipment is to be connected with the first equipment, be intended to by zero configuration technology by the equipment of zero configuration technology access network
The equipment for accessing network, the first equipment are managed the information including that can obtain the second equipment from the second equipment to the second equipment
And the second equipment can be configured;
Step 102, zero configuration process is initiated by zero configuration techniqueflow on the first device, wherein, by zero configuration technology
The information that process requirements are provided by the first equipment is the information of the second equipment, is configured by zero configuration techniqueflow requirement
When the second equipment is configured by the first equipment.
In implementation, the second equipment can be realized in the first equipment from what the information of the second equipment the second equipment of acquisition referred to
The information that can be obtained as needed after management, it should be readily apparent to one skilled in the art that can be by an equipment to another
Equipment such as is managed at the operation, after realizing and managing, you can corresponding information is got according to specification, agreement etc., and the information
Refer to the information that can be obtained after management is realized;
The information provided by the requirement of zero configuration techniqueflow by the first equipment is that the information of the second equipment refers to match somebody with somebody by zero
The information of techniqueflow requirement offer is put, the specific example of the information content also can be in the following embodiments by taking China Telecom as an example
Provide, still, it should be readily apparent to one skilled in the art that according to the difference of each zero configuration demand of technical standard, in required information
Hold also difference, but can affirm that these information after the management that the first equipment realizes to the second equipment, can all obtain.
Difference is, by technical scheme provided in an embodiment of the present invention, letter is being provided by the requirement of zero configuration techniqueflow by the first equipment
During breath, there is provided be the second equipment information, rather than the information of the first equipment.
Also it can easily be seen that the scope for the information that the second equipment can be obtained from the second equipment, which is more than or equal to, presses zero configuration technology
The scope of the information for the second equipment that process requirements are provided by the first equipment.
The relation in implementation, the second equipment can be configured, configured to the second equipment by the first equipment with
The relation of above-mentioned two information is similar, the second equipment can be carried out configuration refer to the first equipment to the second equipment realize manage
The configuration that can be carried out as needed after reason, it should be readily apparent to one skilled in the art that can be set by an equipment to another
It is standby the operation such as to be managed, after realizing and managing, you can configured accordingly according to specification, agreement etc., and can be to second
Equipment is configured the configuration that refers to and can be carried out after management is realized;
The configuration that configuration refers to carry out by the requirement of zero configuration techniqueflow is carried out to the second equipment by the first equipment, this is matched somebody with somebody
Putting the specific example of content can also provide by taking China Telecom as an example in the following embodiments, and still, those skilled in the art are easy
Understand, according to the difference of each zero configuration demand of technical standard, the configuration content of required progress is also different, but can affirm this
A little configurations are possible to after the management that the first equipment realizes to the second equipment.Difference is, by the embodiment of the present invention
The technical scheme of offer, when being configured by the first equipment by zero configuration techniqueflow requirement, the object of configuration is second to set
It is standby, rather than the first equipment.
Also it can easily be seen that the scope that can be configured to the second equipment is more than or equal to by the first equipment to the second equipment
The scope configured.
The environment of implementation is illustrated first below.
Fig. 2 be zero configuration network environment schematic diagram, with China Telecom DCN (Data Communication Network,
Data communication network) exemplified by zero configuration technology, as illustrated, mainly including following equipment in network:NMS(Network
Management System, NMS, abbreviation webmaster), fire wall, B device, carrier network, new_device
(new equipment, namely the first equipment), old_device (used equipment, namely the second equipment).Wherein:
New_device refers to the equipment for supporting operator zero configuration technology in embodiment, using new_device this
Title is in order to more fully understand the property of the first equipment, that is, the first equipment is the equipment by zero configuration technology access network;
Old_device refers to the equipment for not supporting operator's zero configuration technology in embodiment, and holding equipment business is privately owned
Management agreement, it may be possible to two-layer equipment, it is also possible to which three-layer equipment, this title is in order to more preferable geographical using old_device
The property of the second equipment is solved, that is, the second equipment is intended to the equipment by zero configuration technology access network, but the equipment can not be by
The equipment for carrying out zero configuration according to the zero configuration technical specification of existing operator;
Core B device refers to telecommunications IPRAN (wireless access network IPization in embodiment;IP:Internet Protocol,
Interconnection protocol, RAN:Radio Access Network, wireless access network) convergence-level equipment in network.B device supports OSPF
(Open Shortest Path First, ospf) routing function, support OSPF opaque (opaque)
Ability, OSPF 10 class LSA (Link-State Advertisement, Link State Advertisement) information of customization is can recognize that, can incited somebody to action
Result after 10 class LSA parsings is filled into equipment and newly reaches the standard grade that (trap is one of core message to trap, can use Trap to SNMP
(Simple Network Management Protocol, Simple Network Management Protocol) management station sends unsolicited response and disappeared
Breath, is generally used to illustrate the generation of a certain event.This event can be alarm, alarm clearing, notice etc..Such as interface UP/DOWN,
IP address change etc..) in, and trap that equipment newly reached the standard grade is sent to webmaster NMS.
The zero configuration initiated by operator's zero configuration techniqueflow is briefly described by taking China Telecom's DCN zero configurations as an example below
Process.
1st, the empty configuration of equipment starts, and DCN zero configurations function automatically turns on, and creates IP interfaces for equipment, with automatically configuring IP
Location, enabled OSPF Routing Protocol functions, enable OSPF Opaque abilities, while automatically turn on lldp (Link automatically automatically
Layer Discovery Protocol, Link Layer Discovery Protocol) function;The rule of IP address is automatically configured in the function such as
Under:8 bits are customized by manufacturer before IP address, and rear 24 bits use equipment mac (Media Access Control, media
Access control) address rear 24 bits.
2nd, the route path got through by OSPF Routing Protocols between equipment and webmaster NMS, makes between equipment and webmaster NMS
It route reachable.
3rd, DCN zero configurations function enables OSPF opaque abilities automatically, equipment flooding is sent 10 class LSA of customization;It is fixed
10 class LSA of system include following information:Identification of the manufacturer, device type, equipment mac addresses, NEID, NEIP;Wherein, NEID is to use
It is 32 bit integers in the device id of webmaster, preceding 8 bit is 0, and rear 24 bit is rear 24 bit of equipment mac addresses;
NEIP is the IP address for webmaster, i.e., the IP address automatically configured in foregoing for equipment.
4th, core B device receives, parses 10 class LSA, extracts identification of the manufacturer, device type, equipment mac in 10 class LSA
Address, equipment NEIP, equipment NEID information, the trap that structure new equipment is reached the standard grade, and above- mentioned information is filled into trap, then
Send the trap that new equipment is reached the standard grade and give webmaster NMS.
5th, webmaster NMS receives the trap that new equipment is reached the standard grade, and automatically creates new network element, is found automatically by lldp agreements
New position of the network element in network topology, updates network topological information.
6th, webmaster NMS issues preprepared configuration information to new equipment of reaching the standard grade, and completes the configuration to equipment of newly reaching the standard grade
And service fulfillment.
So far, equipment completes automatic wire charging, service fulfillment, and whole process is intervened without webmaster personnel.
Restart automatically if the 7, new equipment hinders for some reason, power fail warning trap can be sent and give webmaster NMS.
The implementation for virtualizing zero configuration to the terminal in the embodiment of the present invention below illustrates.
In implementation, zero configuration technology needs to support the multinomial technologies such as OSPF, OSPF opaque, LLDP.And in implementation
Involved the second equipment, old_device then refer to the old equipment used in existing network, for this kind of old equipment, support new
Construction cycle of zero configuration technology may be longer, and the problem of face large number quipments upgrading.In addition, there are some application of function simple
Single access device, mean the larger rise of cost if new zero configuration technology is supported.Then set always mainly for this kind of
It is standby to carry out zero configuration as follows:
In implementation, due to needing to be communicated in the first equipment (new_device) with the second equipment (old_device)
And the management to the second equipment is realized, therefore:
1st, equipment vendor supports a kind of privately owned management agreement to cause new_device can be by privately owned management agreement
Manage old_device;
2nd, old_device is at least direct-connected with a new_device physics so that old_device and new_device it
Between can the privately owned management agreement of direct interaction equipment vendor;
3rd, old_device and new_device can be the different type equipment of same equipment vendor, and old_
Device and new_device supports the privately owned management agreement of identical equipment vendor.Certainly, if there is a kind of management agreement, branch
It is also feasible to hold interactive maintenance information between the old_device of different equipment manufacturer and new_device, as long as can ensure
Communicated in first equipment (new_device) with the second equipment (old_device) and realize management to the second equipment i.e.
Can.
Terminal virtualization zero configuration technology in embodiment refers to supporting the new_deivce of operator's zero configuration technology
After accessing network, only equipment itself does not generate zero configuration relevant information, while can also be that old_device generations are a and meet
The virtual zero configuration relevant information of operator's zero configuration specification.
New_device is interacted by the privately owned management agreement of manufacturer with the old_device being connected, and is controlled virtual
The generation and revocation of zero configuration relevant information.Idiographic flow can be as follows:
1st, enabled operator's zero configuration function and terminal virtualize zero configuration function to new_device simultaneously.If new_
The direct-connected old_device of some interface in device equipment, and new_device and old_device are opened and set
The privately owned management agreement of standby business, new_device are interacted by the privately owned management agreement of equipment vendor with old_device and are completed equipment
Identification, certification, reach the state that new_device can manage old_device, and now new_device terminal virtualization zero is matched somebody with somebody
Put function and generate the virtual zero configuration relevant information for meeting operator's zero configuration specification for old_device automatically, including:It is empty
Intend IP address, virtual ospf routing information, 10 class LSA of virtual OSPF customizations, virtual lldp information;Wherein virtual ip address is given birth to
8 bits are customized by manufacturer before referring to IP address into rule, and rear 24 bits use latter 24 of old_device mac addresses
Bit).Face will be additionally explained in the case of on more new_device and more old_device be present.
In implementation, the first equipment is managed the information including that can obtain the second equipment from the second equipment to the second equipment
And the second equipment can be configured.Specifically, new_device can manage old_device state, refer to pass through private
Some management agreement message interactions, line command can be entered to old_device on new_device (set operations) is set, and
Obtain old_device information (get operations) etc..
2nd, new_device floods virtual ospf routing information, makes void of the webmaster NMS routes up to old_device
Intend IP.
3rd, new_device floods 10 virtual class LSA in a network.
In implementation, 10 virtual class LSA include following information:Identification of the manufacturer, device type, equipment mac addresses, equipment
NEID, equipment NEIP.Wherein, identification of the manufacturer use and new_device identical identifications of the manufacturer.Device type and equipment mac
Location is being interacted by the privately owned management agreement of equipment vendor with old_device by new_device, is being completed equipment identification and authentication
During from old_device obtain.NEID and NEIP is generated by old_device mac addresses.NEID is 32 bits
Integer, preceding 8 bit are 0,24 bits behind the mac addresses that rear 24 bit is old_device.NEIP is 32 bit integers, preceding
Itself NEIP of 8 bits and new_device preceding 8 bit is identical, 24 bits behind the mac addresses that rear 24 bit is old_device.
Core B device receives, 10 class LSA of parsing, the identification of the manufacturer, device type, equipment mac in 10 class LSA of extraction
Location, equipment NEIP, equipment NEID information, the trap that structure equipment is newly reached the standard grade, and above- mentioned information is filled into trap, Ran Houfa
The trap that equipment is newly reached the standard grade is sent to give webmaster NMS.
4th, webmaster NMS receives the trap that equipment is newly reached the standard grade, the information in trap automatically create old_device this
One new net element information, position of the new network element in network topology is found by lldp agreements automatically, updates comprehensive network management accordingly
The network topological information of system.
5th, webmaster NMS issues preprepared configuration information to new equipment of reaching the standard grade, and completes the configuration to equipment of newly reaching the standard grade
And service fulfillment.
Specifically, the preprepared configuration informations of webmaster NMS can issue new_device, it is necessary to be led to by new_device
Cross manufacturer's privately owned management agreement and relevant configuration is issued to old_device, finishing service is open-minded.
If the 6, new_device detects that old_device is offline by the privately owned management agreement of manufacturer, revocation is virtual
Zero configuration information, and generate virtual power fail warning trap for old_device, webmaster NMS be sent to through core B device.
That is, can further include:
When the first equipment detects that the second equipment is offline, the power fail warning information of the second equipment is generated.
So far, old_device need not support operator's zero configuration technology, but can still be believed by virtual zero configuration
Breath is managed on Integrated Network Management System.
The implementation that more new_device and more old_device be present is illustrated below.
First equipment is therefrom determined according to the topology information of exchange, including:
Obtain each adjacent device information of the second equipment in the topology information exchanged;
According to the information got, identify and belong in each adjacent device of the second equipment by zero configuration technology access network
Equipment, as target device;
According to election regulation set in advance, an equipment is elected from target device as the first equipment.
In specific implementation, once the equipment that network is accessed by zero configuration technology determines it oneself is not first based on election results
Equipment, then the operation of follow-up zero configuration flow is not performed;It is on the contrary, however, it is determined that as the first equipment, then it is second to perform for oneself
Equipment initiates the operation of zero configuration flow.
In implementation, adjacent device information includes MAC Address;According to election regulation set in advance, selected from target device
An equipment is enumerated as the first equipment, including:
According to the MAC Address size of target device, an equipment is elected from target device as the first equipment.
Specifically, in actual applications, looped network is a kind of common networking mode.It is likely to have one in looped network
The scene that old_device and two new_device is joined directly together.For the scene, terminal virtualization technology requires equipment vendor
Privately owned management agreement supports commutative Topology information, to be selected in two new_device being joined directly together from old_device
One new_device to generate fictitious zero configuration information for old_device, and it is empty to be responsible for terminal corresponding to old_device
Planization zero configuration information.
The topology information of exchanged between equipment can include:Equipment interface, opposite equip. type, opposite equip. mac addresses.
These information are stored in the topology information base of equipment, and these information are organized in the form of a table, and the index of table row is equipment interface,
The other information of table row is opposite equip. type, opposite equip. mac addresses, capacity of equipment.The exchange of topology information between equipment
Process is as follows:
1st, in equipment initial access network, if equipment enables the privately owned management agreement of equipment vendor, equipment is to all
The privately owned management informations such as the interface periodicity transmission device types of UP states, mac addresses, capacity of equipment.Wherein, capacity of equipment is retouched
The function that the interface message of equipment and equipment are supported, such as IP route forwarding functions, MPLS (Multi-Protocol are stated
Label Switching, multiprotocol label switching) function, OAM (Operation Administration and
Maintenance, operation, management, safeguard) function etc..
2nd, equipment in a network, and equipment enables the privately owned management agreement of equipment vendor, now there is an interface
State is changed into up from down, then interface periodicity transmission device types, mac address, capacity of equipment of the equipment to all UP states
Etc. privately owned management information.
3rd, the equipment of the privately owned management agreement of holding equipment business, the equipment that adjacent device can be collected within several cycles
The privately owned management informations such as type, mac addresses, capacity of equipment;The privately owned management information that equipment utilization is collected into, create, delete, brush
The topology information base of new equipment.
4th, new_device identifies that adjacent device is old_device by privately owned management information, and if new_
Device enables terminal virtualization zero configuration function, then new_device periodically asks old_device complete topology
Information.If old_device supports response full topology information inquiry request, by inquiring about local topology information storehouse, obtain
Full topology information (the i.e. privately owned management such as the device type of all of its neighbor equipment of old_device, mac addresses, capacity of equipment
Information), and the full topology information is sent to new_device.
It should be noted that in specific implementation, for above-mentioned identification process, new_device need not be by specific private
There is management information to identify.Old_device only supports privately owned management agreement, as long as new_device is from the adjacent device cycle
Property receives privately owned management agreement message, and it is old_device to be considered as adjacent device.So in a network, two direct-connected
New_device should be avoided on the interface of interconnection while enabled privately owned management agreement.That is, it is connected with the first equipment
, be intended to equipment by zero configuration technology access network, be the equipment being physically connected to the first equipment, and the device periodically
Management protocol massages are sent, the management agreement message is management agreement message privately owned between the first equipment and the second equipment.
If the 5, new_device does not receive full topology information back message, new_device is defaulted as old_
Device generates virtual zero configuration relevant information.Otherwise, new_device looks into from old_device full topology information
The type of old_device adjacent device is ask, uniquely coupled support terminal is empty if the new_device is old_device
The equipment of planization function, then new_device is that old_device generates virtual zero configuration relevant information.
If new_device has found that old_device is connected to other new_ for supporting terminal virtualization
Device, then new_device these new_device mac addresses are obtained from old_device full topology information,
Mac addresses acquired in judging are respectively less than the mac addresses (namely the mac addresses of itself are maximum) of itself, and new_device is responsible for afterwards
Virtual zero configuration relevant information is generated for old_device.New_device is selected by mac addresses in implementation, be because
Mac addresses can one equipment of global unique identification, and be device management protocol interaction most common information.But select new_
Device algorithm can have a variety of, it is only necessary to select some new_device to be responsible for old_device generations virtually zero
Configure relevant information.
If there is the mac addresses more than itself in acquired mac addresses, current new_device determines itself
Mac addresses are not maximum, without generating virtual zero configuration relevant information for old_device.
Certainly, the minimum equipment in mac addresses in all new_device that can also be abutted in implementation by old_device
Virtual zero configuration relevant information is generated for old_device, is responsible for old_device terminal virtualization zero configuration letter
Breath, that is, when the equipment by zero configuration technology access network with being intended to be connected by the equipment of zero configuration technology access network is more
When individual, the mac information in the topology information of exchange determines the first equipment.
In embodiments of the present invention, as a kind of embodiment, new_device, which can be previously stored with, to be propped up
The various device types record of terminal virtualization is held, old_ is got in the full topology information sent from old_device
After the device type of device adjacent device, determine whether old_device adjacent device props up by inquiring about the stored record
Terminal virtualization is held, the neighbour for locally recording initiative recognition old_device can be utilized by new_device in this embodiment
Whether connect support that equipment virtualizes to terminal.The embodiment is commonly available to following situation:Do not related in full topology information
And capacity of equipment;Or although being related to capacity of equipment, because privately owned management agreement do not support extend information can not be in equipment
Carried in ability for describing equipment supports terminal virtualization whether identifier.That is, in implementing, adjacent device information
Including device type;According to the information got, identify to belong in each adjacent device of the second equipment and accessed by zero configuration technology
The equipment of network, it can include:
Search the neighbour that can support to whether there is in the various device types of zero configuration technology the second equipment being locally stored
Connect the device type of equipment;If in the presence of the adjacent device for identifying the second equipment is to access network by zero configuration technology
Equipment.
As another embodiment, the full topology information of old_device transmissions, which includes, to be carried for describing
Equipment supports the capacity of equipment of terminal virtualization whether identifier, and new_device is only operated by simply reading,
The identifier is read, can be to know whether old_device adjacent device supports terminal virtualization.
That is, in implementing, adjacent device information includes equipment capacity identification;According to the information got, identification second is set
Belong to the equipment by zero configuration technology access network in standby each adjacent device, including:
By the equipment capacity identification for the adjacent device for reading the second equipment, identify whether the adjacent device is by zero configuration
The equipment that technology accesses network.
In addition, if the privately owned management agreement of equipment vendor does not support topology information to exchange, then old_device with it is multiple
, it is necessary to which mode manually specifies the virtual zero configuration of generation for old_device under the scene that new_device is joined directly together
Unique new_device of relevant information.Meanwhile it is that zero that the old_device is generated virtually matches somebody with somebody to forbid other new_device
Put relevant information.The scene being joined directly together for old_device and multiple new_device, if supporting topology information to exchange,
Then Configuration Management Officer need not intervene terminal virtualization zero configuration process.But need (such as to mitigate some for some management sometimes
New_device pressure), can also Configuration Management Officer manually match somebody with somebody for old_device specifies generation virtual zero
Put the new_device of relevant information.
Be used for the scene that is connected with single new_device in old_device, then no matter the privately owned management agreement of equipment vendor
Whether topology information is supported to exchange, all the intervention without administrative staff.
Based on same inventive concept, additionally provided in the embodiment of the present invention a kind of zero configuration device, a kind of computer equipment,
A kind of computer-readable recording medium, because the principle of these equipment solution problem is similar to a kind of Zero configuration method, therefore this
The implementation of a little equipment may refer to the implementation of method, repeats part and repeats no more.
Fig. 3 is zero configuration apparatus structure schematic diagram, as illustrated, can include:
Management module 301, for the management to the second equipment to be communicated and realized with the second equipment on the first device,
Wherein, the first equipment is that the second equipment is to be connected with the first equipment, be intended to match somebody with somebody by zero by the equipment of zero configuration technology access network
The equipment for putting technology access network, the first equipment are managed to the second equipment including that can obtain the second equipment from the second equipment
Information and the second equipment can be configured;
Zero configuration module 302, zero configuration process is initiated for pressing zero configuration techniqueflow on the first device, wherein, press
The information that the requirement of zero configuration techniqueflow is provided by the first equipment is the information of the second equipment, is wanted by zero configuration techniqueflow
Ask and the second equipment is configured by the first equipment when being configured.
In implementation, it can further include:
First equipment determining module, for when be intended to by zero configuration technology access network equipment be connected by zero configuration skill
When the equipment of art access network is multiple, the first equipment is therefrom determined according to the topology information of exchange.
Specifically, the module can be located in the first equipment, determine whether this equipment turns into first by topology information
Equipment;Certainly, also it is readily appreciated that, the module determines the first equipment there may also be in a certain equipment by topology information
Afterwards, indicated by corresponding technological means, notify the equipment to turn into the first equipment.
Further, it is contemplated that do not support scene, the modules such as topology information exchange to pass through hand as keeper
Flowing mode configures the module of the second equipment.
For convenience of description, each several part of apparatus described above is divided into various modules with function or unit describes respectively.
Certainly, each module or the function of unit can be realized in same or multiple softwares or hardware when implementing of the invention.
When implementing technical scheme provided in an embodiment of the present invention, can also implement as follows.
A kind of computer equipment, including memory, processor and storage can be run on a memory and on a processor
Computer program, following Zero configuration method is realized described in the computing device during computer program:
Communicated on the first device with the second equipment and realize the management to the second equipment, wherein, the first equipment is
By the equipment of zero configuration technology access network, the second equipment is to be connected with the first equipment, be intended to access network by zero configuration technology
Equipment, the first equipment the second equipment is managed including can from the second equipment obtain the second equipment information and can
Second equipment is configured;
Zero configuration process is initiated by zero configuration techniqueflow on the first device, wherein, by zero configuration techniqueflow requirement
The information provided by the first equipment is the information of the second equipment, when being configured by zero configuration techniqueflow requirement by the
One equipment configures to the second equipment.
In implementation, when with being intended to access setting for network by zero configuration technology by what the equipment of zero configuration technology access network was connected
During for being multiple, the first equipment is therefrom determined according to the topology information of exchange.
In implementation, equipment being connected with the first equipment, being intended to access network by zero configuration technology is and the first equipment physics
Upper equipment being connected, periodically sending management agreement message privately owned between the first equipment and the second equipment.
It is preferred that the first equipment is therefrom determined according to the topology information of exchange, including:
Obtain each adjacent device information of the second equipment in the topology information exchanged;
According to the information got, identify and belong in each adjacent device of the second equipment by zero configuration technology access network
Equipment, as target device;
According to election regulation set in advance, an equipment is elected from target device as the first equipment.
It is preferred that adjacent device information includes device type;According to the information got, each adjoining of the second equipment is identified
Belong to the equipment by zero configuration technology access network in equipment, including:
Search the neighbour that can support to whether there is in the various device types of zero configuration technology the second equipment being locally stored
Connect the device type of equipment;If in the presence of the adjacent device for identifying the second equipment is to access network by zero configuration technology
Equipment;
Or
Adjacent device information includes equipment capacity identification;According to the information got, each adjoining of the second equipment of identification is set
Belong to the equipment by zero configuration technology access network in standby, including:
By the equipment capacity identification for the adjacent device for reading the second equipment, identify whether the adjacent device is by zero configuration
The equipment that technology accesses network.
It is preferred that adjacent device information includes MAC Address;According to election regulation set in advance, selected from target device
An equipment is enumerated as the first equipment, including:
According to the MAC Address size of target device, an equipment is elected from target device as the first equipment.
In implementation, further comprise:
When the first equipment detects that the second equipment is offline, the power fail warning information of the second equipment is generated.
Accordingly, computer equipment is similar, with additionally providing a kind of computer-readable recording medium in the embodiment of the present invention,
The computer-readable recording medium storage has the computer program for performing Zero configuration method.
In summary, in technical scheme provided in an embodiment of the present invention, not support that the equipment of zero configuration function is virtual
Zero configuration information is generated, meets the requirement of comprehensive network management management.Using technical scheme provided in an embodiment of the present invention, in existing network
The old simple low-cost equipment of equipment or application of function used is disposed, itself is without exploitation, support operator zero configuration skill
Art, by with supporting terminal virtualizes the new equipment of zero configuration technology to be connected, you can operator's zero configuration function is realized, and it is comprehensive
Close webmaster NMS management.Cost is effectively saved for enterprise, competitiveness is provided for product.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more
The shape for the computer program product that usable storage medium is implemented on (including but is not limited to magnetic disk storage and optical memory etc.)
Formula.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.
Claims (10)
- A kind of 1. Zero configuration method, it is characterised in that including:Communicated on the first device with the second equipment and realize the management to the second equipment, wherein, the first equipment is by zero The equipment that configuring technical accesses network, the second equipment are to be connected with the first equipment, be intended to setting by zero configuration technology access network Standby, the first equipment is managed the information including that can obtain the second equipment from the second equipment to the second equipment and can be to the Two equipment are configured;Zero configuration process is initiated by zero configuration techniqueflow on the first device, wherein, pass through by zero configuration techniqueflow requirement The information that first equipment provides is the information of the second equipment, is set when being configured by zero configuration techniqueflow requirement by first It is standby that second equipment is configured.
- 2. the method as described in claim 1, it is characterised in that when with being intended to what is be connected by the equipment of zero configuration technology access network When equipment by zero configuration technology access network is multiple, the first equipment is therefrom determined according to the topology information of exchange.
- 3. method as claimed in claim 2, it is characterised in that the first equipment is therefrom determined according to the topology information of exchange, Including:Obtain each adjacent device information of the second equipment in the topology information exchanged;According to the information got, identify and belong to setting by zero configuration technology access network in each adjacent device of the second equipment It is standby, as target device;According to election regulation set in advance, an equipment is elected from target device as the first equipment.
- 4. method as claimed in claim 3, it is characterised in that adjacent device information includes device type;According to what is got Information, the equipment belonged in each adjacent device of the second equipment by zero configuration technology access network is identified, including:Search be locally stored the adjoining in the various device types of zero configuration technology with the presence or absence of the second equipment can be supported to set Standby device type;If in the presence of the adjacent device for identifying the second equipment is the equipment that network is accessed by zero configuration technology;OrAdjacent device information includes equipment capacity identification;According to the information got, in each adjacent device for identifying the second equipment Belong to the equipment by zero configuration technology access network, including:By the equipment capacity identification for the adjacent device for reading the second equipment, identify whether the adjacent device is by zero configuration technology The equipment for accessing network.
- 5. the method as described in claim 3 or 4, it is characterised in that adjacent device information includes MAC Address;According to setting in advance Fixed election regulation, an equipment is elected from target device as the first equipment, including:According to the MAC Address size of target device, an equipment is elected from target device as the first equipment.
- 6. the method as described in claim 1, it is characterised in that being connected with the first equipment, be intended to by zero configuration technology access network The equipment of network is physically connected to the first equipment, periodically sends management association privately owned between the first equipment and the second equipment The equipment for discussing message.
- 7. the method as described in claim 1, it is characterised in that further comprise:When the first equipment detects that the second equipment is offline, the power fail warning information of the second equipment is generated.
- A kind of 8. zero configuration device, it is characterised in that including:Management module, for the management to the second equipment to be communicated and realized with the second equipment on the first device, wherein, the One equipment is that the second equipment is to be connected with the first equipment, be intended to by zero configuration technology by the equipment of zero configuration technology access network The equipment for accessing network, the first equipment are managed the information including that can obtain the second equipment from the second equipment to the second equipment And the second equipment can be configured;Zero configuration module, zero configuration process is initiated for pressing zero configuration techniqueflow on the first device, wherein, by zero configuration skill The information that art process requirements are provided by the first equipment is the information of the second equipment, is matched somebody with somebody by zero configuration techniqueflow requirement The second equipment is configured by the first equipment when putting.
- 9. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, it is characterised in that realize any side of claim 1 to 7 described in the computing device during computer program Method.
- 10. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium storage has perform claim It is required that the computer program of 1 to 7 any methods described.
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 true CN107733727A (en) | 2018-02-23 |
CN107733727B 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) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110213089A (en) * | 2019-05-17 | 2019-09-06 | 烽火通信科技股份有限公司 | A kind of method and system of extensive distal end equipment with zero configuration access network management |
CN112865991A (en) * | 2019-11-26 | 2021-05-28 | 中兴通讯股份有限公司 | Zero configuration ZTP state switching method, implementation equipment and storage medium |
US20220166745A1 (en) * | 2020-11-25 | 2022-05-26 | Huawei Technologies Co., Ltd. | Method Related to Sending Management IP Address and System |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060126614A1 (en) * | 2004-12-09 | 2006-06-15 | International Business Machines Corporation | Automatic network configuration |
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 |
CN102447574A (en) * | 2011-08-18 | 2012-05-09 | 杭州华三通信技术有限公司 | Method for realizing zero configuration of IRF (intelligent resilient framework) equipment and equipment |
CN102523110A (en) * | 2011-12-09 | 2012-06-27 | 杭州华三通信技术有限公司 | Method and device for realizing automatic configuration of equipment with zero configuration |
-
2017
- 2017-11-29 CN CN201711230073.XA patent/CN107733727B/en active Active
Patent Citations (6)
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 |
US20060126614A1 (en) * | 2004-12-09 | 2006-06-15 | International Business Machines Corporation | Automatic network configuration |
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 |
CN102447574A (en) * | 2011-08-18 | 2012-05-09 | 杭州华三通信技术有限公司 | Method for realizing zero configuration of IRF (intelligent resilient framework) equipment and 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)
Title |
---|
BASTIAN KÖNINGS 等: "《Device Names in the Wild: Investigating Privacy Risks of Zero Configuration Networking》", 《2013 IEEE 14TH INTERNATIONAL CONFERENCE ON MOBILE DATA MANAGEMENT》 * |
王岩 等: "《零配置网络协议的研究》", 《广东通信技术》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110213089A (en) * | 2019-05-17 | 2019-09-06 | 烽火通信科技股份有限公司 | A kind of method and system of extensive distal end equipment with zero configuration access network management |
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 |
US20220166745A1 (en) * | 2020-11-25 | 2022-05-26 | Huawei Technologies Co., Ltd. | Method Related to Sending Management IP Address and System |
US11552926B2 (en) * | 2020-11-25 | 2023-01-10 | Huawei Technologies Co., Ltd. | Method related to sending management IP address and system |
Also Published As
Publication number | Publication date |
---|---|
CN107733727B (en) | 2021-08-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9866408B2 (en) | Methods, systems, and computer readable media for configuring a flow interface on a network routing element | |
CN106464528B (en) | For the contactless method allocated, medium and the device in communication network | |
CN107809367B (en) | Device online method of SDN (software defined network), SDN controller and network device | |
CN103026660B (en) | Network policy configuration method, management equipment and network management centre device | |
CN109104318A (en) | The dispositions method and system of method for realizing cluster self-adaption deployment, the self-adaption deployment big data cluster based on cloud platform | |
CN109995641B (en) | Information processing method, computing node and storage medium | |
CN105337754B (en) | Data communication network opening method and system | |
CN104040964B (en) | Method, device and data center network across service area communication | |
CN107005471A (en) | Universal Subscriber premises equipment | |
CN104769886B (en) | Full device ability and parameter are added to separation architecture device | |
CN114553689A (en) | Connecting template | |
CN108540328B (en) | Control plane modeling method and device of ASON | |
CN106664216A (en) | Method and apparatus for switching vnf | |
CN107733795B (en) | Ethernet virtual private network EVPN and public network intercommunication method and device | |
CN112688814B (en) | Equipment access method, device, equipment and machine readable storage medium | |
CN104468219A (en) | Virtual networking network topology discovery method and device | |
CN110855509A (en) | Novel cloud SPTN network architecture | |
CN107733727A (en) | A kind of Zero configuration method, device and equipment | |
CN102377679A (en) | Method for realizing link discovery and management in FTTX access system | |
CN113938378B (en) | Method, equipment and medium for checking network equipment configuration in cloud network environment | |
CN108141384A (en) | The automatic arranging of LISP two mobility networks | |
CN108259224A (en) | The method and device of homogeneity configuration under SDN and traditional network coexistance model | |
CN112448831A (en) | Network management method and equipment | |
CN117118886A (en) | Message forwarding method, head-end equipment, controller, equipment and storage medium | |
CN112737805A (en) | Configuration method, related device and system |
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 |