CN104320339A - Method of forming correct forwarding table through periodic broadcasting or multicast of CPU (Central Processing Unit) - Google Patents
Method of forming correct forwarding table through periodic broadcasting or multicast of CPU (Central Processing Unit) Download PDFInfo
- Publication number
- CN104320339A CN104320339A CN201410477064.0A CN201410477064A CN104320339A CN 104320339 A CN104320339 A CN 104320339A CN 201410477064 A CN201410477064 A CN 201410477064A CN 104320339 A CN104320339 A CN 104320339A
- Authority
- CN
- China
- Prior art keywords
- cpu
- unit
- broadcast
- multicast
- forwarding table
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Abstract
The invention discloses a method of forming a correct forwarding table through periodic broadcasting or multicast of a CPU (Central Processing Unit). The method comprises the following steps that a CPU unit forms a forwarding table which is unidirectional to the CPU unit through periodic broadcasting or multicast, when a PC (Personal Computer) unit follows the correct forwarding table to transmit a data packet to the CPU unit, the CPU unit forms the correct forwarding table to the PC unit. According to the method, the correct forwarding table can be formed by a switch and the PC without adopting a manner of bidirectional broadcast, so that broadcast is unnecessary for switching, the CPU unit cannot receive the unnecessary broadcast, the CPU unit concentrates on the related functions and cannot waste on discarded broadcast packets, so that a high-performance CPU chip is not needed, and only the CPU chip with the common performance is adopted; through modifying a register, an MAC (Media Access Control) unit controls the broadcast flow direction, so that implementation is convenient and any function of the MAC unit cannot be affected.
Description
Technical field
The present invention relates to electronics field, specifically a kind ofly to be broadcasted by cpu cycle or multicast forms the method correctly transmitted.
Background technology
At Ethernet switch, router, in protocol converter and metering device, often adopt independent CPU element and MAC unit, two unit are connected by CPU-MAC interface, main employing MII interface, gmii interface or Ethernet interface interface shape, the effect of MAC unit has been the forwarding of Ethernet bag, the effect of CPU element is from MII interface, gmii interface or Ethernet interface are accepted business ether bag, to go forward side by side row relax, by MII interface, MII interface or Ethernet interface provide web to configure, these functions of the equipments such as telnet configuration, CPU element accepts clean culture, the business such as multicast, network management data bag, also receive a large amount of broadcast data packet simultaneously, although broadcast data packet is not the packet wishing to want, but this is PC unit access CPU element communication needs, be generally used for web, telnet webmaster, form correct the transmitting and corresponding table of on-line apparatus, need to rely on broadcast.
Processing mode now for broadcast packet is that MAC unit does not limit the broadcast packet being dealt into CPU element, allows CPU oneself go process; CPU element is come, even if the broadcast packet received is useless, also must processes and abandon.When a large amount of broadcast packets impacts CPU element, often allow CPU element process in time abandon, the disposal ability consumption making CPU element a large amount of is in this useless work, also normal process is allowed to have no chance to carry out, often take high performance cpu chip now, even if when broadcasting impact, also normal process broadcast packet can be abandoned, therefore actual this high-performance impacts for useless broadcast to prepare, waste resource.
Summary of the invention
The object of the present invention is to provide a kind of to be broadcasted by cpu cycle or multicast forms the method correctly transmitted, to solve the problem proposed in above-mentioned background technology.
For achieving the above object, the invention provides following technical scheme:
To be broadcasted by cpu cycle or multicast forms the method correctly transmitted, comprise the steps: that (1) closes the One-to-All Broadcast from MAC unit to CPU element in the register of MAC unit, keep the One-to-All Broadcast from CPU element to MAC unit; (2) there is a broadcast packet or multicast packets at set intervals in CPU element, and broadcast packet or multicast packets can flood; (3) MAC unit, switch and all PC unit all define the correct list of CPU element; (4) when administration PC unit sends web unicast data to CPU element, through switch and MAC unit, transmitting of PC unit is just formed into; (5), when web unicast data arrives CPU element, wherein source mac and source ip, will form the mac-ip correspondence table of CPU element.
As the present invention's further scheme: described CPU element, every 250s, a broadcast packet or multicast packets occurs.
Compared with prior art, the invention has the beneficial effects as follows:
The present invention does not take the mode of bidirectional broadcast, also switch and PC unit can be made to form correct transmitting, making to broadcast does not become the necessary of exchange, CPU element would not receive unnecessary broadcast, CPU element is absorbed in relevant function, and do not waste and abandoning on broadcast packet, therefore need not adopt high performance cpu chip, adopt the cpu chip getting general performance; By amendment register can make MAC unit controls broadcasting stream to, it is convenient to realize, and does not affect any function of MAC unit itself.
Embodiment
Be described in more detail below in conjunction with the technical scheme of embodiment to this patent.
To be broadcasted by cpu cycle or multicast forms the method correctly transmitted, comprise the steps: that (1) closes the One-to-All Broadcast from MAC unit to CPU element in the register of MAC unit, keep the One-to-All Broadcast from CPU element to MAC unit; (2) there is a broadcast packet or multicast packets every 250s in CPU element, and broadcast packet or multicast packets can flood; (3) MAC unit, switch and all PC unit all define the correct list of CPU element; (4) when administration PC unit sends web unicast data to CPU element, through switch and MAC unit, transmitting of PC unit is just formed into; (5), when web unicast data arrives CPU element, wherein source mac and source ip, will form the mac-ip correspondence table of CPU element.
CPU element is formed into unidirectional the transmitting of CPU by periodic multicast or broadcast, and follow correct packet of transmitting when PC unit and be dealt into CPU element, CPU element just defines correct the transmitting of PC unit.
The present invention does not take the mode of bidirectional broadcast, also switch and PC unit can be made to form correct transmitting, making to broadcast does not become the necessary of exchange, CPU element would not receive unnecessary broadcast, CPU element is absorbed in relevant function, and do not waste and abandoning on broadcast packet, therefore need not adopt high performance cpu chip, adopt the cpu chip getting general performance; By amendment register can make MAC unit controls broadcasting stream to, it is convenient to realize, and does not affect any function of MAC unit itself.
Above the better embodiment of this patent is explained in detail, but this patent is not limited to above-mentioned execution mode, in the ken that one skilled in the relevant art possesses, various change can also be made under the prerequisite not departing from this patent aim.
Claims (2)
1. to be broadcasted by cpu cycle or multicast forms the method correctly transmitted for one kind, it is characterized in that, comprise the steps: that (1) closes the One-to-All Broadcast from MAC unit to CPU element in the register of MAC unit, keep the One-to-All Broadcast from CPU element to MAC unit; (2) there is a broadcast packet or multicast packets at set intervals in CPU element, and broadcast packet or multicast packets can flood; (3) MAC unit, switch and all PC unit all define the correct list of CPU element; (4) when administration PC unit sends web unicast data to CPU element, through switch and MAC unit, transmitting of PC unit is just formed into; (5), when web unicast data arrives CPU element, wherein source mac and source ip, will form the mac-ip correspondence table of CPU element.
2. according to claim 1ly to be broadcasted by cpu cycle or multicast forms the method correctly transmitted, it is characterized in that, there is a broadcast packet or multicast packets every 250s in described CPU element.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410477064.0A CN104320339B (en) | 2014-09-18 | 2014-09-18 | Method for forming correct forwarding table through CPU periodic broadcast or multicast |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410477064.0A CN104320339B (en) | 2014-09-18 | 2014-09-18 | Method for forming correct forwarding table through CPU periodic broadcast or multicast |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104320339A true CN104320339A (en) | 2015-01-28 |
CN104320339B CN104320339B (en) | 2021-02-05 |
Family
ID=52375513
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410477064.0A Active CN104320339B (en) | 2014-09-18 | 2014-09-18 | Method for forming correct forwarding table through CPU periodic broadcast or multicast |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104320339B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110247852A (en) * | 2019-07-08 | 2019-09-17 | 无锡锐格思信息技术有限公司 | Broadcasting packet is reduced to the method and apparatus of ethernet switching device CPU impact |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101425916A (en) * | 2007-11-02 | 2009-05-06 | 兄弟工业株式会社 | Tree-type broadcast communication system, reconnection process method, communication node device, node process program, server device, and server process program |
CN101436980A (en) * | 2007-11-12 | 2009-05-20 | 中国科学院计算机网络信息中心 | Generation of data packet forwarding table by flooding method |
CN101951323A (en) * | 2010-08-12 | 2011-01-19 | 上海市共进通信技术有限公司 | Device and method for realizing uplink multicast in Gigabit passive optical network |
CN102447567A (en) * | 2011-11-16 | 2012-05-09 | 上海大亚科技有限公司 | Ethernet switching equipment and method switching multicast to unicast based on IGMP protocol |
US8391289B1 (en) * | 2010-10-29 | 2013-03-05 | Hewlett-Packard Development Company, L.P. | Managing a forwarding table in a switch |
CN103067286A (en) * | 2013-01-25 | 2013-04-24 | 杭州华三通信技术有限公司 | Multicast data transmission method and equipment |
CN103095603A (en) * | 2013-02-21 | 2013-05-08 | 南京磐能电力科技股份有限公司 | Restraining method for Ethernet storm |
CN103685103A (en) * | 2013-11-26 | 2014-03-26 | 广州市花都区中山大学国光电子与通信研究院 | Integral verification platform based on FPGA communication base bands |
US20140204949A1 (en) * | 2003-07-30 | 2014-07-24 | Rockstar Consortium Us Lp | Method and apparatus for direct frame switching using frame contained destination information |
-
2014
- 2014-09-18 CN CN201410477064.0A patent/CN104320339B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140204949A1 (en) * | 2003-07-30 | 2014-07-24 | Rockstar Consortium Us Lp | Method and apparatus for direct frame switching using frame contained destination information |
CN101425916A (en) * | 2007-11-02 | 2009-05-06 | 兄弟工业株式会社 | Tree-type broadcast communication system, reconnection process method, communication node device, node process program, server device, and server process program |
CN101436980A (en) * | 2007-11-12 | 2009-05-20 | 中国科学院计算机网络信息中心 | Generation of data packet forwarding table by flooding method |
CN101951323A (en) * | 2010-08-12 | 2011-01-19 | 上海市共进通信技术有限公司 | Device and method for realizing uplink multicast in Gigabit passive optical network |
US8391289B1 (en) * | 2010-10-29 | 2013-03-05 | Hewlett-Packard Development Company, L.P. | Managing a forwarding table in a switch |
CN102447567A (en) * | 2011-11-16 | 2012-05-09 | 上海大亚科技有限公司 | Ethernet switching equipment and method switching multicast to unicast based on IGMP protocol |
CN103067286A (en) * | 2013-01-25 | 2013-04-24 | 杭州华三通信技术有限公司 | Multicast data transmission method and equipment |
CN103095603A (en) * | 2013-02-21 | 2013-05-08 | 南京磐能电力科技股份有限公司 | Restraining method for Ethernet storm |
CN103685103A (en) * | 2013-11-26 | 2014-03-26 | 广州市花都区中山大学国光电子与通信研究院 | Integral verification platform based on FPGA communication base bands |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110247852A (en) * | 2019-07-08 | 2019-09-17 | 无锡锐格思信息技术有限公司 | Broadcasting packet is reduced to the method and apparatus of ethernet switching device CPU impact |
Also Published As
Publication number | Publication date |
---|---|
CN104320339B (en) | 2021-02-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
PL2001172T3 (en) | Method, system and device of the ethernet technique exchanging and forwarding | |
US8681668B2 (en) | Methods and apparatus for transmitting multicast traffic in a data network | |
WO2007005152A3 (en) | Method and system for multicasting data in a communication network | |
WO2008002785A3 (en) | Systems and methods of configuring a layer-2 switch for multicast filtering | |
CN101420362A (en) | Method, system and router for multicast flow switching | |
CN110324165A (en) | The management method of the network equipment, apparatus and system | |
CN101378354B (en) | Method and device for forwarding multicast message | |
WO2016023062A1 (en) | Apparatus and method for low latency switching | |
CN104202322B (en) | A kind of OpenFlow interchanger message method for safety monitoring based on OpenFlow agreements | |
CN102045250B (en) | Forwarding method for multicast message in VPLS, and service provider edge equipment | |
WO2017140363A1 (en) | Time-guarded flow rule installation | |
CN102647359B (en) | Method for implementing network bridge IGMP (internet group management protocol) Snooping based on DSA TAG (digital signature algorithm tag) and user-defined protocol stack | |
CN104320339A (en) | Method of forming correct forwarding table through periodic broadcasting or multicast of CPU (Central Processing Unit) | |
CN104333481A (en) | Method for forming correct forwarding table through PC multicast ping packet | |
CN105357130A (en) | System for information transmission, and controller for information transmission | |
CN102694734B (en) | Two-layer switching equipment realizes the method for multicast based on linux kernel bridge | |
Weber | EtherCAT and TSN-Best Practices for Industrial Ethernet System Architectures | |
JP5216145B2 (en) | How to use a computer network | |
DE60207687D1 (en) | METHOD AND DEVICE FOR CLASSIFYING QUERY NODES | |
WO2014192856A1 (en) | Control apparatus, communication system, relay apparatus control method and program | |
CN106330409B (en) | A kind of multichannel TS video stream transmission method and its system | |
CN100542142C (en) | Change the method and apparatus of three-layer network appliance Interface status | |
CN102843303A (en) | Method and device for processing multicast message in PIM (protocol-independent multicast) | |
CN101674252A (en) | Method for flow-rate limit of virtual private local-area network service and device therefor | |
CN107276774B (en) | Multicast message transmission method and forwarding equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |