CN113938447A - BCM5396 exchange chip software system and data uploading and issuing method - Google Patents

BCM5396 exchange chip software system and data uploading and issuing method Download PDF

Info

Publication number
CN113938447A
CN113938447A CN202111080565.1A CN202111080565A CN113938447A CN 113938447 A CN113938447 A CN 113938447A CN 202111080565 A CN202111080565 A CN 202111080565A CN 113938447 A CN113938447 A CN 113938447A
Authority
CN
China
Prior art keywords
module
bcm5396
switching
exchange
software system
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
Application number
CN202111080565.1A
Other languages
Chinese (zh)
Inventor
李学慧
左颜
顾燕飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CETC 32 Research Institute
Original Assignee
CETC 32 Research Institute
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by CETC 32 Research Institute filed Critical CETC 32 Research Institute
Priority to CN202111080565.1A priority Critical patent/CN113938447A/en
Publication of CN113938447A publication Critical patent/CN113938447A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/35Switches specially adapted for specific applications
    • H04L49/351Switches specially adapted for specific applications for local area network [LAN], e.g. Ethernet switches
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/20Support for services
    • H04L49/201Multicast operation; Broadcast operation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a software system based on a BCM5396 exchange chip and a data uploading and issuing method, comprising an upper computer module and an exchange module, wherein: the upper computer module controls the exchange module register and processes the Ethernet data of the exchange module; the switching module is used for providing an Ethernet switching function; the upper computer module comprises an Mdio interface module and an MII interface module; the Mdio interface module is used for realizing the configuration of switching port mode conversion, a two-layer switching protocol and an address learning table aiming at the register control of the switching module; and the MII interface module receives a multicast protocol packet of the switching module. The invention provides a VxWorks adaptation scheme of an upper computer system and software of a dynamic multicast protocol, and provides a choice for a domestic low-power-consumption intelligent switching solution.

Description

