CN107342956A - A kind of method and device for realizing broadcast processing - Google Patents
A kind of method and device for realizing broadcast processing Download PDFInfo
- Publication number
- CN107342956A CN107342956A CN201710574002.5A CN201710574002A CN107342956A CN 107342956 A CN107342956 A CN 107342956A CN 201710574002 A CN201710574002 A CN 201710574002A CN 107342956 A CN107342956 A CN 107342956A
- Authority
- CN
- China
- Prior art keywords
- broadcasting packet
- virtual machine
- response message
- response
- message
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/10—Mapping addresses of different types
- H04L61/103—Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/20—Support for services
- H04L49/201—Multicast operation; Broadcast operation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/70—Virtual switches
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
- H04L61/5014—Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5069—Address allocation for group communication, multicast communication or broadcast communication
Abstract
A kind of method and device for realizing broadcast processing, including:Virtual switch receives the broadcasting packet for carrying out self virtualizing machine;Virtual switch is according to the broadcasting packet received, the response message prestored to virtual machine response.The embodiment of the present invention reduces influence of the broadcasting packet to network performance by the response message prestored, reduces consumption of the broadcasting packet to network bandwidth.
Description
Technical field
Present document relates to but be not limited to virtualization technology, it is espespecially a kind of realize broadcast processing method and device.
Background technology
With technologies such as cloud computing, software defined network (SDN, Software Defined Network), virtualizations
Continue to develop, the scale of cloud computing production environment deployment is also constantly increasing.The a wide range of of broadcasting packet floods as net is caused
An important factor for network hydraulic performance decline.
In network communications, comprising miscellaneous broadcasting packet, address resolution protocol (ARP, Address be common are
Resolution Protocol) request message and DHCP (DHCP, Dynamic Host
Configuration Protocol) request message etc..Typically under data center environment, often have and suppress ARP broadcast reports
The deployment requirements of text so that ARP broadcasting packets enough obtain safety, quick, stable network service when data center transmits.
To strengthen network stabilization, suppress a kind of demand that broadcasting packet turns into inevitable in large-scale data center;Wherein, open
Release that (OpenFlow, OpenFlow network are by OpenFlow interchangers (OpenFlowswitch), network virtualization layer
(FlowVisor) formed with controller (Controller) three parts;Wherein, OpenFlow interchangers carry out turning for data Layer
Hair;FlowVisor virtualizes to network;Controller carries out centralized Control to network, realizes the function of key-course;
Originally the message repeating process controlled completely by switch/router is converted into and exchanged by OpenFlow by OpenFlow interchangers
Machine is completed jointly with control server (Controller), it is achieved thereby that the separation of data forwarding and route test.Control
Device can control the flow table in OpenFlow interchangers by the interface operation provided in advance, turn so as to reach control data
The purpose of hair) network be carry out message broadcasting a major networks, how to avoid the influence network performance of broadcasting packet turns into
One needs to solve the problems, such as.
The content of the invention
It is the general introduction of the theme to being described in detail herein below.It is to limit the protection model of claim that this general introduction, which is not,
Enclose.
The embodiment of the present invention provides a kind of method and device for realizing broadcast processing, can reduce broadcasting packet to internetworking
The influence of energy, reduce consumption of the broadcasting packet to network bandwidth.
The embodiments of the invention provide a kind of method for realizing broadcast processing, including:
Virtual switch receives the broadcasting packet for carrying out self virtualizing machine;
Virtual switch is according to the broadcasting packet received, the response message prestored to virtual machine response.
Optionally, the broadcasting packet includes:
The ARP request that the virtual machine is sent when starting;
The virtual machine sends the ARP request sent during message first;
The virtual machine obtains the dynamic host configuration protocol DHCP request sent during IP address automatically.
Optionally, the response message prestored includes:
The response report comprising response message that the virtual machine passes through message transmissions port transmission to the virtual switch
Literary flow table.
Optionally, the virtual machine is directly connected to the virtual switch.
Optionally, when the broadcasting packet is ARP request, the response message is arp reply message;
When the broadcasting packet is DHCP request, the response message is DHCP response messages.
On the other hand, the embodiment of the present invention also provides a kind of device for realizing broadcast processing, including:Receiving unit and response
Unit;Wherein,
Receiving unit is used for:Receive the broadcasting packet for carrying out self virtualizing machine;
Response unit is used for:According to the broadcasting packet received, the response message prestored to virtual machine response.
Optionally, the broadcasting packet includes:
The ARP request that the virtual machine is sent when starting;
The virtual machine sends the ARP request sent during message first;
The virtual machine obtains the dynamic host configuration protocol DHCP request sent during IP address automatically.
Optionally, the response message prestored includes:
The response report comprising response message that the virtual machine passes through message transmissions port transmission to the virtual switch
Literary flow table.
Optionally, the virtual machine is directly connected to virtual switch.
Optionally, when the broadcasting packet is ARP request, the response message is arp reply message;
When the broadcasting packet is DHCP request, the response message is DHCP response messages.
Compared with correlation technique, technical scheme includes:Virtual switch receives the broadcasting packet for carrying out self virtualizing machine;
Virtual switch is according to the broadcasting packet received, the response message prestored to virtual machine response.The embodiment of the present invention is led to
Crossing the response message prestored reduces influence of the broadcasting packet to network performance, reduces broadcasting packet to network bandwidth
Consumption.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by specification, rights
Specifically noted structure is realized and obtained in claim and accompanying drawing.
Brief description of the drawings
Accompanying drawing is used for providing further understanding technical solution of the present invention, and a part for constitution instruction, with this
The embodiment of application is used to explain technical scheme together, does not form the limitation to technical solution of the present invention.
Fig. 1 is the flow chart for the method that the embodiment of the present invention realizes broadcast processing;
Fig. 2 is the structured flowchart for the device that the embodiment of the present invention realizes broadcast processing;
Fig. 3 positions schematic network structure of the embodiment of the present invention.
Embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with accompanying drawing to the present invention
Embodiment be described in detail.It should be noted that in the case where not conflicting, in the embodiment and embodiment in the application
Feature can mutually be combined.
Can be in the computer system of such as one group computer executable instructions the flow of accompanying drawing illustrates the step of
Perform.Also, although logical order is shown in flow charts, in some cases, can be with suitable different from herein
Sequence performs shown or described step.
Fig. 1 is the flow chart for the method that the embodiment of the present invention realizes broadcast processing, as shown in figure 1, including:
Step 100, virtual switch receive the broadcasting packet for carrying out self virtualizing machine;
Optionally, broadcasting packet includes:
Address resolution protocol (ARP) request that virtual machine is sent when starting;
Virtual machine sends the ARP request sent during message first;
Virtual machine obtains DHCP (DHCP) request sent during IP address automatically.
Optionally, virtual machine of the embodiment of the present invention is directly connected to virtual switch.
Here connection can include network connection.
Step 101, virtual switch are according to the broadcasting packet received, the response report prestored to virtual machine response
Text.
Optionally, the response message prestored includes:
The response message stream comprising response message that virtual machine passes through message transmissions port transmission to the virtual switch
Table.
It should be noted that response message and response message flow table are referred to what virtual switch in correlation technique generated
It is configured using the format and content of message.
Optionally, when broadcasting packet is ARP request, the response message is arp reply message;
When broadcasting packet is DHCP request, the response message is DHCP response messages.
Compared with correlation technique, technical scheme includes:Virtual switch receives the broadcasting packet for carrying out self virtualizing machine;
Virtual switch is according to the broadcasting packet received, the response message prestored to virtual machine response.The embodiment of the present invention is led to
Crossing the response message prestored reduces influence of the broadcasting packet to network performance, reduces broadcasting packet to network bandwidth
Consumption.
Fig. 2 is the structured flowchart for the device that the embodiment of the present invention realizes broadcast processing, as shown in Fig. 2 including:Receiving unit
And response unit;Wherein,
Receiving unit is used for:Receive the broadcasting packet for carrying out self virtualizing machine;
Optionally, the broadcasting packet includes:
The ARP request that the virtual machine is sent when starting;
The virtual machine sends the ARP request sent during message first;
The virtual machine obtains the dynamic host configuration protocol DHCP request sent during IP address automatically.
Response unit is used for:According to the broadcasting packet received, the response message prestored to virtual machine response.
Optionally, the response message prestored includes:
The response report comprising response message that the virtual machine passes through message transmissions port transmission to the virtual switch
Literary flow table.
Optionally, when the broadcasting packet is ARP request, the response message is arp reply message;
When the broadcasting packet is DHCP request, the response message is DHCP response messages.
Optionally, virtual machine of the embodiment of the present invention is directly connected to virtual switch.
Device of the embodiment of the present invention can be arranged at virtual switch, or physical connection be present with virtual switch.
Fig. 3 positions schematic network structure of the embodiment of the present invention, as shown in figure 3, virtual machine 1 and virtual switch 1 connect, it is empty
Plan machine 2 and virtual switch 2 connect, and when virtual machine 1 sends broadcasting packet 1, virtual switch 1 is from the response message prestored
After corresponding response message 1 is determined in flow table 1, send determination answers message 1 to arrive virtual machine 1;Virtual machine 2 sends broadcasting packet
When 2, after virtual switch 2 determines corresponding response message 2 from the response message flow table 2 prestored, answering for determination is sent
Answer message 2 and arrive virtual machine 2.
The embodiment of the present invention also provides a kind of computer-readable storage medium, and computer is stored with computer-readable storage medium to be held
Row instruction, computer executable instructions are used for the method for performing above-mentioned realization broadcast processing.
One of ordinary skill in the art will appreciate that all or part of step in the above method can be instructed by program
Related hardware (such as processor) is completed, and described program can be stored in computer-readable recording medium, as read-only storage,
Disk or CD etc..Alternatively, all or part of step of above-described embodiment can also be come using one or more integrated circuits
Realize.Correspondingly, each module/unit in above-described embodiment can be realized in the form of hardware, such as pass through integrated electricity
Its corresponding function is realized on road, can also be realized in the form of software function module, such as be stored in by computing device
Program/instruction in memory realizes its corresponding function.The present invention is not restricted to the hardware and software of any particular form
With reference to.
Although disclosed herein embodiment as above, described content be only readily appreciate the present invention and use
Embodiment, it is not limited to the present invention.Technical staff in any art of the present invention, taken off not departing from the present invention
On the premise of the spirit and scope of dew, any modification and change, but the present invention can be carried out in the form and details of implementation
Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.
Claims (10)
- A kind of 1. method for realizing broadcast processing, it is characterised in that including:Virtual switch receives the broadcasting packet for carrying out self virtualizing machine;Virtual switch is according to the broadcasting packet received, the response message prestored to virtual machine response.
- 2. according to the method for claim 1, it is characterised in that the broadcasting packet includes:The ARP request that the virtual machine is sent when starting;The virtual machine sends the ARP request sent during message first;The virtual machine obtains the dynamic host configuration protocol DHCP request sent during IP address automatically.
- 3. according to the method for claim 1, it is characterised in that the response message prestored includes:The response message stream comprising response message that the virtual machine passes through message transmissions port transmission to the virtual switch Table.
- 4. according to the method described in any one of claims 1 to 3, it is characterised in that the virtual machine and the virtual switch It is directly connected to.
- 5. according to the method described in any one of claims 1 to 3, it is characterised in thatWhen the broadcasting packet is ARP request, the response message is arp reply message;When the broadcasting packet is DHCP request, the response message is DHCP response messages.
- A kind of 6. device for realizing broadcast processing, it is characterised in that including:Receiving unit and response unit;Wherein,Receiving unit is used for:Receive the broadcasting packet for carrying out self virtualizing machine;Response unit is used for:According to the broadcasting packet received, the response message prestored to virtual machine response.
- 7. device according to claim 6, it is characterised in that the broadcasting packet includes:The ARP request that the virtual machine is sent when starting;The virtual machine sends the ARP request sent during message first;The virtual machine obtains the dynamic host configuration protocol DHCP request sent during IP address automatically.
- 8. device according to claim 6, it is characterised in that the response message prestored includes:The response message stream comprising response message that the virtual machine passes through message transmissions port transmission to the virtual switch Table.
- 9. according to the device described in any one of claim 6~8, it is characterised in that the virtual machine and virtual switch are direct Connection.
- 10. according to the device described in any one of claim 6~8, it is characterised in thatWhen the broadcasting packet is ARP request, the response message is arp reply message;When the broadcasting packet is DHCP request, the response message is DHCP response messages.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710574002.5A CN107342956A (en) | 2017-07-14 | 2017-07-14 | A kind of method and device for realizing broadcast processing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710574002.5A CN107342956A (en) | 2017-07-14 | 2017-07-14 | A kind of method and device for realizing broadcast processing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107342956A true CN107342956A (en) | 2017-11-10 |
Family
ID=60218179
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710574002.5A Pending CN107342956A (en) | 2017-07-14 | 2017-07-14 | A kind of method and device for realizing broadcast processing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107342956A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101924707A (en) * | 2010-09-27 | 2010-12-22 | 杭州华三通信技术有限公司 | Method and equipment for processing message of address resolution protocol (ARP) |
CN103248720A (en) * | 2012-02-13 | 2013-08-14 | 中兴通讯股份有限公司 | Method and device for inquiring physical address |
CN104426816A (en) * | 2013-08-19 | 2015-03-18 | 华为技术有限公司 | Virtual machine communication method and device |
KR20150030099A (en) * | 2013-09-11 | 2015-03-19 | 한국전자통신연구원 | System and method for address resolution |
CN106878320A (en) * | 2017-03-09 | 2017-06-20 | 郑州云海信息技术有限公司 | A kind of method and apparatus for preventing IP address spoofing |
CN106936777A (en) * | 2015-12-29 | 2017-07-07 | 中移(苏州)软件技术有限公司 | Cloud computing distributed network implementation method based on OpenFlow, system |
-
2017
- 2017-07-14 CN CN201710574002.5A patent/CN107342956A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101924707A (en) * | 2010-09-27 | 2010-12-22 | 杭州华三通信技术有限公司 | Method and equipment for processing message of address resolution protocol (ARP) |
CN103248720A (en) * | 2012-02-13 | 2013-08-14 | 中兴通讯股份有限公司 | Method and device for inquiring physical address |
CN104426816A (en) * | 2013-08-19 | 2015-03-18 | 华为技术有限公司 | Virtual machine communication method and device |
KR20150030099A (en) * | 2013-09-11 | 2015-03-19 | 한국전자통신연구원 | System and method for address resolution |
CN106936777A (en) * | 2015-12-29 | 2017-07-07 | 中移(苏州)软件技术有限公司 | Cloud computing distributed network implementation method based on OpenFlow, system |
CN106878320A (en) * | 2017-03-09 | 2017-06-20 | 郑州云海信息技术有限公司 | A kind of method and apparatus for preventing IP address spoofing |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104022953A (en) | Message forwarding method and device based on Open Flow | |
EP3197107A1 (en) | Message transmission method and apparatus | |
CN103338488B (en) | Method for switching network, terminal, controller, gateway and system | |
CN103944828A (en) | Method and equipment for transmitting protocol messages | |
TW201541262A (en) | Method for virtual machine migration using software defined networking (SDN) | |
CN107306215B (en) | Data processing method, system and node | |
CN110430114B (en) | Virtual router and method for realizing interconnection between SDN network and traditional IP network | |
US20110194562A1 (en) | Systems and Methods for Communication of Management Traffic Over Link Aggregation Group Interface for a Network Element with Distributed Architecture | |
CN107659496B (en) | Data processing method and device | |
US20200412648A1 (en) | Method for distributing transmission path information and routing bridges | |
CN103581025A (en) | Method and system for processing routing information and equipment | |
CN105227393A (en) | A kind of bidirectional forwarding detection (BFD) method | |
CN103200117B (en) | A kind of load-balancing method and device | |
US20140047260A1 (en) | Network management system, network management computer and network management method | |
WO2013104279A1 (en) | Method and device for setting cvlan in trill network | |
CN102647360A (en) | Method and equipment for transmitting messages in VRRPE (virtual router redundancy protocol equilibrium) | |
CN102572012A (en) | Message processing method, switchboard and system | |
CN115915098A (en) | Method for realizing BMCA in 5G and TSN cross-domain PTP | |
CN111163003A (en) | Topology discovery method of wireless multi-control-domain SDN | |
CN102857415A (en) | Routing bridge and device and method for controlling media access control address study | |
CN107342956A (en) | A kind of method and device for realizing broadcast processing | |
EP2728815B1 (en) | Method and rbridge for avoiding esadi protocol packet storms | |
JP2020113836A (en) | Information processing device, information processing system, and setting program | |
US11743180B2 (en) | System and method for routing traffic onto an MPLS network | |
WO2022007861A1 (en) | Failure notification method and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171110 |