CN108259287A - Communication card and data communications method based on cpci bus - Google Patents
Communication card and data communications method based on cpci bus Download PDFInfo
- Publication number
- CN108259287A CN108259287A CN201611251454.1A CN201611251454A CN108259287A CN 108259287 A CN108259287 A CN 108259287A CN 201611251454 A CN201611251454 A CN 201611251454A CN 108259287 A CN108259287 A CN 108259287A
- Authority
- CN
- China
- Prior art keywords
- data
- ethernet
- cpci bus
- cpci
- controller
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40006—Architecture of a communication node
- H04L12/40013—Details regarding a bus controller
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4004—Coupling between buses
- G06F13/4009—Coupling between buses with data restructuring
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
The present invention proposes a kind of communication card and data communications method based on cpci bus, the board includes cpci bus control unit, for being form as defined in Ethernet by the format conversion of the first data, and the first data after format transformation are transmitted to multiple ethernet controllers by central controller;Central controller is connected respectively with cpci bus control unit, multiple ethernet controllers, sequential for the interface circuit to coupled cpci bus control unit and each ethernet controller controls, and the communication data between cpci bus control unit and multiple ethernet controllers is forwarded;Multiple ethernet controllers, data exchange is carried out by multiple ethernet controllers and external equipment based on the communication card of cpci bus, the format conversion of its second data of institute in ethernet networks that each ethernet controller is used to receive is form as defined in cpci bus.The invention can improve the reliability and real-time of data transmission, increase the load capacity of board.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of communication cards and data communication party based on cpci bus
Method.
Background technology
With the continuous development of the communication technology, ethernet communication has long transmission distance, and connection is simple, easy to use, leads to
Believe the features such as reliable, effective solution is provided for computer communication, in military field, Industry Control and commercial neck
Domain plays an important role.
In the relevant technologies, embedded microprocessor only supports one or two of ethernet interface, can lead in commercial kitchen area
Communications intermediate devices extension Ethernet interface is crossed, for example, being extended by router;For the communication of high performance industrial computer
Speech, data throughout is larger, and port number can be used for specific occasion with flexible configuration.
Under this mode, in the case of having stringent limitation on space where industrial computer and industrial computer volume,
It is not easy to being intended to increase equipment outside cabinet, and installation also has strict demand, it is impossible to easily to built in industrial computer
Communication card load capacity is extended, data transmission it is ineffective.
Invention content
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, an object of the present invention is to provide a kind of communication card based on cpci bus, it can realize and be based on
The data communication of Ethernet improves the reliability and real-time of data transmission, increases the load capacity of board.
It is another object of the present invention to propose a kind of data communications method.
In order to achieve the above objectives, the communication card based on cpci bus that first aspect present invention embodiment proposes, including:
Cpci bus control unit, it is lattice as defined in Ethernet that the cpci bus control unit, which is used for the format conversion of the first data,
Formula, and the first data after format transformation are transmitted to multiple ethernet controllers by the central controller, wherein, it is described
First data are that the communication card based on cpci bus is exported to the data of external equipment;The central controller respectively with
The cpci bus control unit, the multiple ethernet controller are connected, and the central controller is used for coupled
The sequential of the interface circuit of the cpci bus control unit and each ethernet controller is controlled, and total to the CPCI
Communication data between line traffic control unit and the multiple ethernet controller is forwarded;The multiple ethernet controller,
It is described that data exchange is carried out by the multiple ethernet controller and the external equipment based on the communication card of cpci bus,
The format conversion of its second data of institute in ethernet networks that each ethernet controller is used to receive is cpci bus rule
Fixed form, wherein, second data are input to the number of the communication card based on cpci bus for the external equipment
According to.
First aspect present invention embodiment propose the communication card based on cpci bus, by establish central controller with
Communication connection between cpci bus control unit, multiple ethernet controllers;It is Ethernet by the format conversion of the first data
Defined form, and the first data after format transformation are transmitted to multiple ethernet controllers by central controller;Pair with
The cpci bus control unit and the sequential of the interface circuit of each ethernet controller that central controller is connected are controlled, and
Communication data between cpci bus control unit and multiple ethernet controllers is forwarded;It is controlled by multiple Ethernets
Device and external equipment carry out data exchange, and each ethernet controller is used for its institute that will be received second counting in ethernet networks
According to format conversion for form as defined in cpci bus, can realize the data communication based on Ethernet, improve data transmission
Reliability and real-time increase the load capacity of board.
In order to achieve the above objectives, the data communications method that second aspect of the present invention embodiment proposes, including:Establish center control
Communication connection between device and cpci bus control unit processed, multiple ethernet controllers;Format conversion by the first data is
Form as defined in Ethernet, and the first data after format transformation are transmitted to the multiple ether by the central controller
Net controller, wherein, first data are that the communication card based on cpci bus is exported to the data of external equipment;It is right
The cpci bus control unit and the sequential of the interface circuit of each ethernet controller being connected with the central controller
It is controlled, and the communication data between the cpci bus control unit and the multiple ethernet controller turns
Hair;Data exchange is carried out by the multiple ethernet controller and the external equipment, each ethernet controller is used for will
Receive its format conversions of the second data in ethernet networks be form as defined in cpci bus, wherein, described second
Data are input to the data of the communication card based on cpci bus for the external equipment.
The data communications method that second aspect of the present invention embodiment proposes, by establishing central controller and cpci bus control
Communication connection between unit processed, multiple ethernet controllers;It is form as defined in Ethernet by the format conversion of the first data,
And the first data after format transformation are transmitted to multiple ethernet controllers by central controller;Pair with central controller phase
The sequential of the interface circuit of cpci bus control unit even and each ethernet controller is controlled, and to cpci bus control
Communication data between unit processed and multiple ethernet controllers is forwarded;Pass through multiple ethernet controllers and external equipment
Carry out data exchange, each ethernet controller be used to receiving its second data in ethernet networks format conversion
For form as defined in cpci bus, the data communication based on Ethernet can be realized, improve the reliability and in real time of data transmission
Property increases the load capacity of board.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description
It obtains significantly or is recognized by the practice of the present invention.
Description of the drawings
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments
Significantly and it is readily appreciated that, wherein:
Fig. 1 is the structure diagram for the communication card based on cpci bus that one embodiment of the invention proposes;
Fig. 2 is the structure diagram of central controller of the embodiment of the present invention;
Fig. 3 is cpci bus of embodiment of the present invention control unit and central controller connection diagram;
Fig. 4 is the connection diagram of central controller of the embodiment of the present invention and ethernet controller;
Fig. 5 is the structure diagram for the communication card based on cpci bus that another embodiment of the present invention proposes;
Fig. 6 is the flow diagram for the data communications method that one embodiment of the invention proposes;
Fig. 7 is the flow diagram for the data communications method that another embodiment of the present invention proposes;
Fig. 8 is the flow diagram for the data communications method that another embodiment of the present invention proposes.
Specific embodiment
The embodiment of the present invention is described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end
Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached
The embodiment of figure description is exemplary, and is only used for explaining the present invention, and is not considered as limiting the invention.On the contrary, this
The embodiment of invention includes falling into all changes in the range of the spirit and intension of attached claims, modification and equivalent
Object.
Fig. 1 is the structure diagram for the communication card based on cpci bus that one embodiment of the invention proposes.
Referring to Fig. 1, it is somebody's turn to do the communication card based on cpci bus and includes:Cpci bus control unit 100, cpci bus control
It is form as defined in Ethernet, and the first data after format transformation are led to that unit 100, which is used for the format conversion of the first data,
It crosses central controller 200 and is transmitted to multiple ethernet controllers 300, wherein, the first data are the communication board based on cpci bus
Card is exported to the data of external equipment;Central controller 200 controls respectively with cpci bus control unit 100, multiple Ethernets
Device 300 is connected, and central controller 200 is used for coupled cpci bus control unit 100 and each ethernet controller
The sequential of 300 interface circuit is controlled, and between cpci bus control unit 100 and multiple ethernet controllers 300
Communication data be forwarded;Multiple ethernet controllers 300 pass through multiple ether network controls based on the communication card of cpci bus
Device 300 processed carries out data exchange with external equipment, and each ethernet controller 300 is used for its institute that will be received in ethernet networks
The second data format conversion for form as defined in cpci bus, wherein, the second data are input to for external equipment and are based on
The data of the communication card of cpci bus.
In one embodiment of the invention, the communication card based on cpci bus is somebody's turn to do to include:Cpci bus control unit
100, it is form as defined in Ethernet, and will convert lattice that cpci bus control unit 100, which is used for the format conversion of the first data,
The first data after formula are transmitted to multiple ethernet controllers 300 by central controller 200, wherein, the first data be based on
The communication card of cpci bus is exported to the data of external equipment.
In an embodiment of the present invention, cpci bus control unit 100 can be, for example, compact PCI9030.
CPCI used in the embodiment of the present invention is transformed on the basis of PCI and forms, and which employs PCI local bus skills
Art has abandoned the traditional mechanical structure of PCI, uses the European card structure of the high reliability by practical proof instead, improves heat dissipation
Condition improves antivibration kinetic force, while also complies with EMC Requirements;And CPCI abandons the golden finger type interconnection side of PCI
Formula uses the pin and socket connector of 2mm density instead, has air-tightness, anti-corrosive properties, improves the reliability of data transmission, increase plate
The load capacity of card.
Optionally, cpci bus control unit 100 is connected respectively with cpci bus backboard and central controller 200, CPCI
Bus control unit 100 be used for by the communication card based on cpci bus export to the data of external equipment format conversion be with
Data after format transformation are then transmitted to multiple ethernet controllers by too form as defined in net by central controller 200
300, it can realize the data communication based on Ethernet.
In one embodiment of the invention, the communication card based on cpci bus is somebody's turn to do to include:Central controller 200, in
Centre controller 200 is connected respectively with cpci bus control unit 100, multiple ethernet controllers 300, and central controller 200 is used
It is controlled in the sequential of the interface circuit to coupled cpci bus control unit 100 and each ethernet controller 300
System, and the communication data between cpci bus control unit 100 and multiple ethernet controllers 300 is forwarded.
In an embodiment of the present invention, central controller 200 can be, for example, field programmable gate array FPGA,
The advantage of FPGA is:1) hardware programmable, integrated level are high, and are configured flexibly, can realize the repeatable design and modification of hardware;
2) there is abundant IP resources, arithmetic speed is high, and data-handling capacity is stronger;3) real-time is high, support parallel data processing and
Flowing structure.
Optionally, central controller 200 is used for coupled cpci bus control unit 100 and each ether network control
The sequential of the interface circuit of device 300 processed is controlled, and realizes the timing control of interface circuit, and central controller 200 is additionally operable to pair
Communication data between cpci bus control unit 100 and multiple ethernet controllers 300 is forwarded, and realizes communication data
Processing transmission control.
In an embodiment of the present invention, central controller 200 includes:CPCI modules 210, static RAM
SRAM module 220 and ETHERNET modules 230.Wherein,
CPCI modules 210, central controller 200 are total by the CPCI read-write control units in CPCI modules 210 and CPCI
Line traffic control unit 100 is connected, and CPCI modules 210 are for logical between cpci bus control unit 100 and central controller 200
Letter data is forwarded.
Static RAM SRAM module 220, central controller 200 pass through SRAM module 220 and SRAM interface
Circuit 400 is connected, and SRAM module 220 carries out for the communication data between SRAM interface circuit 400 and central controller 200
Forwarding.
ETHERNET modules 230, central controller 200 pass through the ETHERNET Read-write Catrols in ETHERNET modules 230
Unit is connected with multiple ethernet controllers 300, and ETHERNET modules 230 are used for each ethernet controller 300 and center
Communication data between controller 200 is forwarded.
As a kind of example, referring to Fig. 2, Fig. 2 is the structure diagram of central controller of the embodiment of the present invention, and center controls
Device includes:CPCI modules 21, SRAM module 22 and multiple ETHERNET modules 23, the embodiment of the present invention is with ETHERNET moulds
23 numbers of block are 4 examples.Wherein, CPCI modules 21 include:CPCI read-write control units 211, CPCI data lengths are sent
FIFO (First Input First Output, first in, first out) unit 212, CPCI data send cell fifo 213, CPCI numbers
Cell fifo 215 is received according to reception cell fifo 214 and CPCI data lengths;SRAM module 22 includes:CPCI-SRAM frames
Length cell fifo 221, SRAM arbitration units 222, SRAM read-write control units 223 and ETHERNET-SRAM frame lengths
Cell fifo 224;Each ETHERNET modules 23 include:ETHERNET read-write control units 231, ETHERNET data lengths hair
Send cell fifo 232, ETHERNET data send cell fifo 233, ETHERNET data receivers cell fifo 234 and
ETHERNET data lengths receive cell fifo 235.
Specifically, as seen from Figure 2, the CPCI read-write control units 211 in CPCI modules 21 respectively with CPCI data
Length sends the input terminal of cell fifo 212, CPCI data send input terminal, the CPCI data receivers FIFO of cell fifo 213
The output terminal that the output terminal and CPCI data lengths of unit 214 receive cell fifo 215 is connected.CPCI data lengths are sent
The output terminal of cell fifo 212 is connected with the input terminal of CPCI-SRAM frame lengths cell fifo 221, and CPCI data send FIFO
The output terminal of unit 213 is connected with the input terminal of SRAM arbitration units 222, and CPCI data lengths receive the defeated of cell fifo 215
The output terminal for entering end with ETHERNET-SRAM frame lengths cell fifo 224 is connected, CPCI data receivers cell fifo 214 it is defeated
The output terminal for entering end with SRAM arbitration units 222 is connected.Central controller can be read and write by the CPCI in CPCI modules 21 and be controlled
Unit 211 processed is connected with cpci bus control unit, and CPCI modules 21 are used for cpci bus control unit and central controller
Between communication data be forwarded.
As a kind of example, connect referring to Fig. 3, Fig. 3 for cpci bus of embodiment of the present invention control unit and central controller
Schematic diagram is connect, wherein, LAD [31:0] be address data bus, ADS# is frame start signal, BLAST# is frame end signal, LW/
R# is frame read-write, ALE is address latch signal, LBE [3:0] # is data byte enable signal, READY# is data preparation
Good signal and LCLK are clock output signal.
As seen from Figure 2, the SRAM arbitration units 222 in SRAM module 22 are connected with SRAM read-write control units 223,
Central controller is connected by SRAM module 22 with SRAM interface circuit, and SRAM module 22 is used for SRAM interface circuit and center
Communication data between controller is forwarded.
As seen from Figure 2, the ETHERNET read-write control units 231 in ETHERNET modules 23 respectively with ETHERNET
Data length sends the input terminal of cell fifo 232, ETHERNET data send input terminal, the ETHERNET of cell fifo 233
The output terminal that the output terminal and ETHERNET data lengths of data receiver cell fifo 234 receive cell fifo 235 is connected.
ETHERNET data lengths send the output terminal of cell fifo 232 and the input of ETHERNET-SRAM frame lengths cell fifo 224
End is connected, and the output terminal that ETHERNET data send cell fifo 233 is connected with the input terminal of SRAM arbitration units 222,
ETHERNET data lengths receive the output terminal phase of the input terminal and CPCI-SRAM frame lengths cell fifo 221 of cell fifo 235
Even, the input terminal of ETHERNET data receivers cell fifo 234 is connected with the output terminal of SRAM arbitration units 222.Center control
Device is connected by the ETHERNET read-write control units 231 in ETHERNET modules 23 with multiple ethernet controllers,
Communication data of the ETHERNET modules 23 between each ethernet controller and central controller is forwarded.
As a kind of example, referring to Fig. 4, Fig. 4 is the connection of central controller of the embodiment of the present invention and ethernet controller
Schematic diagram, wherein, DATA [31:0] it is data/address bus, ADDR [31:0] be address bus, RD_N is read control signal, WR_N is
Write control signal and CS_N [3:0] it is chip selection signal.
In one embodiment of the invention, the communication card based on cpci bus is somebody's turn to do to include:Multiple ethernet controllers
300, data exchange is carried out by multiple ethernet controllers 300 and external equipment based on the communication card of cpci bus, each
The format conversion of its institute's the second data in ethernet networks that ethernet controller 300 is used to receive is cpci bus regulation
Form, wherein, the second data are input to the data of the communication card based on cpci bus for external equipment.
In an embodiment of the present invention, the telecommunications outlet connector that each ethernet controller 300 passes through model RJ45
The data based on Ethernet are carried out with external equipment to communicate.
Optionally, each ethernet controller 300 can be set by the telecommunications outlet connector of model RJ45 with outside
Standby to communicate, the format conversion of its data of institute in ethernet networks received is cpci bus by ethernet controller 300
Defined form, then, multiple ethernet controllers 300 can be connected by parallel bus with central controller 200, center control
Device 200 processed is connected by the CPCI read-write control units in CPCI modules 210 with cpci bus control unit 100, and realization is based on
The data communication of Ethernet.
In some embodiments, referring to Fig. 5, it is somebody's turn to do the communication card based on cpci bus and further includes:SRAM interface circuit 400.
In an embodiment of the present invention, the communication card based on cpci bus is somebody's turn to do to include:SRAM interface circuit 400, SRAM
Interface circuit 400 is used to store the first data and the second data.
Optionally, SRAM interface circuit 400 is connect with central controller 200, for the first data and the second data into
Row storage, can store the mass data in data transmission procedure, improve the execution efficiency of data in board.
Further, as shown in Figure 5, being somebody's turn to do the communication card based on cpci bus can also include:Plug-and-play circuit
HOTSWAP and DC-DC power source conversion circuit.Wherein, plug-and-play circuit HOTSWAP is connect with cpci bus backboard, to be based on
The communication card of cpci bus provides stable working power;DC-DC power source conversion circuit is connect with cpci bus backboard, is base
Multiple ethernet controllers 300 in the communication card of cpci bus provide power supply.
Specifically, plug-and-play circuit HOTSWAP is played to power on to delay and be worked, and power supply function is provided simultaneously with, for example, mistake
Flow protection, overvoltage protection etc., make this based on the communication card of cpci bus in the case where system does not have power blackout situation, though insertion or
It extracts, does not also destroy the normal work of system;DC-DC power source conversion circuit is connect with cpci bus backboard, is multiple Ethernets
Controller 300 provides independent power supply, realizes the controllability of power over ethernet, at failure to the safe side side, can thoroughly cut off logical
Letter data source.
In the present embodiment, by establishing between central controller and cpci bus control unit, multiple ethernet controllers
Communication connection;It is form as defined in Ethernet by the format conversion of the first data, and the first data after format transformation is led to
It crosses central controller and is transmitted to multiple ethernet controllers;Pair cpci bus control unit being connected with central controller and each
The sequential of the interface circuit of ethernet controller is controlled, and to cpci bus control unit and multiple ethernet controllers it
Between communication data be forwarded;Data exchange, each ether network control are carried out by multiple ethernet controllers and external equipment
The format conversion of its institute's the second data in ethernet networks that device processed is used to receive is form as defined in cpci bus, can
It realizes the data communication based on Ethernet, improves the reliability and real-time of data transmission, increase the load capacity of board.
Fig. 6 is the flow diagram for the data communications method that one embodiment of the invention proposes.
Referring to Fig. 6, which includes:
S61:Establish the communication connection between central controller and cpci bus control unit, multiple ethernet controllers.
In an embodiment of the present invention, central controller for example can be field programmable gate array FPGA;CPCI
Bus control unit for example can be compact PCI9030.
S62:It is form as defined in Ethernet by the format conversion of the first data, and the first data after format transformation is led to
It crosses central controller and is transmitted to multiple ethernet controllers.
Wherein, the first data are exported for the communication card based on cpci bus to the data of external equipment.
S63:The interface circuit of pair the cpci bus control unit being connected with central controller and each ethernet controller
Sequential controlled, and the communication data between cpci bus control unit and multiple ethernet controllers is forwarded.
In an embodiment of the present invention, it can be controlled by CPCI moulds CPCI read-write control units in the block and cpci bus
Unit is connected, and communication data of the CPCI modules between cpci bus control unit and central controller is forwarded;It is logical
It crosses SRAM module with SRAM interface circuit to be connected, SRAM module is for the communication between SRAM interface circuit and central controller
Data are forwarded;It is connected by ETHERNET moulds ETHERNET read-write control units in the block with multiple ethernet controllers,
Communication data of the ETHERNET modules between each ethernet controller and central controller is forwarded.
In some embodiments, referring to Fig. 7, step S63 is specifically included:
S71:It is connected by CPCI moulds CPCI read-write control units in the block with cpci bus control unit, CPCI modules are used
It is forwarded in the communication data between cpci bus control unit and central controller.
S72:It is connected by SRAM module with SRAM interface circuit, SRAM module is used to control SRAM interface circuit and center
Communication data between device processed is forwarded.
S73:It is connected by ETHERNET moulds ETHERNET read-write control units in the block with multiple ethernet controllers,
Communication data of the ETHERNET modules between each ethernet controller and central controller is forwarded.
S64:Data exchange is carried out by multiple ethernet controllers and external equipment, each ethernet controller is used for will
Receive its format conversions of the second data in ethernet networks be form as defined in cpci bus.
Wherein, the second data are input to the data of the communication card based on cpci bus for external equipment.
In an embodiment of the present invention, each ethernet controller by the telecommunications outlet connector of model RJ45 with it is outer
Portion's equipment carries out the data communication based on Ethernet.
In some embodiments, referring to Fig. 8, which further includes:
S81:First data and the second data are stored.
It should be noted that the explanation in earlier figures 1- Fig. 5 embodiments to the communication card embodiment based on cpci bus
Illustrate to be also applied for the data communications method of the embodiment, realization principle is similar, and this will not be repeated here.
In the present embodiment, by establishing between central controller and cpci bus control unit, multiple ethernet controllers
Communication connection;It is form as defined in Ethernet by the format conversion of the first data, and the first data after format transformation is led to
It crosses central controller and is transmitted to multiple ethernet controllers;Pair cpci bus control unit being connected with central controller and each
The sequential of the interface circuit of ethernet controller is controlled, and to cpci bus control unit and multiple ethernet controllers it
Between communication data be forwarded;Data exchange, each ether network control are carried out by multiple ethernet controllers and external equipment
The format conversion of its institute's the second data in ethernet networks that device processed is used to receive is form as defined in cpci bus, can
It realizes the data communication based on Ethernet, improves the reliability and real-time of data transmission, increase the load capacity of board.
It should be noted that in the description of the present invention, term " first ", " second " etc. are only used for description purpose, without
It is understood that indicate or implying relative importance.In addition, in the description of the present invention, unless otherwise indicated, the meaning of " multiple "
It is two or more.
Any process described otherwise above or method description are construed as in flow chart or herein, represent to include
Module, segment or the portion of the code of the executable instruction of one or more the step of being used to implement specific logical function or process
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable
Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, to perform function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the present invention can be realized with hardware, software, firmware or combination thereof.Above-mentioned
In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage
Or firmware is realized.If for example, with hardware come realize in another embodiment, can be under well known in the art
Any one of row technology or their combination are realized:With for the logic gates to data-signal realization logic function
Discrete logic, have suitable combinational logic gate circuit application-specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that realize all or part of step that above-described embodiment method carries
Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium
In matter, the program when being executed, one or a combination set of the step of including embodiment of the method.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, it can also
That each unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould
The form that hardware had both may be used in block is realized, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized in the form of software function module and is independent product sale or in use, can also be stored in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " example ", " is specifically shown " some embodiments "
The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description
Point is contained at least one embodiment of the present invention or example.In the present specification, schematic expression of the above terms are not
Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any
One or more embodiments or example in combine in an appropriate manner.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example
Property, it is impossible to limitation of the present invention is interpreted as, those of ordinary skill in the art within the scope of the invention can be to above-mentioned
Embodiment is changed, changes, replacing and modification.
Claims (12)
1. a kind of communication card based on cpci bus, which is characterized in that including:
Cpci bus control unit, the cpci bus control unit are used to provide the format conversion of the first data for Ethernet
Form, and the first data after format transformation are transmitted to multiple ethernet controllers by central controller, wherein, it is described
First data are that the communication card based on cpci bus is exported to the data of external equipment;
The central controller is connected respectively with the cpci bus control unit, the multiple ethernet controller, in described
Entreat controller be used for the interface circuit of coupled the cpci bus control unit and each ethernet controller when
Sequence is controlled, and the communication data between the cpci bus control unit and the multiple ethernet controller turns
Hair;
The multiple ethernet controller, it is described based on the communication card of cpci bus by the multiple ethernet controller with
The external equipment carries out data exchange, and each ethernet controller is used for its institute that will be received second counting in ethernet networks
According to format conversion for form as defined in cpci bus, wherein, second data are input to the base for the external equipment
In the data of the communication card of cpci bus.
2. the communication card based on cpci bus as described in claim 1, which is characterized in that further include:
SRAM interface circuit, the SRAM interface circuit are used to store first data and second data.
3. the communication card based on cpci bus as claimed in claim 2, which is characterized in that the central controller includes:
CPCI modules, the central controller pass through CPCI moulds CPCI read-write control units in the block and the cpci bus
Control unit is connected, and the CPCI modules are for the communication between the cpci bus control unit and the central controller
Data are forwarded;
SRAM module, the central controller are connected by the SRAM module with the SRAM interface circuit, the SRAM moulds
Communication data of the block between the SRAM interface circuit and the central controller is forwarded;
ETHERNET modules, the central controller by ETHERNET moulds ETHERNET read-write control units in the block with
The multiple ethernet controller is connected, and the ETHERNET modules are used to control each ethernet controller and the center
Communication data between device is forwarded.
4. such as communication card of the claim 1-3 any one of them based on cpci bus, which is characterized in that each ether
Net controller carries out the data based on Ethernet with the external equipment by the telecommunications outlet connector of model RJ45 and communicates.
5. such as communication card of the claim 1-3 any one of them based on cpci bus, which is characterized in that the center control
Device is field programmable gate array FPGA.
6. such as communication card of the claim 1-3 any one of them based on cpci bus, which is characterized in that the cpci bus
Control unit is compact PCI9030.
7. a kind of data communications method, which is characterized in that include the following steps:
Establish the communication connection between central controller and cpci bus control unit, multiple ethernet controllers;
It is form as defined in Ethernet by the format conversion of the first data, and by the first data after format transformation by described
Centre controller is transmitted to the multiple ethernet controller, wherein, first data are the communication based on cpci bus
Board is exported to the data of external equipment;
The interface circuit of pair the cpci bus control unit being connected with the central controller and each ethernet controller
Sequential controlled, and the communication data between the cpci bus control unit and the multiple ethernet controller into
Row forwarding;
Data exchange is carried out by the multiple ethernet controller and the external equipment, each ethernet controller is used for will
Receive its format conversions of the second data in ethernet networks be form as defined in cpci bus, wherein, described second
Data are input to the data of the communication card based on cpci bus for the external equipment.
8. data communications method as claimed in claim 7, which is characterized in that further include:
First data and second data are stored.
9. data communications method as claimed in claim 8, which is characterized in that the described pair of institute being connected with the central controller
The sequential for stating the interface circuit of cpci bus control unit and each ethernet controller is controlled, and to the cpci bus
Communication data between control unit and the multiple ethernet controller is forwarded, including:
It is connected by CPCI moulds CPCI read-write control units in the block with the cpci bus control unit, the CPCI modules are used
It is forwarded in the communication data between the cpci bus control unit and the central controller;
Be connected by SRAM module with SRAM interface circuit, the SRAM module be used for the SRAM interface circuit and it is described in
Communication data between the controller of centre is forwarded;
It is connected by ETHERNET moulds ETHERNET read-write control units in the block with the multiple ethernet controller, it is described
Communication data of the ETHERNET modules between each ethernet controller and the central controller is forwarded.
10. such as claim 7-9 any one of them data communications methods, which is characterized in that described to pass through multiple ether network controls
Device processed carries out data exchange with the external equipment, including:
Each ethernet controller is based on by the telecommunications outlet connector of model RJ45 with the external equipment
The data communication of Ethernet.
11. such as claim 7-9 any one of them data communications methods, which is characterized in that the central controller is scene
Programming logic gate array FPGA.
12. such as claim 7-9 any one of them data communications methods, which is characterized in that the cpci bus control unit
For compact PCI9030.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611251454.1A CN108259287B (en) | 2016-12-29 | 2016-12-29 | Communication board card based on CPCI bus and data communication method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611251454.1A CN108259287B (en) | 2016-12-29 | 2016-12-29 | Communication board card based on CPCI bus and data communication method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108259287A true CN108259287A (en) | 2018-07-06 |
CN108259287B CN108259287B (en) | 2021-09-03 |
Family
ID=62721514
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611251454.1A Active CN108259287B (en) | 2016-12-29 | 2016-12-29 | Communication board card based on CPCI bus and data communication method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108259287B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201869207U (en) * | 2010-10-29 | 2011-06-15 | 苏州大学 | Converter for data communication |
CN201928295U (en) * | 2011-01-07 | 2011-08-10 | 北京捷世伟业电子科技有限公司 | Network card |
CN102611601A (en) * | 2012-03-27 | 2012-07-25 | 苏州大学 | E1 transceiving card for transmitting Ethernet data by CPCI bus |
CN103580970A (en) * | 2012-07-26 | 2014-02-12 | 中国北车股份有限公司大连电力牵引研发中心 | Communication board card based on VME bus and data communication method |
US20140281104A1 (en) * | 2013-03-15 | 2014-09-18 | Sofin Raskin | System and method of sending pci express data over ethernet connection |
CN104363168A (en) * | 2014-12-05 | 2015-02-18 | 中国北车集团大连机车研究所有限公司 | Locomotive mounted general data communication gateway |
-
2016
- 2016-12-29 CN CN201611251454.1A patent/CN108259287B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201869207U (en) * | 2010-10-29 | 2011-06-15 | 苏州大学 | Converter for data communication |
CN201928295U (en) * | 2011-01-07 | 2011-08-10 | 北京捷世伟业电子科技有限公司 | Network card |
CN102611601A (en) * | 2012-03-27 | 2012-07-25 | 苏州大学 | E1 transceiving card for transmitting Ethernet data by CPCI bus |
CN103580970A (en) * | 2012-07-26 | 2014-02-12 | 中国北车股份有限公司大连电力牵引研发中心 | Communication board card based on VME bus and data communication method |
US20140281104A1 (en) * | 2013-03-15 | 2014-09-18 | Sofin Raskin | System and method of sending pci express data over ethernet connection |
CN104363168A (en) * | 2014-12-05 | 2015-02-18 | 中国北车集团大连机车研究所有限公司 | Locomotive mounted general data communication gateway |
Also Published As
Publication number | Publication date |
---|---|
CN108259287B (en) | 2021-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN202679397U (en) | Real-time industrial Ethernet EtherCAT slave station system | |
CN102801744A (en) | Communication bus protocol and system comprising same | |
CN106487721A (en) | The network equipment and the message forwarding method being used in the network equipment | |
CN105262789A (en) | FPGA (Field Programmable Gate Array)-based MAC (Media Access Control) layer to MAC layer communication system and control method | |
CN107645457A (en) | A kind of PCIe switch system and method | |
CN107943733A (en) | The interconnected method of parallel bus between a kind of veneer | |
CN107436851A (en) | The line shielding system of Serial Peripheral Interface (SPI) four and its control method | |
CN107181702B (en) | Device for realizing RapidIO and Ethernet fusion exchange | |
CN108259287A (en) | Communication card and data communications method based on cpci bus | |
CN207010704U (en) | A kind of conversion equipment and control system | |
CN103901831B (en) | communication system between multi-controller | |
CN107919967A (en) | Band 16 mouthfuls of isolated serial port servers of optical fiber | |
CN107544340A (en) | The data acquisition controller of train | |
CN108182159A (en) | Band 8 mouthfuls of isolated serial port servers of optical fiber | |
CN210804414U (en) | Circuit with reusable communication interface | |
CN210270884U (en) | Cascade expansion system based on SW-ICH2 chip | |
CN105790843B (en) | A kind of optical fibre communication method suitable for Profibus | |
CN105740190A (en) | Method and system for extending MDIO interface by means of SPI interface | |
CN209151300U (en) | A kind of T-type distribution Ethernet line concentrator | |
CN107645638B (en) | Video processor and backplane communication method | |
CN207817464U (en) | A kind of real-time upload Multi Channel Controller of card reader | |
CN206388171U (en) | A kind of standard board | |
CN205490621U (en) | Network communication system | |
CN205540143U (en) | Communication control unit of main website | |
CN204168319U (en) | For realizing the Ethernet switch of network virtualization |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |