CN104518915B - Pile system network-building method and pile system - Google Patents
Pile system network-building method and pile system Download PDFInfo
- Publication number
- CN104518915B CN104518915B CN201410788506.3A CN201410788506A CN104518915B CN 104518915 B CN104518915 B CN 104518915B CN 201410788506 A CN201410788506 A CN 201410788506A CN 104518915 B CN104518915 B CN 104518915B
- Authority
- CN
- China
- Prior art keywords
- member device
- pile system
- information
- data channel
- usb port
- 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
Links
Landscapes
- Power Sources (AREA)
- Small-Scale Networks (AREA)
Abstract
The present invention provides a kind of pile system network-building method and pile system.Pile system network-building method provided by the invention includes the switching port of member device each in pile system is configured, to form the data channel of the pile system;The USB port of member device each described in the pile system is configured, to form the control channel of the pile system;Networking is carried out using the control channel to each member device described in the pile system with the data channel to connect, to carry out the management of the member device in the pile system.The present invention can realize the autonomous working of data channel and control channel in pile system.
Description
Technical field
The present invention relates to the communication technology more particularly to a kind of pile system network-building methods and pile system.
Background technology
Pile system is that multiple equipment is linked together by the port between equipment, to form a virtual unit.
There can be multiple member devices in pile system, one of member device is as main equipment, remaining member device conduct
Slave device.
In existing stacking networking plan, generally the forwarding port between member device is interconnected by cable, group
Superimposing thread road in heaps, so as to form big pile system.At this point, the control message and data message between member device are by turning
The physical channel that originator mouth is formed is forwarded.
However, when in existing pile system, because the control message and data message of member device are by forwarding port
It is forwarded, if the forwarding port of member device is broken down, the physical channel of forwarding control message is blocked so that heap
Can not be so as to cause to stack by forwarding port forwarding data packets and control message between each member device in folded system
System can not be managed.
Invention content
The present invention provides a kind of pile system network-building method and pile system, utilizes the USB of member device in pile system
Port forms independent control channel, the autonomous working of control channel and data channel is realized, pile system data to be overcome to lead to
When the forwarding port in road is broken down, the problem of pile system can not manage and carry out message forwarding.
In a first aspect, the present invention provides a kind of pile system network-building method, including:
The switching port of member device each in pile system is configured, to form the data channel of pile system;
The general-purpose serial bus USB port of member device each in pile system is configured, to form pile system
Control channel;
Networking is carried out using control channel to member device each in pile system with data channel to connect, in pile system
The interior management for carrying out member device.
With reference to first aspect, in the first embodiment, the switching port of member device each in pile system is carried out
Configuration, is specifically included with the data channel for forming pile system:
The data physical channels negotiation information of each member device is obtained, data physical channels negotiation information is set including each member
It is standby itself switching port information, with the switching port information of neighbours' member device of member device itself switching port interconnection and
The device identification of neighbours' member device;
The switching port of each member device is configured according to data physical channels negotiation information, to form pile system
Data channel.
With reference to first aspect with the first embodiment, in the second embodiment, member each in pile system is set
Standby USB port is configured, and is specifically included with the control channel for forming pile system:
The control physical link negotiation information of each member device is obtained, control physical link negotiation information is set including each member
Standby USB port information, the USB port information of the neighbours' member device interconnected with member device itself USB port and the neighbour of itself
Occupy the device identification of member device;
According to the equipment mark of control physical link negotiation information, data physical channels negotiation information and each member device itself
Know the topology information for forming pile system, and the USB port of each member device be configured according to topology information,
To form the control channel of pile system.
With reference to first aspect with first two embodiment, in the third embodiment, led to using control channel and data
After road carries out networking connection to member device each in pile system, further include:
If the topological structure of pile system changes, the member device that data channel disconnects in pile system passes through
Fresh information is passed to other member devices by USB port, and fresh information includes the topology knot of the pile system after changing
Structure information;
After other member devices receive fresh informations in pile system, the stacking after changing in fresh information is utilized
The topology information of system re-starts networking and carries out the management of each member device and message forwarding.
With reference to first aspect with the third embodiment, in the 4th kind of embodiment, the hair in fresh information is being utilized
The topology information of pile system after raw change re-starts networking and carries out the management of each member device and message forwarding
Later, it further includes:
If power failure occurs for the member device that the reason of topological structure changes, which is data channel, to be disconnected, stack and be
The USB port of member device disconnected by data channel of uniting is powered for the member device that data channel disconnects.
With reference to first aspect with the 4th kind of embodiment, in the 5th kind of embodiment, led in pile system by data
After the USB port for the member device that road disconnects is powered for the member device that data channel disconnects, further include:
If the electric power that the USB port of the member device disconnected by data channel provides is able to maintain that data channel disconnects
Member device normal operation, the member device that data channel disconnects rejoin in pile system or
The member device that data channel disconnects is run as carrying out the USB storage device of upgraded in offline.
Second aspect, the present invention provide a kind of pile system, including:
Configuration module is forwarded, is configured for the switching port to member device each in pile system, with described in formation
The data channel of pile system;
Configuration module is controlled, is configured for the general-purpose serial bus USB port to member device each in pile system,
To form the control channel of pile system;
Networking module, for carrying out networking company to member device each in pile system using control channel and data channel
It connects, to carry out the management of member device in pile system.
With reference to second aspect, in the first embodiment, forwarding configuration module is specifically used for:
The data physical channels negotiation information of each member device is obtained, data physical channels negotiation information is set including each member
It is standby itself switching port information, with the switching port information of neighbours' member device of member device itself switching port interconnection and
The device identification of neighbours' member device;
The switching port of each member device is configured according to data physical channels negotiation information, to form pile system
Data channel.
With reference to second aspect and the first embodiment, in the second embodiment, control configuration module is specifically used for:
The control physical link negotiation information of each member device is obtained, control physical link negotiation information is set including each member
Standby USB port information, the USB port information of the neighbours' member device interconnected with member device itself USB port and the neighbour of itself
Occupy the device identification of member device;
According to the equipment mark of control physical link negotiation information, data physical channels negotiation information and each member device itself
Know the topology information for forming pile system, and the USB port of each member device be configured according to topology information,
To form the control channel of pile system.
According to second aspect and first two embodiment, in the third embodiment, networking module is logical using control
After road connects member device progress networking each in pile system with data channel, it is additionally operable to:
If the topological structure of pile system changes, the member device that data channel disconnects in pile system passes through
Fresh information is passed to other member devices by USB port, and fresh information includes the topology knot of the pile system after changing
Structure information;
After other member devices receive fresh informations in pile system, the stacking after changing in fresh information is utilized
The topology information of system re-starts networking and carries out the management of each member device and message forwarding.
According to second aspect and the third embodiment, in the 4th kind of embodiment, networking module utilizes fresh information
In change after the topology information of pile system re-start networking and carry out management and the report of each member device
After text forwarding, it is additionally operable to:
If power failure occurs for the member device that the reason of topological structure changes, which is data channel, to be disconnected, stack and be
The USB port of member device disconnected by data channel of uniting is powered for the member device that data channel disconnects.
According to second aspect and the 4th kind of embodiment, in the 5th kind of embodiment, networking module leads in pile system
The USB port for crossing the member device of data channel disconnection is after the member device that data channel disconnects is powered, to be additionally operable to:
If the electric power that the USB port of the member device disconnected by data channel provides is able to maintain that data channel disconnects
Member device normal operation, the member device that data channel disconnects rejoin in pile system or
The member device that data channel disconnects is run as carrying out the USB storage device of upgraded in offline.
Pile system network-building method and pile system provided by the invention, to the exchange end of member device each in pile system
Mouth is configured, and to form the data channel of pile system, and the USB port of member device each in pile system is matched
It puts, to form the control channel of pile system, then using control channel and data channel to member device each in pile system
Networking connection is carried out, to carry out the management of member device in pile system.The USB of member device in pile system is utilized in this way
Port forms the independent control channel of pile system, it is achieved thereby that pile system data channel and control channel it is mutual solely
Vertical work.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair
Some bright embodiments, for those of ordinary skill in the art, without having to pay creative labor, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow diagram for the pile system network-building method that the embodiment of the present invention one provides;
Fig. 2 is the embodiment of the present invention with the schematic network structure of the pile system provided;
Fig. 3 is the flow that member device switching port each in pile system is configured that the embodiment of the present invention one provides
Schematic diagram;
Fig. 4 is the stream that the USB port to member device each in pile system that the embodiment of the present invention one provides is configured
Journey schematic diagram;
Fig. 5 is the flow diagram of pile system network-building method provided by Embodiment 2 of the present invention;
Fig. 6 is the schematic network structure for the pile system that topological structure provided by Embodiment 2 of the present invention changes;
Fig. 7 is the flow diagram for the pile system network-building method that the embodiment of the present invention three provides;
Fig. 8 is that network structure when power failure occurs for member device in the pile system that the embodiment of the present invention three provides is shown
It is intended to;
Fig. 9 is the structure diagram for the pile system that the embodiment of the present invention four provides;
Figure 10 is the structure diagram for the pile system that the embodiment of the present invention five provides.
Specific embodiment
Purpose, technical scheme and advantage to make the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention
In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
All other embodiments obtained without creative efforts shall fall within the protection scope of the present invention.
Fig. 1 is the flow diagram for the pile system network-building method that the embodiment of the present invention one provides.As shown in Figure 1, this reality
The pile system network-building method for applying example offer includes:
S101, the switching port of member device each in pile system is configured, is led to the data for forming pile system
Road.
In the networking for carrying out pile system, USB (Universal Serial Bus, universal serial bus) can be used
Cable connects the USB port of each member device, and to form USB line road, while either cable or optical fiber connect using cable is stacked
The switching port of member device is connect, to form forwarding circuit.Fig. 2 is the embodiment of the present invention with the network knot of the pile system provided
Structure schematic diagram.As shown in Fig. 2, when pile system carries out networking, member device A~D can utilize switching port to form repeated line
Road, and be attached with USB port, composition USB line road.
After completing the physical connection in pile system between each member device, each member device pair and other member device phases
Switching port even is configured, to form the data channel of pile system.
Specifically, Fig. 3 is matching to member device switching port each in pile system for the offer of the embodiment of the present invention one
The flow diagram put.As shown in figure 3, the switching port of member device each in pile system is configured, stacked with being formed
The data channel of system specifically may comprise steps of:
S201, the data physical channels negotiation information for obtaining each member device, wherein, data physical channels negotiation information packet
Include the switching port information of each member device itself, neighbours' member device for interconnecting with member device itself switching port exchanges
The device identification of port information and neighbours' member device.
Wherein, each member device can carry out data object with the neighbouring member device being directly connected to itself switching port
The exchange of link negotiation message is managed, to obtain the data physical channels negotiation information of each member device.Wherein, data physical channels
Negotiation information can include the switching port information of each member device itself, the neighbours with the interconnection of member device itself switching port
The information such as the switching port information of member device and the device identification of neighbours' member device.Specifically, the equipment mark of member device
Knowledge can be the constant marks such as medium access control (Media Access Control, abbreviation MAC) address of equipment.Member sets
Standby switching port information and the switching port information of neighbours' member device can include the letters such as the port-mark of switching port
Breath.
S202, the switching port of each member device is configured according to data physical channels negotiation information, to form heap
The data channel of folded system.
After the data physical channels negotiation information of each member device is obtained, pile system can be according to the Data Physical
The information such as the switching port information of member device and device identification in link negotiation information, to the switching port of each member device into
Row configuration is used for the data channel for carrying out data forwarding to be formed in pile system.
S102, the USB port of member device each in pile system is configured, is led to the control for forming pile system
Road.
Match specifically, Fig. 4 is the USB port to member device each in pile system that the embodiment of the present invention one provides
The flow diagram put.As shown in figure 4, the USB port of member device each in pile system is configured, system is stacked to be formed
The control channel of system specifically may comprise steps of:
S301, the control physical link negotiation information for obtaining each member device, control physical link negotiation information include each
The USB port information of member device itself, the USB port letter with neighbours' member device of member device itself USB port interconnection
The device identification of breath and neighbours' member device.
Wherein, each member device can be communicated by itself with the USB port that other member devices are connected, with and its
Its member device carry out control physical link negotiation packet exchange, specifically, physical link negotiation information include it is each into
The USB port information of member's equipment itself, the USB port information with neighbours' member device of member device itself USB port interconnection
And the contents such as device identification of neighbours' member device.Wherein, the device identification of member device can be the medium access control of equipment
Make the constant marks such as (Media Access Control, abbreviation MAC) address.The USB port information of member device and neighbours
The USB port information of member device can include the information such as the port-mark of USB port.
S302, setting according to control physical link negotiation information, data physical channels negotiation information and member device itself
Standby mark forms the topology information of pile system, and the USB port of each member device is carried out according to topology information
Configuration, to form the control channel of pile system.
The control physical link negotiation information of each member device is obtained with after data physical channels negotiation information, stacking system
System can be according to control physical link negotiation information, data physical channels negotiation information and each member device itself obtained
Device identification extracts the information such as the switching port information, USB port information and device identification of member device in pile system,
And judged according to these informixes, the topology information of the pile system is formed, which can be comprehensive
Ground reflects the topological relation and link information between each member device of the pile system, therefore can be believed according to topological structure
The USB port of each member device is configured in breath, is used to carry out control and the control of equipment management to be formed in pile system
Channel.
S103, member device progress networking each in pile system is connected with data channel using control channel, in heap
The management of member device is carried out in folded system.
After forming data channel and control channel in pile system, you can utilize the control channel and data of pile system
Channel carries out networking connection, and main equipment is selected from member device, to lead to according to data to member device each in pile system
The information of road and control channel carries out the management of entire pile system.Control channel and data channel are based respectively on two solely in this way
Vertical physical link is established, when the physical exchange port of pile system sends open circuit when failures, the control of pile system
Channel remains unaffected that pile system can still be carried out the transmission of control information by USB port, so as to maintain pile system
Management and connection.
In the present embodiment, the switching port of member device each in pile system is configured, to form pile system
Data channel, and the USB port of member device each in pile system is configured, to form the control channel of pile system,
Then networking is carried out to member device each in pile system using control channel and data channel to connect, in pile system into
The management of row member device.So the independent control of pile system is formed using the USB port of member device in pile system
Channel, it is achieved thereby that pile system data channel and control channel work independently from each other.
Fig. 5 is the flow diagram of pile system network-building method provided by Embodiment 2 of the present invention.The present embodiment is aforementioned
On the basis of embodiment one, the flow that networking is re-started when the topological structure of pile system changes is provided.Such as Fig. 5
Shown, pile system network-building method provided in this embodiment includes:
S401, the switching port of member device each in pile system is configured, is led to the data for forming pile system
Road.
Specifically, in the networking for carrying out pile system, USB cable can be used to connect the USB port of each member device,
To form USB line road, and the switching port of member device is connected simultaneously, to form forwarding circuit.
Specifically, the data physical channels negotiation information of each member device can be first obtained, wherein, data physical channels association
Quotient's information includes the switching port information of each member device itself, the neighbours member interconnected with member device itself switching port sets
The device identification of standby switching port information and neighbours' member device.Negotiate in the data physical channels for obtaining each member device
After information, pile system can be according to the switching port information of member device and equipment mark in the data physical channels negotiation information
The information such as knowledge, are configured the switching port of each member device, and the number for carrying out data forwarding is used for be formed in pile system
According to channel.
S402, the USB port of member device each in pile system is configured, is led to the control for forming pile system
Road.
Specifically, first obtaining the control physical link negotiation information of each member device, physical link negotiation information packet is controlled
Include the USB port information of each member device itself, the USB ends of the neighbours' member device interconnected with member device itself USB port
Message ceases and the device identification of neighbours' member device.Obtain the control physical link negotiation information of each member device and data object
Manage link negotiation information after, pile system can according to obtained control physical link negotiation information, data physical channels assist
The device identification of quotient's information and each member device itself forms the topology information of pile system, and according to topology information
The USB port of each member device is configured, to form the control channel of pile system.
S403, member device progress networking each in pile system is connected with data channel using control channel, in institute
State the management that the member device is carried out in pile system.
After forming data channel and control channel in pile system, you can utilize the control channel and data of pile system
Channel carries out networking connection, to realize the management of each member device in pile system to member device each in pile system.
If the topological structure of S404, pile system changes, the member device of data channel disconnection in pile system
Fresh information is sent to by other member devices by USB port, fresh information includes opening up for the pile system after changing
Flutter structural information.
After being connected using control channel with data channel to member device progress networking each in pile system, if as
There is member device to break down in pile system, then the topological structure of pile system is changed.Specifically, each member device
Can by the traffic statistics in the physical port state and switching port of the machine come monitor the machine for stacking turn
Whether break down on hair line road.When switching port physical state switch to disconnect from unicom or switching port give out a contract for a project flow and
When packet receiving flow is zero, you can illustrate that failure occurs in the forwarding circuit of the member device, the data channel of member device has been broken
It opens.
At this point, the member device that data channel disconnects in pile system is because USB port is still protected with other member devices
Hold connection, therefore the other member devices that fresh information can be sent to by USB port in pile system.Fresh information packet
The topology information of the pile system after changing is included, specifically, the topology information can include data channel
The equipment mark of the port-mark of the switching port of the member device of disconnection, the port status of switching port and the member device
Know etc..
Fig. 6 is the schematic network structure for the pile system that topological structure provided by Embodiment 2 of the present invention changes.
As shown in fig. 6, the member device C in pile system breaks down, the data channel between member device C and member device B is broken
It opens, for entire topology, when there is forwarding line failure at one, topology can be caused to be divided in forwarding plane,
The topological structure of pile system entire in this way becomes linear by annular.
After other member devices receive fresh informations in S405, pile system, using after changing in fresh information
The topology information of pile system re-start networking and carry out the management of each member device and forwarded with message.
Other member devices receive the fresh information transmitted by the member device that data channel has disconnected in pile system
Afterwards, if the member device is the slave device in pile system, the main equipment in pile system can be utilized in fresh information
The topology information of pile system after changing obtains updated data channel and control channel, to re-start group
Net, and the topological structure according to networking again carries out the management of each member device in pile system and is forwarded with message.
Specifically, still by taking network structure shown in fig. 5 as an example, the data channel between member device C and member device B
After disconnection, the topological structure of entire pile system becomes linear by annular, at this time but still complete in control plane topology,
Therefore main equipment still can control the member device C that forwarding plane has divided by USB line road, for using longitudinal mode
The equipment for carrying out flow forwarding, the member device C divided away at this time still can be with normal operation.
In the present embodiment, networking is carried out to member device each in pile system with data channel using control channel and is connected
Afterwards, when the topological structure of pile system changes, the member device that data channel disconnects in pile system passes through USB port
Fresh information is sent to other member devices, after other member devices receive fresh informations in pile system, utilizes update letter
The topology information of pile system after changing in breath re-starts networking and carries out the management of each member device.This
Sample forms the independent control channel of pile system using the USB port of member device in pile system, realizes when stacking system
When system data channel breaks down, control channel still is able to work.
Fig. 7 is the flow diagram for the pile system network-building method that the embodiment of the present invention three provides.It present embodiments provides
When specific method flow of member device when data channel disconnects caused by own power source failure in pile system.As shown in fig. 7,
Pile system network-building method provided in this embodiment includes:
S501, the switching port of member device each in pile system is configured, is led to the data for forming pile system
Road.
S502, the USB port of member device each in pile system is configured, is led to the control for forming pile system
Road.
S503, member device progress networking each in pile system is connected with data channel using control channel, in heap
The management of member device is carried out in folded system.
If the topological structure of S504, pile system changes, the member device of data channel disconnection in pile system
Fresh information is sent to by other member devices by USB port, fresh information includes opening up for the pile system after changing
Flutter structural information.
After other member devices receive fresh informations in S505, pile system, using after changing in fresh information
The topology information of pile system re-start networking and carry out the management of each member device and forwarded with message.
Abovementioned steps S501~S505 is described in detail in embodiment two, and details are not described herein again, in abovementioned steps S501
On the basis of~S505, the topology information of the pile system after using changing in fresh information re-starts group
Net, and the management of each member device is carried out with that after message forwarding, can also include:
If power failure occurs for the member device that the reason of S506, topological structure change, which is data channel, to be disconnected,
The USB port for the member device that pile system is disconnected by data channel is powered for the member device that data channel disconnects.
Fig. 8 is that network structure when power failure occurs for member device in the pile system that the embodiment of the present invention three provides is shown
It is intended to.As shown in figure 8, there is power failure in member device C, therefore between member device C and member device B, member device D
Switching port can not communicate, lead to the DB channel interrupt of member device C.At this point, pile system can be set by member
The USB port of standby C is powered for member device C.
If the electric power that the USB port of S507, the member device disconnected by data channel provides is able to maintain that data are led to
The member device normal operation that road disconnects, the member device that data channel disconnects rejoin in pile system or
The member device that data channel disconnects is run as carrying out the USB storage device of upgraded in offline.
Specifically, if the electric power provided by the USB port of member device C can maintain, member device C's is normal
Operation, you can after member device C normal operations, topological structure when normally being connected according to member device C will include the topology
The fresh information of structural information is sent to miscellaneous equipment in pile system, and the topological structure of entire pile system can restore at this time
State when normally being connected to member device C.If member device C is the slave device of pile system before power failure occurs,
Pile system can directly restore to member device C normally connect when state;If member device C was originally the master of pile system
Equipment, then pile system selects another member device as main equipment again, and member device as slave device is added in and is
In system.
If the member device C of data channel disconnection cannot maintained just by the electric power that the USB port of member device C provides
Often operation, then member device is not rejoined in the network topology of pile system, but is set as a USB offline storage
Standby, e.g. mobile hard disk etc. is upgraded using offline software upgrading function, to ensure to rejoin in member device C
When in pile system, compatibling problem will not occur due to itself software does not carry out online upgrading or synchronization.
It is that power supply event occurs for the member device that data channel disconnects when the reason of topological structure changes in the present embodiment
Barrier, the USB port for the member device that pile system is disconnected by data channel are supplied for the member device that data channel disconnects
Electricity, if pass through data channel disconnect member device USB port provide electric power be able to maintain that data channel disconnect into
Member's equipment normal operation, the member device that data channel disconnects rejoins in pile system or data channel disconnects into
Member's equipment is run as carrying out the USB storage device of upgraded in offline.The USB ends of member device in pile system are utilized in this way
Mouth forms the independent control channel of pile system, so as to cause pile system data due to own power source failure when member device
When channel disconnects, the member device to break down can be made to resume operation or carry out upgraded in offline using the power supply of USB port.
Fig. 9 is the structure diagram for the pile system that the embodiment of the present invention four provides.As shown in figure 9, the present embodiment provides
Pile system 91 include:
Configuration module 901 is forwarded, is configured for the switching port to member device each in pile system, to form heap
The data channel of folded system;
Configuration module 902 is controlled, is configured for the USB port to member device each in pile system, to form heap
The control channel of folded system;
Networking module 903, for carrying out networking to member device each in pile system using control channel and data channel
Connection, to carry out the management of member device in pile system.
Specifically, forwarding configuration module 901 can be used for:
The data physical channels negotiation information of each member device is obtained, data physical channels negotiation information is set including each member
It is standby itself switching port information, with the switching port information of neighbours' member device of member device itself switching port interconnection and
The device identification of neighbours' member device;
The switching port of each member device is configured according to data physical channels negotiation information, to form pile system
Data channel.
Specifically, control configuration module 902 can be used for:
The control physical link negotiation information of each member device is obtained, control physical link negotiation information is set including each member
Standby USB port information, the USB port information of the neighbours' member device interconnected with member device itself USB port and the neighbour of itself
Occupy the device identification of member device;
According to the equipment mark of control physical link negotiation information, data physical channels negotiation information and each member device itself
Know the topology information for forming pile system, and the USB port of each member device be configured according to topology information,
To form the control channel of pile system.
Specifically, networking module 903 carries out member device each in pile system using control channel and data channel
After networking connection, it is additionally operable to:
If the topological structure of pile system changes, the member device that data channel disconnects in pile system passes through
Fresh information is passed to other member devices by USB port, and fresh information includes the topology knot of the pile system after changing
Structure information;
After other member devices receive fresh informations in pile system, the stacking after changing in fresh information is utilized
The topology information of system re-starts networking and carries out the management of each member device and message forwarding.
Specifically, topology information of the networking module 903 using the pile system after changing in fresh information
It re-starts networking and carries out the management of each member device with after message forwarding, being additionally operable to:
If power failure occurs for the member device that the reason of topological structure changes, which is data channel, to be disconnected, stack and be
The USB port of member device disconnected by data channel of uniting is powered for the member device that data channel disconnects.
Specifically, networking module 903 is data in the USB port of member device that pile system is disconnected by data channel
After the member device that channel disconnects is powered, it is additionally operable to:
If the electric power that the USB port of the member device disconnected by data channel provides is able to maintain that data channel disconnects
Member device normal operation, the member device that data channel disconnects rejoin in pile system or
The member device that data channel disconnects is run as carrying out the USB storage device of upgraded in offline.
Pile system in the present embodiment can perform the method flow step in previous embodiment one to three, herein not
It repeats again.
In the present embodiment, the forwarding configuration module in pile system is used for the exchange end to member device each in pile system
Mouth is configured, to form the data channel of pile system;Configuration module is controlled to be used for member device each in pile system
USB port is configured, to form the control channel of pile system;Networking module is used to utilize control channel and data channel pair
Each member device carries out networking connection in pile system.It is formed and stacked using the USB port of member device in pile system in this way
The independent control channel of system, it is achieved thereby that pile system data channel and control channel work independently from each other.
Figure 10 is the structure diagram for the pile system that the embodiment of the present invention five provides.As shown in Figure 10, the present embodiment carries
The pile system of confession has multiple member devices, has the switching port and use that can be used for carrying out data connection on member device
It is connected between the USB port for carrying out control connection, the switching port of member device by cable, with composition data repeated line
Road is connected between the USB port of member device by USB connecting lines, with composition control circuit.Pile system 10 can specifically wrap
It includes:
Memory 1001, for storing instruction;Specifically, the storage object of memory 1001 includes software program and mould
Block.
Processor 1002 for the instruction stored in run memory 1001, is provided with to perform embodiment one to three
Pile system network-building method.
Specifically, processor 1002 is used to that the switching port of member device each in pile system to be configured, to be formed
The data channel of pile system;
Processor 1002 is additionally operable to that the USB port of member device each in pile system is configured, and system is stacked to be formed
The control channel of system;
Processor 1002 is additionally operable to carry out networking to member device each in pile system using control channel and data channel
Connection, to carry out the management of member device in pile system.
Specifically, processor 1002 can be used for:
The data physical channels negotiation information of each member device is obtained, data physical channels negotiation information is set including each member
It is standby itself switching port information, with the switching port information of neighbours' member device of member device itself switching port interconnection and
The device identification of neighbours' member device;
The switching port of each member device is configured according to data physical channels negotiation information, to form pile system
Data channel.
Specifically, processor 1002 can be used for:
The control physical link negotiation information of each member device is obtained, control physical link negotiation information is set including each member
Standby USB port information, the USB port information of the neighbours' member device interconnected with member device itself USB port and the neighbour of itself
Occupy the device identification of member device;
According to the equipment mark of control physical link negotiation information, data physical channels negotiation information and each member device itself
Know the topology information for forming pile system, and the USB port of each member device be configured according to topology information,
To form the control channel of pile system.
Specifically, processor 1002 is carrying out group using control channel and data channel to member device each in pile system
After net connection, it is additionally operable to:
If the topological structure of pile system changes, the member device that data channel disconnects in pile system passes through
Fresh information is passed to other member devices by USB port, and fresh information includes the topology knot of the pile system after changing
Structure information;
After other member devices receive fresh informations in pile system, the stacking after changing in fresh information is utilized
The topology information of system re-starts networking and carries out the management of each member device and message forwarding.
Specifically, topology information weight of the processor 1002 using the pile system after changing in fresh information
The new management for carrying out networking and carrying out each member device is with after message forwarding, being additionally operable to:
If power failure occurs for the member device that the reason of topological structure changes, which is data channel, to be disconnected, stack and be
The USB port of member device disconnected by data channel of uniting is powered for the member device that data channel disconnects.
Specifically, processor 1002 is data in the USB port of member device that pile system is disconnected by data channel
After the member device that channel disconnects is powered, it is additionally operable to:
If the electric power that the USB port of the member device disconnected by data channel provides is able to maintain that data channel disconnects
Member device normal operation, the member device that data channel disconnects rejoin in pile system or
The member device that data channel disconnects is run as carrying out the USB storage device of upgraded in offline.
Pile system in the present embodiment can perform the method flow step in previous embodiment one to three, herein not
It repeats again.
In the pile system that the present embodiment is provided, for storing instruction, processor 1002 is used to perform memory 1001
Instruction in memory, to realize the pile system network-building method provided in embodiment one to three.In this way using in pile system
The USB port of member device forms the independent control channel of pile system, it is achieved thereby that pile system data channel and control
Channel processed works independently from each other.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to
The relevant hardware of program instruction is crossed to complete.Aforementioned program can be stored in a computer read/write memory medium.The journey
Sequence when being executed, performs the step of including above-mentioned each method embodiment;And aforementioned storage medium includes:ROM, RAM, magnetic disc or
The various media that can store program code such as person's CD.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe is described in detail the present invention with reference to foregoing embodiments, it will be understood by those of ordinary skill in the art that:Its according to
Can so modify to the technical solution recorded in foregoing embodiments either to which part or all technical features into
Row equivalent replacement;And these modifications or replacement, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (10)
1. a kind of pile system network-building method, which is characterized in that including:
The switching port of member device each in pile system is configured, to form the data channel of the pile system;
The general-purpose serial bus USB port of member device each described in the pile system is configured, to form the heap
The control channel of folded system;
Networking is carried out using the control channel to each member device described in the pile system with the data channel to connect,
To carry out the management of the member device in the pile system;
If the topological structure of the pile system changes, the member device that data channel disconnects in the pile system leads to
It crosses USB port and fresh information is passed into other member devices, the fresh information includes the stacking system after changing
The topology information of system;
After other member devices receive the fresh information in the pile system, the generation in the fresh information is utilized
The topology information of the pile system after change re-starts networking and carries out management and the report of each member device
Text forwarding.
2. pile system network-building method according to claim 1, which is characterized in that described to be set to member each in pile system
Standby switching port is configured, and is specifically included with the data channel for forming the pile system:
Obtain the data physical channels negotiation information of each member device, the data physical channels negotiation information include it is each it is described into
The switching port information of member's equipment itself, the exchange end with neighbours' member device of the member device itself switching port interconnection
Message ceases and the device identification of neighbours' member device;
The switching port of each member device is configured according to the data physical channels negotiation information, to form the stacking
The data channel of system.
3. pile system network-building method according to claim 2, which is characterized in that described to be set to member each in pile system
Standby USB port is configured, and is specifically included with the control channel for forming pile system:
Obtain the control physical link negotiation information of each member device, the control physical link negotiation information include it is each it is described into
The USB port information of member's equipment itself, the USB port with neighbours' member device of the member device itself USB port interconnection
The device identification of information and neighbours' member device;
According to the control physical link negotiation information, the data physical channels negotiation information and each member device itself
Device identification form the topology information of the pile system, and according to the topology information to each member device
USB port is configured, to form the control channel of pile system.
4. pile system network-building method according to claim 1, which is characterized in that in the utilization fresh information
It is described change after the topology information of the pile system re-start networking and carry out each member device
The forwarding of management and message after, further include:
If power failure, institute occur for the member device that the reason of topological structure changes, which is the data channel, to be disconnected
State the member device that pile system is disconnected by the USB port of member device that the data channel disconnects for the data channel
It is powered.
5. pile system network-building method according to claim 4, which is characterized in that pass through the number in the pile system
After the USB port of the member device disconnected according to channel is powered for the member device that the data channel disconnects, further include:
If the electric power that the USB port of the member device disconnected by the data channel provides is able to maintain that described
The member device normal operation that data channel disconnects, the member device that the data channel disconnects rejoin the pile system
In or
The member device that the data channel disconnects is run as carrying out the USB storage device of upgraded in offline.
6. a kind of pile system, which is characterized in that including:
Configuration module is forwarded, is configured for the switching port to member device each in pile system, to form the stacking
The data channel of system;
Configuration module is controlled, for being carried out to the general-purpose serial bus USB port of member device each described in the pile system
Configuration, to form the control channel of the pile system;
Networking module, for utilizing the control channel and the data channel to each member device described in the pile system
Networking connection is carried out, to carry out the management of the member device in the pile system;
The networking module it is described using the control channel and the data channel in the pile system it is described respectively into
After member's equipment carries out networking connection, it is additionally operable to:
If the topological structure of the pile system changes, the member device that data channel disconnects in the pile system leads to
It crosses USB port and fresh information is passed into other member devices, the fresh information includes the stacking system after changing
The topology information of system;
After other member devices receive the fresh information in the pile system, the generation in the fresh information is utilized
The topology information of the pile system after change re-starts networking and carries out management and the report of each member device
Text forwarding.
7. pile system according to claim 6, which is characterized in that the forwarding configuration module is specifically used for:
Obtain the data physical channels negotiation information of each member device, the data physical channels negotiation information include it is each it is described into
The switching port information of member's equipment itself, the exchange end with neighbours' member device of the member device itself switching port interconnection
Message ceases and the device identification of neighbours' member device;
The switching port of each member device is configured according to the data physical channels negotiation information, to form the stacking
The data channel of system.
8. pile system according to claim 7, which is characterized in that the control configuration module is specifically used for:
Obtain the control physical link negotiation information of each member device, the control physical link negotiation information include it is each it is described into
The USB port information of member's equipment itself, the USB port with neighbours' member device of the member device itself USB port interconnection
The device identification of information and neighbours' member device;
According to the control physical link negotiation information, the data physical channels negotiation information and each member device itself
Device identification form the topology information of the pile system, and according to the topology information to each member device
USB port is configured, to form the control channel of pile system.
9. pile system according to claim 6, which is characterized in that the networking module is utilized in the fresh information
It is described change after the topology information of the pile system re-start networking and carry out each member device
Management is with after message forwarding, being additionally operable to:
If power failure, institute occur for the member device that the reason of topological structure changes, which is the data channel, to be disconnected
State the member device that pile system is disconnected by the USB port of member device that the data channel disconnects for the data channel
It is powered.
10. pile system according to claim 9, which is characterized in that the networking module passes through in the pile system
After the USB port for the member device that the data channel disconnects is powered for the member device that the data channel disconnects,
It is additionally operable to:
If the electric power that the USB port of the member device disconnected by the data channel provides is able to maintain that described
The member device normal operation that data channel disconnects, the member device that the data channel disconnects rejoin the pile system
In or
The member device that the data channel disconnects is run as carrying out the USB storage device of upgraded in offline.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410788506.3A CN104518915B (en) | 2014-12-17 | 2014-12-17 | Pile system network-building method and pile system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410788506.3A CN104518915B (en) | 2014-12-17 | 2014-12-17 | Pile system network-building method and pile system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104518915A CN104518915A (en) | 2015-04-15 |
CN104518915B true CN104518915B (en) | 2018-07-06 |
Family
ID=52793683
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410788506.3A Active CN104518915B (en) | 2014-12-17 | 2014-12-17 | Pile system network-building method and pile system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104518915B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106533789B (en) * | 2016-12-09 | 2019-07-23 | 锐捷网络股份有限公司 | Two-shipper exchange system and two-shipper exchange method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101102334A (en) * | 2007-08-03 | 2008-01-09 | 中兴通讯股份有限公司 | Method and device for establishing information transmission between terminal device and mobile terminal |
CN103354504A (en) * | 2013-06-25 | 2013-10-16 | 杭州华三通信技术有限公司 | Method and apparatus for managing virtual network equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2358027A1 (en) * | 2001-09-27 | 2003-03-27 | Alcatel Canada Inc. | Method and system for automatically numbering shelves in a multi-shelf network element |
-
2014
- 2014-12-17 CN CN201410788506.3A patent/CN104518915B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101102334A (en) * | 2007-08-03 | 2008-01-09 | 中兴通讯股份有限公司 | Method and device for establishing information transmission between terminal device and mobile terminal |
CN103354504A (en) * | 2013-06-25 | 2013-10-16 | 杭州华三通信技术有限公司 | Method and apparatus for managing virtual network equipment |
Also Published As
Publication number | Publication date |
---|---|
CN104518915A (en) | 2015-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104980372B (en) | Relay system and exchange apparatus | |
CN103200122B (en) | A kind of software defined network is organized the processing method of table, system and controller | |
CN101667970B (en) | Protection switching method and equipment thereof | |
CN104113482B (en) | The methods, devices and systems of flow table renewal | |
CN104270309B (en) | A kind of method that multi-hop BFD is realized under IP RAN equipment | |
CN103607308A (en) | Virtual machine multi-network management system and method in cloud computing environment | |
CN104426773A (en) | Network relay system and switching device | |
CN104253736A (en) | PE (provider edge) equipment and method for notifying same of information | |
CN112822085B (en) | Network deployment method and system | |
CN104601470A (en) | Flow table processing method and device | |
CN105871674A (en) | Ring protection link fault protection method, device and system | |
CN103002065A (en) | Method and device for sharing internet protocol (IP) address by host device and standby device | |
CN102884762B (en) | Network path control method, equipment and system | |
CN106452862A (en) | Method and device for determining loop network | |
CN105991435A (en) | Method and apparatus of acquiring port path | |
CN105763462B (en) | A kind of method and interchanger handling stacking splitting | |
CN104683130B (en) | A kind of method and apparatus of configuring stacking port | |
CN104518915B (en) | Pile system network-building method and pile system | |
CN103812769B (en) | TRILL network construction method, node and system | |
CN105991315A (en) | Link protection method applied to SDN (software defined network), switching device and network controller | |
CN109302328A (en) | A kind of VXLAN network hot backup switching method and system | |
CN110011912A (en) | Case type switching equipment uplink switching method and device | |
CN104579809B (en) | The detection method and equipment of a kind of stacking splitting | |
CN109445975A (en) | Abnormality eliminating method, logic device and member device | |
KR100889753B1 (en) | Method of protection switching for link aggregation group and Apparatus thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor Patentee after: RUIJIE NETWORKS Co.,Ltd. Address before: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor Patentee before: Beijing Star-Net Ruijie Networks Co.,Ltd. |
|
CP01 | Change in the name or title of a patent holder |