BCM5396 exchange chip software system and data uploading and issuing method
Technical Field
The invention relates to the field of Ethernet switching, in particular to a BCM5396 switching chip software system and a method.
Background
The BCM5396 is originally a 16-port low-power-consumption switching chip produced by the Botong company, provides an MII management interface, a spi, an mdio/mdc control bus, and is suitable for a plurality of low-power-consumption network application scenarios. The hardware solution is usually used as a two-layer fool exchange. In an ethernet information control processing system, many applications establish a communication service mechanism with multiple network nodes through multicast. The multicast information of the IP layer is broadcast by default after being encapsulated into ethernet data frames to the MAC layer, i.e. all network ports have data packets, which may deteriorate the network environment. The radar information control processing system with large data volume and high real-time requirement is a great hidden trouble. With the advent of domestic cpus and 5396, we can implement a dynamic multicast igmp-snooping network protocol based on a two-layer network on a platform implemented by the two chips.
The utility model patent of patent document CN204928886U discloses a CPCI gigabit ethernet exchange board based on BCM5396 chip, which comprises a BCM5396 exchange chip and PHY chips connected to two BCM54680, wherein each PHY chip is connected to two pulse transformers, each pulse transformer is externally connected to 4 gigabit network interfaces, and 16 gigabit network interfaces are provided; wherein, the 15-channel gigabit network interface is externally output through a 110 PINCCI connector with the model of ERNI354142 and a 110 PINCCI connector with the model of ERNI354148, and the other 1-channel gigabit network is externally output through 1 RJ45 standard interface; the CPCI gigabit Ethernet exchange board card is provided with a power supply module, and the power supply module supplies power to all chips and devices of the board card; the CPCI gigabit Ethernet exchange board card is also provided with an FPGA chip with the model number of EPM240T100C5N connected with a BCM5396 exchange chip, and the FPGA chip is connected with a program programming interface through a 10PIN2.54 connector. But the above scheme cannot realize the low power consumption function.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a BCM5396 exchange chip software system and a data uploading and issuing method.
The software system based on the BCM5396 exchange chip provided by the invention comprises an upper computer module and an exchange module, wherein:
the upper computer module controls the exchange module register and processes the Ethernet data of the exchange module;
the switching module is used for providing an Ethernet switching function;
the upper computer module comprises an Mdio interface module and an MII interface module;
the Mdio interface module is used for realizing the configuration of switching port mode conversion, a two-layer switching protocol and an address learning table aiming at the register control of the switching module;
and the MII interface module receives a multicast protocol packet of the switching module.
Preferably, the system further comprises a dynamic multicast software application module, wherein the dynamic multicast software application module realizes the function of dynamically multicasting the IGMP-Snooping network.
Preferably, the switch module includes a BCM5396 switch chip.
Preferably, the Mdio interface module realizes Mdio device driving of the BCM5396 switch chip through Mdio line driving.
Preferably, the Mdio interface module is implemented by the MII register 16-27 part of the register in the BCM5396 switch chip.
The data uploading method of the software system based on the BCM5396 exchange chip provided by the invention comprises the following steps:
protocol packet uploading step: the MII interface of the exchange module uploads a protocol packet on a network;
and a network drive modification step: and modifying the network drive of the VxWork, and modifying the part for obtaining the connection state in the general network drive process into a fixed up state.
The data issuing method of the software system based on the BCM5396 exchange chip provided by the invention comprises the following steps:
a marking step: marking tag marks on the issued data packets;
a forwarding step: the switching module forwards the data packet with tag.
Compared with the prior art, the invention has the following beneficial effects:
1. the invention provides a VxWorks adaptation scheme of an upper computer system and a software of a dynamic multicast protocol, and provides a choice for a domestic low-power-consumption intelligent exchange solution.
2. The protocol software of the invention changes the multicast protocol data packet which is originally broadcasted into the multicast group member corresponding exchange port, thereby avoiding the invalid forwarding process.
3. The invention can greatly improve local network environment, reduce invalid network data and prevent broadcast storm.
4. The invention provides a protocol packet channel through an mdio control 5396 chip and a specific MII port, and realizes dynamic multicast application on an operating system.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments with reference to the following drawings:
fig. 1 is a basic hardware diagram of the exchange of a BCM5396 exchange chip software system.
Fig. 2 is a flowchart of the data reading of the BCM5396 switch chip software.
Detailed Description
The present invention will be described in detail with reference to specific examples. The following examples will assist those skilled in the art in further understanding the invention, but are not intended to limit the invention in any way. It should be noted that it would be obvious to those skilled in the art that various changes and modifications can be made without departing from the spirit of the invention. All falling within the scope of the present invention.
As shown in fig. 1 and 2, according to a BCM5396 switch chip software system and a data uploading and issuing method provided by the present invention, the software system includes an upper computer module and a switch module, the upper computer module is used for controlling a chip register and processing ethernet data on a switch chip. The dynamic multicast software application module realizes the function of dynamically multicasting the IGMP-Snooping network. The switching module is mainly provided with a 5396 chip and provides an Ethernet switching function. Wherein the host computer module contains following two interface module: the Mdio interface module is mainly used for realizing the mode conversion of the exchange port, the two-layer exchange protocol, the configuration of an address learning table and the like aiming at the register control of the exchange chip; and the MII interface module receives the multicast protocol packet of the switching module.
Specifically, the Mdio interface module implements Mdio device drivers for 5396 using a system Mdio line driver. The Mdio interface is mainly realized by a part of registers of the MII registers 16-27 in the exchange chip.
For the MII interface module, the MII interface of the switch chip 5396 uploads a management protocol packet on the network during operation. And providing an uploading channel and a sending channel of the protocol packet aiming at the multicast application scene. In order to be able to obtain an IP packet, the network driver of VxWork must be modified. And converting the part for obtaining the connection state in the general network driving process into a fixed up state by acquiring from the PHY chip by default. When a data packet is issued, due to the special design of the 5396MII port, a corresponding tag mark must be marked in the IP packet, otherwise, the 5396 chip cannot forward the protocol packet.
For the dynamic multicast software application module, the dynamic multicast protocol application mainly processes the IGMP protocol packet through a network system MUX layer API of VxWorks. The upper computer obtains the members joining the multicast group, and operates the exchange chip through the MDIO interface module to complete the dynamic multicast function of the exchange on the network. Meanwhile, the IGMP packet is broadcasted and inquired through the MII module at regular time, the multicast group members are updated, and the network state is maintained. The system can be compatible with IGMP1.0, IGMP2.0 and IGMP3.0 versions. The dynamic multicast protocol uploads IGMP messages to a CPU, and the IGMP messages are sent to an exchange chip after being processed by a MUX layer of the Vxworks network system, and corresponding configuration operation is carried out to complete multicast actions.
Those skilled in the art will appreciate that, in addition to implementing the system and its various devices, modules, units provided by the present invention as pure computer readable program code, the system and its various devices, modules, units provided by the present invention can be fully implemented by logically programming method steps in such a manner as to implement the same functions in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Therefore, the system and various devices, modules and units thereof provided by the invention can be regarded as a hardware component, and the devices, modules and units included in the system for realizing various functions can also be regarded as structures in the hardware component; means, modules, units for performing the various functions may also be regarded as structures within both software modules and hardware components for performing the method.
The foregoing description of specific embodiments of the present invention has been presented. It is to be understood that the present invention is not limited to the specific embodiments described above, and that various changes or modifications may be made by one skilled in the art within the scope of the appended claims without departing from the spirit of the invention. The embodiments and features of the embodiments of the present application may be combined with each other arbitrarily without conflict.

