Specific embodiment
Below in conjunction with accompanying drawing, the technical scheme in the embodiment of the present invention is described.
Fig. 1 is a kind of schematic diagram of the network architecture for being applicable the embodiment of the present application.As shown in figure 1, APP (application) is mainly
Complete the various upper level applications of user view, SDN (Software Define Network, software defined network) controls
Device is mainly responsible for service deployment, configuration, the management network equipment and monitoring network state etc. of network, due to determining network topology
It is the basis for carrying out network monitoring and path computing, therefore before network monitoring and path computing is carried out, SDN controllers need
First determine in SDN between interchanger and interchanger and server annexation, that is, to determine the network topology in SDN
Relation, server 101 can be communicated by interchanger 120 with server 102, server 101 can also by interchanger 120,
Interchanger 130 and interchanger 110 communicate with server 103 or server 104, and the above-mentioned network architecture is merely illustrative of, and are applicable
The network architecture not limited to this of the embodiment of the present application, for example, each server in Fig. 1 can also be PC or other
Electronic equipment, interchanger can also be router, and the quantity of interchanger and server is also not necessarily limited to the quantity shown in Fig. 1.
Fig. 2 is a kind of indicative flowchart of the method for transmitting message that the application is provided.As shown in Fig. 2 method 200 is wrapped
Include:
S201, convergence switch obtains the first message for meeting the first host-host protocol.
Convergence switch can obtain first message from core switch, it is also possible to which being obtained from other convergence switches should
First message, can also obtain first message from access switch.
S202, the convergence switch meets the second message of the second host-host protocol according to first message, generation.
After convergence switch obtains the first message, first message is processed, generation meets the second host-host protocol
Second message, can be carried out according to the detailed process that the first message generates the second message according to correlation technique of the prior art,
This is repeated no more.
S203, the convergence switch sends second message to target access switch, is connect in order to the target
Enter interchanger to the second message described in server transparent transmission, wherein, the target access switch does not support the second transmission association
View.
After convergence switch generates the second message, second message is sent to target access switch, target is accessed and exchanged
Machine is the access switch being connected with server, and target access switch is configured with transparent transmission order, when target access switch connects
After receiving second message, it is left intact, is at once connected second message with server from the target access switch
Port be transmitted to server.
In the embodiment of the present application, convergence switch to support the second host-host protocol, (assist by the related of such as overlay technologies
View) new equipment, with stronger disposal ability, target access switch is the used equipment for not supporting the second host-host protocol, place
Reason ability is weaker, and the first message is processed using the stronger convergence switch of disposal ability, is exchanged by being accessed in target
Machine configures transparent transmission order so that the second message directly reaches server without treatment, such that it is able to keep network higher
Used equipment is made full use of while performance, the cost of network design is reduced.
Alternatively, first host-host protocol is VLAN host-host protocols, and second host-host protocol is that VxLAN transmits association
View.
Alternatively, before the convergence switch sends second message to target access switch, methods described is also
Including:
S204, the convergence switch determines the topological relation of the convergence switch and the server.
S205, the convergence switch determines that the target is accessed according to the topological relation from multiple access switch
Interchanger.
In the embodiment of the present application, convergence switch can determine the topological relation according to the information of human configuration, also may be used
Determine the topological relation with according to the order of SDN controllers.The forwarding road of the second message can be determined according to the topological relation
Footpath, such that it is able to determine target access switch from multiple access switch.
Alternatively, the convergence switch determines the topological relation of the convergence switch and the server, including:
S206, the convergence switch receives the facility information of the server.
S207, the convergence switch determines the topological relation according to the facility information.
Convergence switch can also determine the topological relation according to the facility information of server.For example, server sends
LLDP (Link Layer Discovery Protocol, Link Layer Discovery Protocol) message, the LLDP messages carry server
Facility information, target access switch passes through convergence switch immediately after receiving the message, and convergence switch is according to reception
The topological relation with server is assured that after to the LLDP messages, so that without being that can determine that message by SDN controllers
Forward-path, reduce the information overhead in network.
Alternatively, the convergence switch is virtual switch.
In the embodiment of the present application, second switch can be that physical switches, or a physical switches are virtual
A virtual switch in many virtual switches changed, wherein, software and hardware isolation between the multiple virtual switch, mutually
Do not influence, each virtual switch is monopolized and distributes to the system resource of oneself, independent operating Network, such that it is able to reduce net
The cost of network deployment.
Fig. 3 is the indicative flowchart of the method for another transmitting message that the application is provided.As shown in figure 3, method 300
Including:
S301, convergence switch obtains the second message for meeting the second host-host protocol from access switch, and the access is handed over
Changing planes second host-host protocol of do not support.
The convergence switch can obtain second message from other convergence switches, can also be obtained from access switch
Take second message, wherein, access switch does not support the second host-host protocol, access switch for example from server obtain this
The convergence switch is passed through after two messages.
S302, the convergence switch meets the first message of the first host-host protocol according to second message, generation.
After convergence switch obtains the second message, second message is processed, generation meets the first host-host protocol
First message, can be carried out according to the detailed process that the second message generates the first message according to correlation technique of the prior art,
This is repeated no more.
S303, the convergence switch sends first message.
Convergence switch can send first message to core switch, it is also possible to which being sent to other convergence switches should
First message, can also send first message to other access switch.
In the embodiment of the present application, convergence switch to support the second host-host protocol, (assist by the related of such as overlay technologies
View) new equipment, with stronger disposal ability, access switch is the used equipment for not supporting the second host-host protocol, process energy
Power is weaker, and the first message is processed using the stronger convergence switch of disposal ability, configures saturating by access switch
Order is passed so that the second message directly reaches convergence switch without treatment, such that it is able to keep network performance higher
While make full use of used equipment, reduce the cost of network design.
Alternatively, first host-host protocol is VLAN host-host protocols, and second host-host protocol is that VxLAN transmits association
View.
Alternatively, the convergence switch is virtual switch.
In the embodiment of the present application, second switch can be that physical switches, or a physical switches are virtual
A virtual switch in many virtual switches changed, wherein, software and hardware isolation between the multiple virtual switch, mutually
Do not influence, each virtual switch is monopolized and distributes to the system resource of oneself, independent operating Network, such that it is able to reduce net
The cost of network deployment.
Above in association with Fig. 2 and Fig. 3, the method for describing the transmitting message according to the embodiment of the present application in detail, below, will tie
Fig. 4 and Fig. 5 is closed, the device of the transmitting message according to the embodiment of the present application is described in detail.
Fig. 4 shows the device 400 of the transmitting message according to the embodiment of the present application.As shown in figure 4, the device 400 includes:
Acquisition module 401, the first message of the first host-host protocol is met for obtaining;
Generation module 402, for first message obtained according to the acquisition module 401, generation meets the second biography
Second message of defeated agreement;
Sending module 403, for sending second report that the generation module 402 is generated to target access switch
Text, in order to the target access switch to the second message described in server transparent transmission, wherein, the target access switch is not
Support second host-host protocol.
In the embodiment of the present application, device 400 supports the second host-host protocol (such as related protocol of overlay technologies), tool
There is stronger disposal ability, target access switch is the used equipment for not supporting the second host-host protocol, and disposal ability is weaker, utilize
Stronger 400 pairs of the first messages of device of disposal ability are processed, and transparent transmission order is configured by target access switch so that
Second message directly reaches server without treatment, old such that it is able to be made full use of while network performance higher is kept
Equipment, reduces the cost of network design.
Alternatively, first host-host protocol is virtual LAN VLAN host-host protocol, and second host-host protocol is void
Intend expansible LAN VxLAN host-host protocols.
Alternatively, described device 400 also includes:
Determining module 404, the topological relation for determining the convergence switch and the server;And for basis
The topological relation determines the target access switch from multiple access switch.
In the embodiment of the present application, device 400 can determine the topological relation according to the information of human configuration, it is also possible to root
Determine the topological relation according to the order of SDN controllers.The forward-path of the second message can be determined according to the topological relation, from
And target access switch can be determined from multiple access switch.
Alternatively, the determining module 404 specifically for:The equipment for receiving the server by the acquisition module is believed
Breath;The topological relation is determined according to the facility information.
So as to without being the forward-path that can determine that message by SDN controllers, reduce the information overhead in network.
Alternatively, described device is virtual switch.Such that it is able to reduce the cost of network design.
Fig. 5 shows the device 500 of the transmitting message according to the embodiment of the present application.As shown in figure 5, the device 500 includes:
Acquisition module 510, the second message of the second host-host protocol is met for being obtained from access switch, and the access is handed over
Changing planes second host-host protocol of do not support;
Generation module 520, for second message obtained according to the acquisition module 510, generation meets the first biography
First message of defeated agreement;
Sending module 530, first message for sending the generation of the generation module 520.
In the embodiment of the present application, device 500 supports the second host-host protocol (such as related protocol of overlay technologies), tool
There is stronger disposal ability, access switch is the used equipment for not supporting the second host-host protocol, and disposal ability is weaker, using treatment
Stronger 400 pairs of the first messages of device of ability are processed, and configure transparent transmission order by access switch so that the second message
Device 500 is directly reached without treatment, such that it is able to make full use of used equipment while network performance higher is kept, is dropped
The low cost of network design.
Alternatively, first host-host protocol is virtual LAN VLAN host-host protocol, and second host-host protocol is void
Intend expansible LAN VxLAN host-host protocols.
Alternatively, described device is virtual switch.Such that it is able to reduce the cost of network design.
As shown in fig. 6, the embodiment of the present application additionally provides a kind of equipment 600 for transmitting message, the equipment 600 is wrapped
Include:Processor 610, memory 620 and network controller 630, wherein, the processor 610, the memory 620 and the network control
Communicated by internal connecting path between device processed 630, transmission is controlled and/or data-signal, the memory 620 is used to store
Instruction, the processor 610 is used to perform the instruction of the memory 620 storage, to control the network controller 630 to receive or send
Data.
The network controller 630 is used to obtain the first message for meeting the first host-host protocol;
The processor 610 is used for first message obtained according to the network controller 630, and generation meets the second transmission
Second message of agreement;
The network controller 630 is additionally operable to be sent to target access switch second report of the processor 610 generation
Text, in order to the target access switch to the second message described in server transparent transmission, wherein, the target access switch is not
Support second host-host protocol.
It should be understood that in the embodiment of the present application, the processor 610 can be CPU (Central
Processing Unit, CPU), the processor 610 can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit,
ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
Reason device can also be any conventional processor etc..
The memory 620 can include read-only storage and random access memory, and to processor 610 provide instruction and
Data.The a part of of memory 620 can also include nonvolatile RAM.For example, memory 620 can also be deposited
Store up the information of device type.
In implementation process, each step of the above method can be by the integrated logic circuit of the hardware in processor 610
Or the instruction of software form is completed.The step of method with reference to disclosed in the embodiment of the present application, can be embodied directly at hardware
Reason device performs completion, or performs completion with the hardware in processor and software module combination.Software module may be located at random
Memory, flash memory, read-only storage, the ability such as programmable read only memory or electrically erasable programmable memory, register
In the ripe storage medium in domain.The storage medium is located at memory 620, and processor 610 reads the information in memory 620, knot
The step of closing its hardware completion above method.To avoid repeating, it is not detailed herein.
Alternatively, first host-host protocol is VLAN host-host protocols, and second host-host protocol is that VxLAN transmits association
View.
Alternatively, the processor 610 is additionally operable to:Determine the topological relation of the convergence switch and the server;
The target access switch is determined from multiple access switch according to the topological relation.
Alternatively, the processor 610 specifically for:Setting for the server is received by the network controller 630
Standby information;The topological relation is determined according to the facility information.
Alternatively, the equipment 600 is virtual switch.
It should be understood that the equipment 600 of the transmitting message according to the embodiment of the present application may correspond to the remittance in the embodiment of the present application
Poly- interchanger and device 400, it is possible to corresponding to the corresponding main body in the method performed according to the embodiment of the present application, and set
Above and other operation and/or function of the modules in standby 600 respectively in order to realize the corresponding flow of the method in Fig. 2,
For sake of simplicity, will not be repeated here.
Therefore, in the embodiment of the present application, equipment 600 supports the second host-host protocol (related association of such as overlay technologies
View), with stronger disposal ability, target access switch is the used equipment for not supporting the second host-host protocol, disposal ability compared with
It is weak, processed using stronger 600 pairs of the first messages of equipment of disposal ability, ordered by configuring transparent transmission in target access switch
Order so that the second message directly reaches server without treatment, such that it is able to be filled while network performance higher is kept
Divide and utilize used equipment, reduce the cost of network design.
As shown in fig. 7, the embodiment of the present application additionally provides a kind of equipment 700 for transmitting message, the equipment 700 is wrapped
Include:Processor 710, memory 720 and network controller 730, wherein, the processor 710, the memory 720 and the network control
Communicated by internal connecting path between device processed 730, transmission is controlled and/or data-signal, the memory 720 is used to store
Instruction, the processor 710 is used to perform the instruction of the memory 720 storage, to control the network controller 730 to receive or send
Data.
The network controller 730 is used to be obtained from access switch the second message for meeting the second host-host protocol, described to connect
Enter interchanger and do not support second host-host protocol;
The processor 710 is used for second message obtained according to the network controller 730, and generation meets the first transmission
First message of agreement;
The network controller 730 is additionally operable to send first message of the processor 710 generation.
It should be understood that in the embodiment of the present application, the processor 710 can be CPU, the processor 710 can also be other
It is general processor, DSP, ASIC, FPGA or other PLDs, discrete gate or transistor logic, discrete
Nextport hardware component NextPort etc..General processor can be microprocessor or the processor can also be any conventional processor etc..
The memory 720 can include read-only storage and random access memory, and to processor 710 provide instruction and
Data.The a part of of memory 720 can also include nonvolatile RAM.For example, memory 720 can also be deposited
Store up the information of device type.
In implementation process, each step of the above method can be by the integrated logic circuit of the hardware in processor 710
Or the instruction of software form is completed.The step of method with reference to disclosed in the embodiment of the present application, can be embodied directly at hardware
Reason device performs completion, or performs completion with the hardware in processor and software module combination.Software module may be located at random
Memory, flash memory, read-only storage, the ability such as programmable read only memory or electrically erasable programmable memory, register
In the ripe storage medium in domain.The storage medium is located at memory 720, and processor 710 reads the information in memory 720, knot
The step of closing its hardware completion above method.To avoid repeating, it is not detailed herein.
Alternatively, first host-host protocol is VLAN host-host protocols, and second host-host protocol is that VxLAN transmits association
View.
Alternatively, the processor 710 is additionally operable to:Determine the topological relation of the convergence switch and the server;
The target access switch is determined from multiple access switch according to the topological relation.
Alternatively, the processor 710 specifically for:Setting for the server is received by the network controller 730
Standby information;The topological relation is determined according to the facility information.
Alternatively, the equipment 700 is virtual switch.
It should be understood that the equipment 700 of the transmitting message according to the embodiment of the present application may correspond to the remittance in the embodiment of the present application
Poly- interchanger and device 500, it is possible to corresponding to the corresponding main body in the method performed according to the embodiment of the present application, and set
Above and other operation and/or function of the modules in standby 700 respectively in order to realize the corresponding flow of the method in Fig. 3,
For sake of simplicity, will not be repeated here.
Therefore, in the embodiment of the present application, equipment 700 supports the second host-host protocol (related association of such as overlay technologies
View), with stronger disposal ability, access switch is the used equipment for not supporting the second host-host protocol, and disposal ability is weaker, profit
Processed with stronger 700 pairs of the second messages of equipment of disposal ability, transparent transmission order is configured by access switch so that the
Two messages directly reach convergence switch without treatment, such that it is able to be made full use of while network performance higher is kept
Used equipment, reduces the cost of network design.
In the embodiment of the present application, the size of the sequence number of each process is not meant to the priority of execution sequence, each process
Execution sequence should determine that the implementation process without tackling the embodiment of the present application constitutes any restriction with its function and internal logic.
In addition, the terms "and/or", a kind of only incidence relation for describing affiliated partner, expression there may be
Three kinds of relations, for example, A and/or B, can represent:Individualism A, while there is A and B, individualism B these three situations.Separately
Outward, character "/" herein, typicallys represent forward-backward correlation pair as if a kind of relation of "or".
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Unit and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel
Described function, but this realization can be realized it is not considered that exceeding using distinct methods to each specific application
The scope of the present invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, can be with
Realize by another way.For example, device embodiment described above is only schematical, for example, the unit
Divide, only a kind of division of logic function there can be other dividing mode when actually realizing, for example multiple units or component
Can combine or be desirably integrated into another system, or some features can be ignored, or do not perform.It is another, it is shown or
The coupling each other for discussing or direct-coupling or communication connection can be the indirect couplings of device or unit by some interfaces
Close or communicate to connect, can be electrical, mechanical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme
's.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If the function is to realize in the form of SFU software functional unit and as independent production marketing or when using, can be with
Storage is in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used to so that a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention.
And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all contain
Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.