The content of the invention
In order to overcome the deficiencies in the prior art, it is an object of the invention to provide a kind of Ethernet switch collocation method and
Using the interchanger of this method, this method and interchanger being capable of simple and quick building networks.
To solve the above problems, the technical solution adopted in the present invention is as follows:
A kind of Ethernet switch collocation method, comprises the following steps:
A, reception set instruction;
B, according to the network model chosen in network model storehouse, to each port attribute of Ethernet switch and between pass
System, the data exchange relation of Ethernet switch are provided;
C and configuration according to the allocation plan of the networking equipment chosen in device configuration storehouse to each port is configured,
Communicated so that each port can be attached with specified networking equipment by configuration requirement;
D, networking is set for according to network model and allocation plan;
Wherein, the network model storehouse at least includes a network model, and the network model is used to set Ethernet exchanging
The networking plan of machine;The device configuration storehouse record has the allocation plan of a variety of networking equipments.
It is preferred that, when being configured according to the network model chosen in network model storehouse to the purposes of each port, tool
Body is configured according to the networking definition in network model storehouse, networking attribute, networking and networking relation and networking security.
It is preferred that, when being configured according to networking attribute, link aggregation, suppression network wind with specific reference to networking attribute
Cruelly, port vlan and spanning tree management are configured.
It is preferred that, when being configured according to the allocation plan chosen in device configuration storehouse to the configuration of each port, tool
Body is managed according to the device definition, device port attribute, device relationships in device configuration storehouse and equipment safety management is configured.
It is preferred that, when being configured according to device port attribute, the port model with specific reference to device port attribute belongs to
Property, port ingress traffic, port egress flow, port mac address binding, port priority, port PoE output powers and port
PoE priority of powering is configured.
It is preferred that, there is safety certification step between step A and step B.
A kind of Ethernet switch configuration device, it is applied in Ethernet switch, including with lower module:
Receiving module, instruction is set for receiving;
Setup module, for being configured according to the network model chosen in network model storehouse to the purposes of each port,
Meanwhile, the configuration of each port is configured according to the allocation plan for the networking equipment chosen in device configuration storehouse, so that respectively
Port can be with specified networking equipment connection communication;
Wherein, the network model storehouse at least includes a network model, and the network model is used to set Ethernet exchanging
The networking plan of machine;The device configuration storehouse record has the allocation plan of a variety of networking equipments.
A kind of interchanger of single group pessimistic concurrency control, the interchanger includes the first power circuit and Ethernet exchanging processing electricity
Road;The Ethernet exchanging process circuit is connected with the first indicating circuit, first interface circuit, the first configuration memory and selection
Circuit;The first interface circuit is connected with first interface;First configuration memory is connected with selection circuit;The selection
The path that circuit is connected with Ethernet exchanging process circuit is provided with toggle switch;The Ethernet exchanging process circuit is used to hold
The above-mentioned Ethernet switch collocation method of row;The toggle switch is used to produce the setting instruction;The network model storehouse
Middle only one of which network model.
A kind of interchanger of many network models, the interchanger includes second source circuit and the integrated electricity of Ethernet exchanging
Road;The Ethernet exchanging integrated circuit is connected with the second configuration memory, data storage, program storage, second interface
Circuit and the second indicating circuit;The second interface circuit is connected with second interface;The Ethernet exchanging integrated circuit is used for
Perform above-mentioned Ethernet switch collocation method;At least two network models in the network model storehouse.
Compared with prior art, the beneficial effects of the present invention are:
Can simple and quick building network because the present invention network model storehouse and device configuration storehouse be by professional person's group
Build, user need to only select the equipment of the network model and situ configuration needed, just just can realize automatic network-building.This configuration side
Method and its interchanger solve the problem of user is unfamiliar with networking and device parameter, simplify the process of networking so that networking
Difficulty and the workload of management are substantially reduced.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and detailed description.
Ethernet switch collocation method of the present invention, comprises the following steps:
A, reception set instruction;
B, according to the network model chosen in network model storehouse, to each port attribute of Ethernet switch and between pass
System, the data exchange relation of Ethernet switch are provided;
C and configuration according to the allocation plan of the networking equipment chosen in device configuration storehouse to each port is configured,
Communicated so that each port can be attached with specified networking equipment by configuration requirement;
D, networking is set for according to network model and allocation plan;
Wherein, the network model storehouse at least includes a network model, and the network model is used to set Ethernet exchanging
The networking plan of machine;The device configuration storehouse record has the allocation plan of a variety of networking equipments.
Obviously, above-mentioned steps are the core concept of the present invention, hereafter will on this basis extend, describe in detail.
As shown in figure 1, network model storehouse and device configuration storehouse are to need equipment manufacturers and/or professional person's carry out group
Build, such benefit is to ensure that the accuracy in network model storehouse and device configuration storehouse and professional, while these network models
Storehouse and device configuration storehouse can also greatly reduce the time cost of early investment by checking;And due to network model storehouse and set
Standby repository has had professional person's establishment, so later stage situ configuration is simple wiring construction, only needs general scene
Workmen built just can, not only build process simple and fast, the time and cost for also causing user's input greatly reduces.
As shown in Fig. 2 setting up behind network model storehouse, a variety of settings can be carried out to network model storehouse, are specially:
1st, networking definition is set, and sets the information such as the title of networking, classification, code name, breviary diagram, beneficial to user management and
Using.Such as network model storehouse potentially includes two network models, and one of them is used to set up gate inhibition's network, and another is used to set up
Network is monitored, entitled gate inhibition's network that one of network model is set just can be now defined by networking, another
The entitled monitoring network of network model;
2nd, networking attribute is set, and networking attribute includes, port class how many to network model port, port and the pass of port
It is, sets relation to be configured to suppressing network storm, VLAN.Such as:The networking attribute of 24 mouthfuls of security protection Network Video Surveillance classes, can
Set and be beneficial to the networking attribute that security protection web camera coordinates configuration with data storage, the connection of second line of a couplet PoE low-speed ports is set
Video camera, high-speed port connection data storage, suppresses interchanger internal network storm, is connected video camera port with memory
Port is configured to independent VLAN;
3rd, networking and networking relation are set, and are mainly used in relation between setting multiple networkings and are set, are mainly used in setting group
The superior and the subordinate of net and networking, the setting of looped network that.It is that access network, some networkings are convergence net, part such as to define packet network
Networking is that looped network, subnetwork are core net.Solve the relation of networking and networking;
4th, networking security is set, and is mainly used in network environment being encrypted the processing such as protection, is accessed while limiting outside
The safety of equipment, to improve the security of network environment.
Wherein, above-mentioned networking attribute is set can specifically be segmented again, specifically as shown in figure 3, it includes:
1st, link aggregation is set, and is that two or more data channels are combined into a single channel, the channel with
The logical links of single more high bandwidth occurs;Link aggregation is generally used to connect the big equipment of one or more bandwidth demands,
Such as the server or server zone of connection backbone network;
2nd, suppress network storm to set, network storm is due to the design and connectivity problem of network topology, or other reasonses
Cause broadcast massive duplication, propagation data frame in the network segment, cause network performance to decline, or even network paralysis, so carrying out net
Network storm, which is set, just can prevent such case to greatest extent;
3rd, port vlan is set, and VLAN is that lan device is logically divided into the network segment one by one by one kind, so that real
The emerging data switching technology of existing virtual workgroup, this emerging technology is mainly used in interchanger and router, but main flow
Using or among interchanger, so carry out port vlan set i.e. networking equipment is matched with the corresponding network segment;
4th, spanning tree management is set, and is determined to form tree body when different networkings, is determined core network and branched network
Network, determines annular networking;Such as certain network model, if setting clearly generation tree-model, then if user is not
Looped network carefully is connected as, system is automatic to disconnect looped network port by automatically prompting user networking mistake, prevents networking from causing network wind
Cruelly, paralysis network;If network model is configured to looped network model, whether system will possess looped network function according to access device, such as
Fruit does not possess looped network function, and by automatically prompting user, if required according to network model, system will be automatically configured to looped network, letter
Networking is changed.
In addition, QoS configurations can also be carried out on the basis of the above, according to networking feature and device configuration feature to be selected, can
Configure interchanger qos parameter, optimization different port equipment and raising exchange efficiency., can be with such as in security protection video monitoring system
The priority of multi-media network bag is improved, the priority of other data is reduced, it is ensured that the video code flow of security protection video monitoring.
In order to increase the flexibility that this collocation method is used, network model storehouse can also be increased, be deleted and modification group
The operation of pessimistic concurrency control, so just may be such that user can be adjusted according to the need for itself to network model storehouse so that originally match somebody with somebody
The wide usage for putting method is higher.
As shown in figure 4, setting up behind device configuration storehouse, a variety of settings can be carried out to device configuration storehouse, are specially:
1st, device definition is set, i.e., being identified property of networking equipment is set, such as define title, the type of certain networking equipment
Number, manufacturer and parameter etc.;
2nd, device port attribute is set, i.e., each port is specifically set;
3rd, device relationships management is set, that is, which port for defining Ethernet switch is connected with which kind of networking equipment, with
And the annexation between variant networking equipment;
4th, equipment safety management is set, i.e., the processing such as protection is encrypted in the data transfer to networking equipment, to improve number
According to the security of transmission.
Wherein, above-mentioned device port attribute is set can specifically be segmented again, specifically as shown in figure 5, it includes:
1st, port model attribute is set, that is, is set using the type of port, in this way optical fiber port or power port etc.;
2nd, port ingress traffic is set, that is, sets maximum, minimum value or the interval range etc. of port ingress traffic;
3rd, port egress flow set, that is, set maximum, minimum value or interval range of port egress flow etc.;
4th, port mac address binding is set, that is, the MAC Address and access network device for setting each port are locked,
Prevent the network equipment of other non-settings from accessing, improve the network port and system safety;
5th, port priority is set, that is, is arranged on each port simultaneously in use, each Port Priority obtains the suitable of resource
Sequence;
6th, PoE output powers in port are set, i.e., the PoE output powers of each port are configured;
7th, port PoE power priority setting, that is, be arranged on each port simultaneously in use, each Port Priority obtain
The order that PoE powers.
Similarly, in order to increase the flexibility that this collocation method is used, also device configuration storehouse can be increased, deleted and repaiied
Reorganize the operation of pessimistic concurrency control, so just may be such that user can be adjusted according to the need for itself to device configuration storehouse so that
The wide usage of this collocation method is higher.
Certainly, although aforesaid operations can convenient use person networking process is manipulated, if by other unrelated persons
It is configured and would be possible to bring serious effect, so the present invention can also increase security authentication operation, safety certification passes through then
Step C, D is performed, it is on the contrary then do not perform.
It is comprehensive above it will be appreciated that, the implementation procedure of the present invention substantially is as shown in fig. 6, i.e.:
1st, activation system is configured
2nd, port class is configured, i.e. definition uses the type of port, power port, optical port or wireless etc., if without modification or repairing
Change completion, then carry out next step setting;
3rd, port allocation models classification, if being completed without modification or modification, carries out next step setting;
4th, port ingress traffic is set, if being completed without modification or modification, carries out next step setting;
5th, port egress flow set, if being completed without modification or modification, carries out next step setting;
6th, port mac address binding is set, if being completed without modification or modification, carries out next step setting;
7th, port priority is set, if being completed without modification or modification, carries out next step setting;
8th, PoE output powers in port are set, if being completed without modification or modification, carry out next step setting;
9th, port PoE power priority setting, if without modification or modification complete, carry out next step setting;
10th, link aggregation is set, if being completed without modification or modification, carries out next step setting;
11st, port configuration is completed, i.e., above-mentioned setting is preserved, used;
12nd, safety certification is set, if being completed without modification or modification, carries out next step setting;
13rd, port vlan is set, if being completed without modification or modification, carries out next step setting;
14th, suppress network storm to set, if being completed without modification or modification, carry out next step setting;
15th, port loop detection is set, if being completed without modification or modification, carries out next step setting;
16th, mode of operation, according to above-mentioned setting execution work.
When above-mentioned Ethernet switch collocation method is applied to interchanger, user just can be carried out using this interchanger
Networking, whole process is simple and convenient, will be hereafter described in detail with the embodiment one and embodiment two of interchanger.
Interchanger embodiment one:
The present embodiment is a kind of interchanger of single group pessimistic concurrency control, applies arrangement as described above method, and network model
Storehouse only includes a network model, specifically as shown in Figure 7 to 9, and it includes the first power circuit 11 and Ethernet exchanging processing
Circuit 21;The Ethernet exchanging process circuit 21 is connected with the first LED indicating circuit 31, first interface circuit 41, first matched somebody with somebody
Put memory 51 and selection circuit 61;The first interface circuit 41 is connected with first interface 71;First configuration memory
51 are connected with selection circuit 61;The selection circuit 61 is opened with the path that Ethernet exchanging process circuit 21 is connected provided with dial-up
81 are closed, the toggle switch 81 is used to control interchanger to be set for configuration by network model;Wherein, above-mentioned first interface 71
For RJ45 interfaces, its quantity is 5.
When toggle switch 81 is allocated to mode standard, interchanger of the invention is consistent with the working method of existing switch,
When toggle switch 81 is allocated to monitoring mode, interchanger will be set according to the network model in network model storehouse so that be handed over
The demand changed planes suitable for monitoring networking;Certainly, network model is not limited only to component monitor network, the network specifically set up by
Manufacturer is set as needed.
Interchanger embodiment two:
The present embodiment is a kind of interchanger of many network models, applies arrangement as described above method, and network model
Storehouse at least includes two network models, and specific as shown in Figure 10, it includes second source circuit 12 and the integrated electricity of Ethernet exchanging
Road 22;The Ethernet exchanging integrated circuit 22 is connected with the second configuration memory 52, data storage 62, program storage
82nd, the LED indicating circuit 32 of second interface circuit 42 and second;The second interface circuit 42 is connected with second interface 72;Wherein,
Above-mentioned second interface 72 includes 27 RJ45 interfaces and 2 SFP interfaces.
Because this interchanger there can be multiple network models, network model and gate inhibition's network model are such as monitored, so
When different user is using the present invention, it is only necessary to according to the demand of itself select suitable network model just can, the letter of networking process
It is single convenient.
Because the use process of interchanger embodiment one and embodiment two is unanimous on the whole, for purposes of illustration only, will using Figure 11 as
Example is explained, and its process is as follows:
1st, user type is selected, network model storehouse can be set if networking expert, device configuration library manager can
To be set to device configuration storehouse, system manager can be managed to system;
2nd, authentication is first carried out before being operated, next step setting is carried out if meeting, it is on the contrary then exit configuration;
3rd, after by authentication, then suitable network model is selected to carry out networking in network model storehouse;
If the 4, selecting common networking, directly start the operation such as situ configuration, wiring;
If the 5, have selected suitable network model, as long as selecting suitable allocation plan just can carry out in device configuration storehouse again
Situ configuration, wiring etc. are operated.
Above-mentioned embodiment is only the preferred embodiment of the present invention, it is impossible to limit the scope of protection of the invention with this,
The change and replacement for any unsubstantiality that those skilled in the art is done on the basis of the present invention belong to institute of the present invention
Claimed scope.