Claims (7)

1. The utility model provides a software system based on BCM5396 exchange chip which characterized in that, includes host computer module and exchange module, wherein:
the upper computer module controls the exchange module register and processes the Ethernet data of the exchange module;
the switching module is used for providing an Ethernet switching function;
the upper computer module comprises an Mdio interface module and an MII interface module;
the Mdio interface module is used for realizing the configuration of switching port mode conversion, a two-layer switching protocol and an address learning table aiming at the register control of the switching module;
and the MII interface module receives a multicast protocol packet of the switching module.
2. The BCM5396 switch chip based software system according to claim 1, further comprising a dynamic multicast software application module, said dynamic multicast software application module implementing a dynamic multicast IGMP-Snooping network function.
3. The BCM5396 switch chip based software system according to claim 1, wherein said switch module comprises a BCM5396 switch chip.
4. The BCM5396 switch chip-based software system according to claim 3, wherein the Mdio interface module implements an Mdio device driver of the BCM5396 switch chip through an Mdio line driver.
5. The BCM5396 switch chip based software system according to claim 4, wherein the Mdio interface module is implemented by MII register 16-27 partial registers in the BCM5396 switch chip.
6. A data uploading method of a software system based on a BCM5396 switch chip according to any one of claims 1-5, comprising the following steps:
protocol packet uploading step: the MII interface of the exchange module uploads a protocol packet on a network;
and a network drive modification step: and modifying the network driver of the VxWork, and modifying the part for obtaining the connection state in the general network driving process into a fixed up state.
7. A data transmission method of a software system based on a BCM5396 switch chip according to any one of claims 1-5, comprising the following steps:
a marking step: marking tag marks on the issued data packets;
a forwarding step: the switching module forwards the data packet with tag.
CN202111080565.1A 2021-09-15 2021-09-15 BCM5396 exchange chip software system and data uploading and issuing method Pending CN113938447A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111080565.1A CN113938447A (en) 2021-09-15 2021-09-15 BCM5396 exchange chip software system and data uploading and issuing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111080565.1A CN113938447A (en) 2021-09-15 2021-09-15 BCM5396 exchange chip software system and data uploading and issuing method

Publications (1)

Publication Number Publication Date
CN113938447A true CN113938447A (en) 2022-01-14

Family

ID=79275680

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111080565.1A Pending CN113938447A (en) 2021-09-15 2021-09-15 BCM5396 exchange chip software system and data uploading and issuing method

Country Status (1)

Country Link
CN (1) CN113938447A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090034540A1 (en) * 2007-08-02 2009-02-05 Thales Avionics, Inc. System and method for streaming video on demand (vod) streams over a local network
CN102111320A (en) * 2010-12-29 2011-06-29 武汉烽火网络有限责任公司 Method for controlling plane data interaction in distributed system
CN104243174A (en) * 2014-10-10 2014-12-24 沈辉 Network and SRIO (serial rapid input/output) data exchanging plate based on VPX bus and control method for network and SRIO data exchanging plate
CN213585836U (en) * 2020-12-18 2021-06-29 成都能通科技有限公司 Two-layer network exchange management system based on PowerPC

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090034540A1 (en) * 2007-08-02 2009-02-05 Thales Avionics, Inc. System and method for streaming video on demand (vod) streams over a local network
CN102111320A (en) * 2010-12-29 2011-06-29 武汉烽火网络有限责任公司 Method for controlling plane data interaction in distributed system
CN104243174A (en) * 2014-10-10 2014-12-24 沈辉 Network and SRIO (serial rapid input/output) data exchanging plate based on VPX bus and control method for network and SRIO data exchanging plate
CN213585836U (en) * 2020-12-18 2021-06-29 成都能通科技有限公司 Two-layer network exchange management system based on PowerPC

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
BROADCOM: ""BCM5396 Data Sheet"", pages 35 - 36, Retrieved from the Internet <URL:https://www.mouser.com/datasheet/2/678/broadcom_limited_avgo-s-a0007199324-1-1747630.pdf> *
豆丁网: ""BCM交换芯片原理概要"", Retrieved from the Internet <URL:https://www.docin.com/p-1967830663.html> *
道客巴巴: ""Broadcom以太网交换芯片转发流程 "", Retrieved from the Internet <URL:https://www.doc88.com/p-2085373745519.html> *

Similar Documents

Publication Publication Date Title
CN1194508C (en) Multicasting messag transmission method base on two layer exchange device
AU2003257074A1 (en) Mapping of a source specific multicast group address to a source address
US20180083864A1 (en) Data processing method and apparatus
CN1848807A (en) Group broadcasting business realizing method
CN106302199A (en) A kind of User space protocol stack realization method and system based on L3 Switching machine equipment
US9066162B2 (en) Industrial controller apparatus capable of low error, ultra high-speed serial communication and method for driving same
CN103401773A (en) Method and network equipment realizing interboard communication
TW201807979A (en) System for transmitting power to a remote PoE subsystem by forwarding PD input voltage
JPH11196112A (en) Multi-case transmission method
CN101286866B (en) Multicast implementing method and system based on switching network of high-speed peripheral extended interface
WO2015027738A1 (en) Metadata transmission and receiving method, and ofls
CN1863153B (en) Method of Ethernet supporting source specific multicast forwarding and apparatus thereof
CN112073249B (en) Data transmission method, cluster switch system and related equipment
CN101847135B (en) Series-connected communication system and communication method thereof
CN101414177A (en) System for converting serial port to Ethernet based on field bus data acquisition
CN107370792A (en) A kind of DALI extension systems and control method
CN107342958B (en) Distributed communication equipment and inter-board communication method
CN113938447A (en) BCM5396 exchange chip software system and data uploading and issuing method
CN102724120B (en) The method of transmitting announcement routing information and route-bridge
CN114999409A (en) Mini LED backlight control circuit, display device and method
CN1231018C (en) Method and device for realizing virtual local network transmission on Ethernet exchange
CN1808985A (en) Hand-in-hand digital conference system
CN112543142A (en) Method and device for realizing RSTP (remote site transport protocol) ring network protocol based on FPGA (field programmable gate array)
CN114285913B (en) Cross-operating system data transmission method
KR20000059426A (en) Multicasting software upgrade system in network and multicasting software upgrade method using the same

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