CN104038449B - A kind of method, service board and the communication equipment of service board communication - Google Patents
A kind of method, service board and the communication equipment of service board communication Download PDFInfo
- Publication number
- CN104038449B CN104038449B CN201410259105.9A CN201410259105A CN104038449B CN 104038449 B CN104038449 B CN 104038449B CN 201410259105 A CN201410259105 A CN 201410259105A CN 104038449 B CN104038449 B CN 104038449B
- Authority
- CN
- China
- Prior art keywords
- service
- board
- address
- service board
- source
- 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.)
- Active
Links
Landscapes
- Small-Scale Networks (AREA)
Abstract
The embodiments of the invention provide method, service board and the communication equipment of a kind of service board communication, based on this method, license and the outward service of the service board in communication equipment MAC Address can be bound, and service board and other service boards in communication equipment, or remain to proper communication with other communication equipments outside communication equipment.This method includes:Source service board generates the first communication message, the source address of first communication message includes the MAC Address of the IP address of the inward service of source service board and the outward service of source service board, and the destination address of the first communication message includes the MAC Address of the IP address of the inward service of purpose service board and the inward service of purpose service board;Source service board sends the first communication message to power board, to cause power board that the first communication message is forwarded into purpose service board according to the pre-configured forwarding rule of master control borad.This method is applied to communication technical field.
Description
Technical field
The present invention relates to method, service board and the communication of communication technical field, more particularly to a kind of communication of service board
Equipment.
Background technology
Because there are Internet protocol (Internet Protocol, IP) network integrated services, deployment to simplify, set
Standby high integration, miniaturization and the low advantage of initial cost, thus during full IPization network e-learning quality inevitable direction, either
All wireless applications developed towards wireless system, or voice, data and multimedia bearing mode, will all realize full IP.
In existing telecommunication product, communication equipment is communicated by IP network with ancillary equipment, wherein, communication equipment root
It is divided into distributed outlet method and centralized two kinds of outlet method according to outlet method difference, due to being communicated in distributed outlet method
Each communication technology (Communication Technology, CT) veneer of equipment and each information technology (Information
Technology, IT) veneer is directly from the network interface outlet of respective panel, therefore using the communication equipment pair of distributed outlet method
Outer physical internet ports are very more, and the network interface for resulting in the need for safeguarding is very more.
Relative to distributed outlet method, because each CT/IT veneers of centralized outlet method are directly from main control module outlet,
Therefore communication equipment is using centralized outlet method not only easy maintenance, and can save the interchanger of outside, and advantage is more
It is prominent.
Equipment vendor is generally by the license for being authorized in terms of the specific function of a certain product, capacity and useful life
(License is showed in the form of file or sequence number, is generally made up of encrypted code), it is complete with the CT/IT veneers of communication equipment
The media access control address (Media Access Control, MAC) of the unique outward service of ball is bound.
However, when communication equipment is when concentrating by the way of outlet, each IT/CT veneer is all configured to the IP of inward service
Address and the MAC Address of inward service, wherein, internally refer in communication equipment, the IP and MAC of inward service are according to inside
The mark generation of some equipment, for example, according to slot number, frame number etc..Internally in communication process, IT/CT veneers pass through internal
The IP address of business and the MAC Address of inward service are communicated with other IT/CT veneers in the communication equipment.If desired
Communicated with external equipment and (handle outward service), then needed the IP address of the inward service and right in Switching Module
The MAC Address of interior business replaces with the IP address of the outward service communicated with external equipment and the MAC Address of outward service.
But, in this process because the MAC Address that all IT/CT veneers are all configured without outward service uses inward service
MAC, it is impossible to bind license, so as to cause influence on business.
The content of the invention
The invention provides method, service board and the communication equipment of a kind of service board communication, for solving existing skill
Art exist the problem of being impacted because of license can not be bound to business.
To reach above-mentioned purpose, the embodiment of the present invention is adopted the following technical scheme that:
In a first aspect, the embodiments of the invention provide a kind of method of service board communication, this method is applied to concentrate out
The communication equipment of wire type, the communication equipment includes:Master control borad, power board and at least two service boards, wherein, the business sheet
Plate is performed for the veneer of business, and at least two service board includes source service board and purpose service board, each
Service board is connected with the power board, and the master control borad is connected by the power board with each service board,
This method includes:
Source service board generates the first communication message, and first communication message is used for and the purpose in the communication equipment
Veneer is communicated, and the source address of first communication message includes IP address and the institute of the inward service of the source service board
The MAC Address of the outward service of source service board is stated, the destination address of first communication message includes the purpose business sheet
The MAC Address of the inward service of the IP address of the inward service of plate and the purpose service board;
The source service board sends first communication message to power board, to cause the power board according to master control
First communication message is forwarded to the purpose service board by the pre-configured forwarding rule of plate, wherein, the forwarding rule
Including:If the purpose IP address for the communication message that the power board is received is the IP address of inward service, the communication is reported
The MAC Address of the outward service of the source service board in the source address of text is revised as the inward service of the source service board
MAC Address, the MAC Address of the inward service of the purpose service board in the destination address of the communication message is changed
For the MAC Address of the outward service of the purpose service board.
In the first possible embodiment, with reference in a first aspect, this method also includes:
The source service board generates the second communication message, second communication message be used for and the communication equipment outside
Second communication equipment is communicated, and the source address of second communication message includes the IP of the outward service of the source service board
The MAC Address of the outward service of address and the source service board, the destination address of second communication message includes described the
The IP address and MAC Address of two communication equipments;
The source service board sends second communication message to the power board, with cause the power board according to
Second communication message is forwarded to second communication and set by the MAC Address in the destination address of second communication message
It is standby.
In second of possible embodiment, with reference in a first aspect, the IP of the inward service of the source service board
The MAC Address of location and inward service is the frame position number and place of frame of the source service board according to where the source service board
The slot number generation of groove;The IP address of inward service and the MAC Address of inward service of the purpose service board are described
What the frame position number of frame of the purpose service board according to where the purpose service board and the slot number of place groove were generated.
In the third possible embodiment, with reference in a first aspect, the first possible embodiment or second can
Can any of embodiment, generate the first communication message or source service board generation the in the source service board
Before two communication messages, this method also includes:
The source service board receives the outward service for the source service board that the master control borad is configured by power board
MAC Address and outward service IP address.
In the 4th kind of possible embodiment, with reference in a first aspect, the first possible embodiment to the third can
Any of embodiment of energy, the forwarding rule includes access control list ACL rule.
Second aspect, the embodiments of the invention provide a kind of service board, the service board is logical for concentration line-outgoing type
Believe the service board in equipment, the communication equipment includes:Master control borad, power board and at least two service boards, wherein, it is described extremely
Few two service boards include source service board and purpose service board, and the service board is performed for the veneer of business,
Each service board is connected with the power board, and the master control borad is connected by the power board with each service board
Connect, it is characterised in that the service board is the source service board, the source service board includes:Generation unit and transmission
Unit;
The generation unit, for generating the first communication message, first communication message is used for and the communication equipment
Interior purpose veneer is communicated, and the source address of first communication message includes the IP of the inward service of the source service board
The MAC Address of the outward service of address and the source service board, the destination address of first communication message includes the mesh
Service board inward service IP address and the purpose service board inward service MAC Address;
The transmitting element, first communication message for the generation unit to be generated is sent to power board, with
So that first communication message is forwarded to the purpose service board by the power board according to pre-configured forwarding rule, its
In, the forwarding rule includes:If the purpose IP address of the communication message that the power board is received is the IP of inward service
Location, the source industry is revised as by the MAC Address of the outward service of the source service board in the source address of the communication message
The MAC Address of the inward service of business veneer, by the internal of the purpose service board in the destination address of the communication message
The MAC Address of business is revised as the MAC Address of the outward service of the purpose service board.
In the first possible embodiment, with reference to second aspect, the generation unit is additionally operable to:
The second communication message is generated, second communication message is used to enter with the second communication equipment outside the communication equipment
Row communication, the source address of second communication message includes the IP address and the source industry of the outward service of the source service board
The MAC Address of the outward service of business veneer, the destination address of second communication message includes the IP of second communication equipment
Address and MAC Address;
The transmitting element is additionally operable to:Second communication message is sent to the power board, to cause the exchange
Second communication message is forwarded to the communication according to the MAC Address in the destination address of second communication message and set by plate
It is standby.
In second of possible embodiment, with reference to second aspect, the IP of the inward service of the source service board
The MAC Address of location and inward service is the frame position number and place of frame of the source service board according to where the source service board
The slot number generation of groove;The IP address of inward service and the MAC Address of inward service of the purpose service board are described
What the frame position number of frame of the purpose service board according to where the purpose service board and the slot number of place groove were generated.
In the third possible embodiment, with reference to second aspect, the first possible embodiment or second can
Any of embodiment of energy, the source service board also includes:Receiving unit;
The receiving unit, for receive the source service board that the master control borad is configured by power board to field operation
The MAC Address of business and the IP address of outward service.
In the 4th kind of possible embodiment, with reference to second aspect, the first possible embodiment to the third can
Any of embodiment of energy, the forwarding rule includes access control list ACL rule.
The third aspect, the embodiments of the invention provide a kind of communication equipment, the communication equipment is the communication for concentrating line-outgoing type
Equipment, including:Master control borad, power board and at least two service boards, wherein, the service board is performed for the list of business
Plate, at least two service board includes source service board and purpose service board, each service board and the power board
It is connected, the master control borad is connected by the power board with each service board, and the master control borad is used for:
The IP address of outward service corresponding to each service board is configured to each service board and right by power board
The MAC Address of outer business;
To power board configuration forwarding rule, the forwarding rule includes:If the communication message that the power board is received
Purpose IP address is the IP address of inward service, by the source service board in the source address of the communication message to field operation
The MAC Address of business is revised as the MAC Address of the inward service of the source service board, by the destination address of the communication message
The purpose service board inward service MAC Address be revised as the purpose service board outward service MAC
Location, if the purpose IP address for the communication message that the power board is received is the IP address of outward service, is reported according to the communication
MAC Address in the destination address of text is forwarded the communication message;
The source service board, for generating the first communication message, first communication message is used for and the communication is set
Standby interior purpose veneer is communicated, and the source address of first communication message includes the inward service of the source service board
The MAC Address of the outward service of IP address and the source service board, the destination address of first communication message is including described
The MAC Address of the inward service of the IP address of the inward service of purpose service board and the purpose service board;
Or for generating the second communication message, second communication message is used for and the communication equipment outside the communication equipment
Communicated, the source address of second communication message includes the IP address of the outward service of the source service board and the source
The MAC Address of the outward service of service board, the destination address of second communication message is with including the IP of the communication equipment
Location and MAC Address;
First communication message or second communication message are sent to the power board;
The power board, for receiving the forwarding rule that the master control borad is sent;
The first communication message or the second communication message that the source service board is sent are received, and according to the forwarding rule
First communication message or the second communication message are forwarded.
In the first possible embodiment, with reference to the third aspect, the IP of the inward service of the source service board
The MAC Address of location and inward service is the frame position number and place of frame of the source service board according to where the source service board
The slot number generation of groove;The IP address of inward service and the MAC Address of inward service of the purpose service board are described
What the frame position number of frame of the purpose service board according to where the purpose service board and the slot number of place groove were generated.
In second of possible embodiment, with reference to the third aspect or the first possible embodiment, the forwarding
Rule includes access control list ACL rule.
In method provided in an embodiment of the present invention, source address is included to field operation when the veneer of inside communication equipment sends message
The MAC Address of business, and the communication between each device interior veneer is realized by the forwarding rule of the configuration in power board, so
License and the MAC Address of each service board outward service binding can be just realized while communication is ensured, so as to
Preferably to support business.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of communication equipment schematic diagram;
Fig. 2 is another communication equipment schematic diagram;
Fig. 3 is the method flow diagram that a kind of service board communicates;
Fig. 4 is another communication equipment schematic diagram;
Fig. 5 is the method flow diagram that another service board communicates;
Fig. 6 is a kind of service board schematic diagram;
Fig. 7 is another service board schematic diagram;
Fig. 8 is another service board schematic diagram;
Fig. 9 is another communication equipment schematic diagram.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
Embodiment one
With reference to Fig. 1, exemplary is described when communication equipment is using internal structure when concentrating outlet method, and the communication is set
It is standby to be mainly made up of IT veneers, CT veneers, power board and master control borad.Wherein, IT veneers and CT veneers contribute to execution business
Veneer, CT veneers mainly realize CT business, and IT veneers are mainly used in realizing IT business;Power board is mainly used in undertaking each list
The information or data exchange of plate, interconnected communication function etc., general to be exchanged using broadband IP, i.e., internal lan switching network is constituted, each
Service board is connected with each other by Switching Module and communicated;Master control borad realizes the management for IT, CT veneer and power board, and
Realize initialization to switching network and switching network management etc., at the same in completion system each hardware component monitoring management, it is described
Master control borad is connected by the power board with each service board.
It should be noted that power board and master control borad here is the concept on a logical meaning, it can be understood as
Two functional templates., can (physical boards, which refer to, be placed with various electronic components by two independent physical boards when actually realizing
Pcb board) realize respectively, two parts function is either accomplished into one piece of physical boards or One function module is made into a buckle
(also referred to as daughter board), by some interfaces with realizing that one piece of motherboard of other functions is connected.Similarly, service board is it is also assumed that be
One function template, can also accomplish in one piece of physical boards, but in practice in order to preferably manage, typically will not with other functions
Together with the function of service board is accomplished with exchange, control function, and with the form individualism of one piece of Physical board.
There are two exchange planes in communication equipment as shown in Figure 1, in power board, one is to safeguard plane, major deployments
In basic (BASE) bus, another is service plane, and major deployments are in structure (FABRIC) bus.With reference to Fig. 1, each
At least one network interface of IT/CT veneers carries out the inside between the service board in the communication equipment with safeguarding that plane is connected
Communication, performs the function of safeguarding hardware interior business;At least one network interface of each IT/CT veneers is connected with service plane, enters
Communication between service board in the row communication equipment and communicated with the other equipment beyond the communication equipment,
In the prior art, each service board passes through in the IP address of inward service and the MAC Address and communication equipment of inward service
Other communication equipments outside other service boards and the communication equipment in portion are communicated.
The only one of which exchange plane in the power board of fairly simple communication equipment, that is, safeguard that plane is closed with service plane
One, now, with reference to Fig. 2, each at least one network interface of IT/CT veneers is connected with the exchange plane, still, it is contemplated that if one
If only one of which network interface is connected with exchange plane in individual IT/CT veneers, when the network interface breaks down, whole IT/CT veneers will not
It can use, part work can not be completed, and generally, each IT/CT veneers have two or more network interfaces and exchange plane phase
Even, it is ensured that the reliability of communication equipment.
Certainly, the number of the communication equipment exchange plane of complexity is more, except working as communication described by Fig. 1 and Fig. 2
Equipment has two and an exchange plane respectively using when concentrating outlet method, and some complicated communication equipments there may also be multiple
Exchange plane.
Specifically, the MAC Address to solve each service board outward service of concentration line-outgoing type inside communication equipment
The problem of being bound with license, the embodiments of the invention provide a kind of method of service board communication, with reference to Fig. 3, the party
Method includes:
301st, source service board generate the first communication message, first communication message be used for and the communication equipment in
Purpose veneer is communicated, and the source address of first communication message includes the IP address of the inward service of the source service board
With the MAC Address of the outward service of the source service board, the destination address of first communication message includes the purpose industry
The MAC Address of the IP address of the inward service of business veneer and the inward service of the purpose service board.
Specifically, this method is applied to a kind of communication equipment of concentration line-outgoing type, as shown in figure 4, being a kind of concentration
The rough schematic view of line-outgoing type communication equipment, in the concentration line-outgoing type communication equipment, master control borad is that each service board is prewired
Put the IP address of outward service and the MAC Address of outward service.The IP address and inward service of each service board inward service
MAC Address be the IP address and MAC Address being internally identified to veneer, uniquely address, specifically, each business
Veneer can generate the IP address and inward service of inward service according to the frame position number of frame where it and the slot number of place groove
MAC Address, wherein, the service board is IT/CT veneers, for performing IT/CT business.
It should be noted that the inward service refers to a service board and another business in same communication equipment
Veneer is communicated, and the outward service refers to other outside service board and the communication equipment in a communication equipment
Communication equipment is communicated.
Because each service board can only have a MAC Address, be each service board outward service MAC Address with
The purpose that license is bound, each service board passes through the MAC Address of outward service and other in the communication equipment
Service board and communicated with the other equipment outside the communication equipment.
Specifically, with reference to Fig. 4, using service board 1 as source service board, using service board 2 as purpose service board,
When the source service board is needed and the purpose veneer is communicated, the first communication message, the first communication report are generated
The source address of text includes the MAC of the IP address of the inward service of the source service board and the outward service of the source service board
Address, the destination address of first communication message includes the IP address and the mesh of the inward service of the purpose service board
Service board inward service MAC Address.
MAC Address in the destination address of first communication message is the inward service of the purpose service board
MAC Address, rather than outward service MAC Address the reason for be, each service board in the communication equipment, described logical
When believing that equipment starts, the IP address of inward service is generated by the frame position number of frame where its own and the slot number of place groove
With the MAC Address of inward service, and the place frame for passing through other service boards in the communication equipment frame position number and place
The slot number of groove obtains the IP address of the inward service of other service boards and the MAC Address of inward service.
For example, the source service board is when described communication device initiated, according to frame where the source service board
Frame position number and place groove slot number obtain the source service board inward service IP address and the MAC of inward service
Location, also, the frame position number of the source service board place frame that passes through other service boards in the communication equipment and place
The slot number of groove obtains the IP address of the inward service of other service boards and the MAC Address of inward service, wherein it is described other
Service board includes the purpose service board.
The source service board safeguards a forwarding information, and the forwarding information can be the form of forwarding information table,
Can be other forms, specifically, the embodiment of the present invention is not limited this.
The IP of the inward service for other service boards that the source service board is calculated is maintain in the forwarding information
Address and the MAC Address of inward service, when the source service board needs to be communicated to purpose service board, the source industry
Business veneer can only know the IP address and the MAC Address of inward service of the inward service of the purpose service board, can not obtain
Know the MAC Address for the outward service that the purpose service board is configured.
So do it is also an advantage that being, for example, frame groove number uses veneer A for 1 frame groove, and frame groove number is 2
Frame groove use board B, now, veneer A and board B can know the inward service of itself and other side IP address and
The MAC Address of inward service, when veneer A breaks down, frame groove number enables standby board C for 1 frame groove, now, the list
The IP address of plate C inward service and the MAC Address of inward service be the inward service of the veneer A IP address and internally
The MAC of business, the board B for the frame groove that the frame groove number is 2 needs the veneer for the frame groove for being 1 with the frame groove number to be communicated
When, also using original veneer A inward service IP address and inward service MAC Address as destination address, be not required to
Veneer used in the frame groove that frame groove number is 1 is perceived by veneer A to this change of veneer C, the work to software view is reduced
Make, it is ensured that the continuum one of system, improve the compatibility of system, reduce the recovery time of failure, be general technology
Scheme.
302nd, the source service board sends first communication message to power board, with cause the power board according to
First communication message is forwarded to the purpose service board by the pre-configured forwarding rule of master control borad, wherein, the forwarding
Rule includes:, will be described logical if the purpose IP address for the communication message that the power board is received is the IP address of inward service
Believe that the MAC Address of the outward service of the source service board in the source address of message is revised as the internal of the source service board
The MAC Address of business, by the MAC Address of the inward service of the purpose service board in the destination address of the communication message
It is revised as the MAC Address of the outward service of the purpose service board.
The source service board is generated after first communication message, and first communication message is sent to the communication
The power board of equipment, the purpose service board is forwarded to by the power board by first communication message.
But, it is and described due to the MAC Address that the MAC Address of the purpose service board actual disposition is outward service
MAC Address in the destination address of first communication message is the MAC Address of the inward service of the purpose service board, also,
The MAC Address of the source service board in the forwarding information safeguarded in the purpose service board is the source service board
The MAC Address of inward service, and the MAC Address of source service board described in the communication message is pair of the source service board
The MAC Address of outer business, it is impossible to first communication message is directly forwarded to the purpose service board.
At this time, it may be necessary to which power board is that the pre-configured forwarding rule of the power board reports the described first communication by master control borad
Text is forwarded, and the forwarding rule can include acl rule, and the forwarding rule includes:
If the purpose IP address for the communication message that the power board is received is the IP address of inward service, by the communication
The MAC Address of the outward service of the source service board in the source address of message is revised as the internal industry of the source service board
The MAC Address of business, the MAC Address of the inward service of the purpose service board in the destination address of the communication message is repaiied
It is changed to the MAC Address of the outward service of the purpose service board.
After the power board is modified according to forwarding rule to the first communication message, amended message is forwarded to institute
State purpose service board.
Further, communicated for the source service board with the second communication equipment outside the communication equipment
Situation, the embodiments of the invention provide a kind of method of service board communication, with reference to Fig. 5, this method includes:
501st, the source service board generates the second communication message, and second communication message is used for and the communication equipment
The second outer communication equipment is communicated, and the source address of second communication message includes the outward service of the source service board
IP address and the source service board outward service MAC Address, the destination address of second communication message includes institute
State the IP address and MAC Address of the second communication equipment.
502nd, the source service board sends second communication message to the power board, to cause the power board
Second communication message is forwarded to second communication by the MAC Address in the destination address of second communication message
Equipment.
After the source service board sends second communication message to the power board, the power board is according to pre-
The forwarding rule of configuration, it is not the IP address of inward service to determine the IP address in the destination address of second communication message,
Second communication message is forwarded to institute by the power board according to the MAC Address in the destination address of second communication message
State the second communication equipment.
In method provided in an embodiment of the present invention, when sending message using the veneer for the inside communication equipment for concentrating outlet
Source address includes the MAC Address of outward service, and realizes by the forwarding rule of the configuration in power board each device interior
Communication between veneer, can thus realize license and each service board outward service MAC while communication is ensured
The binding (i.e. each veneer all configures outward service MAC Address, and is bound with license) of address, so as to more preferable twelve Earthly Branches
Hold business.Meanwhile, when the veneer in the embodiment of the present invention needs correspondence with foreign country, external IP and external MAC Address can be used
Communicated, power board need not carry out specially treated, directly can be forwarded according to destination address, realized simple.
In addition, in the embodiment of the present invention, the IP address in message still can use external IP of the prior art and
Internal IP is communicated, without carrying out extra process, so as to realize simply, reduces modification cost.
Embodiment two
The embodiments of the invention provide a kind of service board, the service board is source service board, described with reference to Fig. 6
Service board includes:Generation unit 601 and transmitting element 602;
The generation unit 601, for generating the first communication message, first communication message is used for and the communication is set
Standby interior purpose veneer is communicated, and the source address of first communication message includes the inward service of the source service board
The MAC Address of the outward service of IP address and the source service board, the destination address of first communication message is including described
The MAC Address of the inward service of the IP address of the inward service of purpose service board and the purpose service board;
The transmitting element 602, first communication message for the generation unit to be generated is sent to power board,
To cause the power board that first communication message is forwarded into the purpose service board according to pre-configured forwarding rule,
Wherein, the forwarding rule includes:If the purpose IP address for the communication message that the power board is received is the IP of inward service
Address, the source is revised as by the MAC Address of the outward service of the source service board in the source address of the communication message
The MAC Address of the inward service of service board, by pair of the purpose service board in the destination address of the communication message
The MAC Address of interior business is revised as the MAC Address of the outward service of the purpose service board.
Specifically, the generation unit 601 is additionally operable to:
The second communication message is generated, second communication message is used to enter with the second communication equipment outside the communication equipment
Row communication, the source address of second communication message includes the IP address and the source industry of the outward service of the source service board
The MAC Address of the outward service of business veneer, the destination address of second communication message includes the IP of second communication equipment
Address and MAC Address;
The transmitting element 602 is additionally operable to:Second communication message is sent to the power board, to cause the friendship
Change plate and second communication message is forwarded to by the communication according to the MAC Address in the destination address of second communication message
Equipment.
Specifically, the IP address of inward service and the MAC Address of inward service of the source service board are the source industry
It is engaged in what the frame number of frame of the veneer according to where the source service board was generated with the slot number of place groove;The purpose business sheet
The IP address of the inward service of plate and the MAC Address of inward service are the purpose service boards according to the purpose service board
What the frame position number of the frame at place and the slot number of place groove were generated.
Specifically, with reference to Fig. 7, the service board also includes:Receiving unit 603;
The receiving unit 603, pair for receiving the source service board that the master control borad is configured by power board
The MAC Address of outer business and the IP address of outward service.
Optionally, the forwarding rule includes access control list ACL rule.
Source address includes the MAC Address of outward service when service board provided in an embodiment of the present invention sends message, and leads to
Cross the forwarding rule of the configuration in power board to realize the communication between each device interior veneer, can thus ensure communication
While realize license and each service board outward service MAC Address binding, so as to preferably support industry
Business.Meanwhile, when the veneer in the embodiment of the present invention needs correspondence with foreign country, external IP and external MAC Address can be used to carry out
Communication, power board need not carry out specially treated, directly can be forwarded according to destination address, realize simple.
In addition, in the embodiment of the present invention, the IP address in message still can use external IP of the prior art and
Internal IP is communicated, without carrying out extra process, so as to realize simply, reduces modification cost.
Embodiment three
The embodiments of the invention provide a kind of service board, the service board is source service board, with reference to Fig. 8, the industry
Business veneer includes:Processor 801, bus 802, memory 803 and transmitter 804, wherein, the processor 801 is by described
Bus 802 calls the instruction read and stored in the memory 803, for perform the business described in previous embodiment one
The method that veneer is performed, its specific method and acquired effect may be referred to previous embodiment, repeat no more here.
Example IV
The embodiments of the invention provide a kind of communication equipment, with reference to Fig. 9, the communication equipment includes:Master control borad 901, is exchanged
The service board 903 of plate 902 and at least two, wherein, the service board 903 is performed for the veneer of business, it is described at least
Two service boards 903 include source service board 9031 and purpose service board 9032, and each service board 903 is exchanged with described
Plate 902 is connected, and the master control borad 901 is connected by the power board with each service board, it is characterised in that institute
Stating master control borad 901 is used for:
The IP of the outward service corresponding to each service board 903 is configured to each service board 903 by power board 902
Address and the MAC Address of outward service;
To the configuration forwarding rule of power board 902, the forwarding rule includes:If the communication that the power board 902 is received
The purpose IP address of message is the IP address of inward service, by the source service board in the source address of the communication message
The MAC Address of outward service is revised as the MAC Address of the inward service of the source service board, by the purpose of the communication message
The MAC Address of the inward service of the purpose service board in address is revised as the outward service of the purpose service board
MAC Address, if the purpose IP address for the communication message that the power board is received is the IP address of outward service, according to described logical
Believe that the MAC Address in the destination address of message is forwarded the communication message;
The source service board 9031, for generating the first communication message, first communication message is used for and described logical
Purpose veneer 9032 in letter equipment is communicated, and the source address of first communication message includes pair of the source service board
The MAC Address of the outward service of the IP address of interior business and the source service board, the destination address of first communication message
The MAC Address of the inward service of the IP address of inward service including the purpose service board and the purpose service board;
Or for generating the second communication message, second communication message is used for and the communication equipment outside the communication equipment
Communicated, the source address of second communication message includes the IP address of the outward service of the source service board and the source
The MAC Address of the outward service of service board, the destination address of second communication message is with including the IP of the communication equipment
Location and MAC Address;
First communication message or second communication message are sent to the power board 902;
The power board 902, for receiving the forwarding rule that the master control borad is sent;
The first communication message or the second communication message that the source service board 9031 is sent are received, and according to the forwarding
Rule is forwarded first communication message or the second communication message.
Specifically, the IP address of inward service and the MAC Address of inward service of the source service board are the source industry
It is engaged in what the frame number of frame of the veneer according to where the source service board was generated with the slot number of place groove;The purpose business sheet
The IP address of the inward service of plate and the MAC Address of inward service are the purpose service boards according to the purpose service board
What the frame position number of the frame at place and the slot number of place groove were generated.
Optionally, the forwarding rule includes access control list ACL rule.
It is that each service board is configured with pair in the communication equipment the embodiments of the invention provide a kind of communication equipment
The IP address of interior business, the IP address of outward service, the MAC Address of outward service is that conversion board is provided with forwarding rule so that
The service board passes through the IP address of inward service, the MAC Address of outward service and other business in the communication equipment
Veneer is communicated, or its outside the IP address and the MAC Address of outward service by outward service and the communication equipment
When his communication equipment is communicated, the communication message of generation successfully can be forwarded to destination by the power board, from
And realize the purpose that the MAC Address of the outward service of the service board and license are bound.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
Programmed instruction related hardware is completed, and foregoing program can be stored in a computer read/write memory medium, the program
Upon execution, the step of including above method embodiment is performed;And foregoing storage medium includes:ROM, RAM, magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (13)
1. a kind of method of service board communication, this method is applied to concentrate the communication equipment of line-outgoing type, the communication equipment includes:
Master control borad, power board and at least two service boards, wherein, the service board is performed for the veneer of business, it is described extremely
Few two service boards include source service board and purpose service board, and each service board is connected with the power board, institute
State master control borad by the power board with each service board to be connected, it is characterised in that this method includes:
Source service board generates the first communication message, and first communication message is used for and the purpose veneer in the communication equipment
Communicated, the source address of first communication message includes the IP address of the inward service of the source service board and the source
The MAC Address of the outward service of service board, the destination address of first communication message includes the purpose service board
The MAC Address of the inward service of the IP address of inward service and the purpose service board;
The source service board sends first communication message to power board, to cause the power board pre- according to master control borad
First communication message is forwarded to the purpose service board by the forwarding rule of configuration, wherein, the forwarding rule includes:
If the purpose IP address for the communication message that the power board is received is the IP address of inward service, by the source of the communication message
The MAC Address of the outward service of the source service board in address is revised as the MAC of the inward service of the source service board
Address, institute is revised as by the MAC Address of the inward service of the purpose service board in the destination address of the communication message
State the MAC Address of the outward service of purpose service board.
2. according to the method described in claim 1, it is characterised in that this method also includes:
The source service board generates the second communication message, and second communication message is used for and second outside the communication equipment
Communication equipment is communicated, and the source address of second communication message includes the IP address of the outward service of the source service board
With the MAC Address of the outward service of the source service board, the destination address of second communication message includes described second and led to
Believe the IP address and MAC Address of equipment;
The source service board sends second communication message to the power board, to cause the power board according to described
Second communication message is forwarded to second communication equipment by the MAC Address in the destination address of the second communication message.
3. according to the method described in claim 1, it is characterised in that the IP address of the inward service of the source service board and right
The MAC Address of interior business is frame position number and the groove of place groove of frame of the source service board according to where the source service board
Position number generation;The IP address of inward service and the MAC Address of inward service of the purpose service board are the purpose industry
It is engaged in what the frame number of frame of the veneer according to where the purpose service board was generated with the slot number of place groove.
4. the method according to claim any one of 1-3, it is characterised in that communicated in source service board generation first
Message or the source service board are generated before the second communication message, and this method also includes:
The source service board receives the MAC of the outward service for the source service board that the master control borad is configured by power board
Address and the IP address of outward service.
5. according to the method described in claim 1, it is characterised in that the forwarding rule includes access control list ACL rule.
6. the service board in a kind of service board, communication equipment of the service board to concentrate line-outgoing type, the communication equipment
Including:Master control borad, power board and at least two service boards, wherein, at least two service board includes source service board
With purpose service board, the service board is performed for the veneer of business, and each service board is connected with the power board
Connect, the master control borad is connected by the power board with each service board, it is characterised in that the service board is
The source service board, the source service board includes:Generation unit and transmitting element;
The generation unit, for generating the first communication message, first communication message be used for and the communication equipment in
Purpose veneer is communicated, and the source address of first communication message includes the IP address of the inward service of the source service board
With the MAC Address of the outward service of the source service board, the destination address of first communication message includes the purpose industry
The MAC Address of the IP address of the inward service of business veneer and the inward service of the purpose service board;
The transmitting element, first communication message for the generation unit to be generated is sent to power board, to cause
First communication message is forwarded to the purpose service board by the power board according to pre-configured forwarding rule, wherein,
The forwarding rule includes:If the purpose IP address for the communication message that the power board is received is the IP address of inward service,
The MAC Address of the outward service of the source service board in the source address of the communication message is revised as the source business sheet
The MAC Address of the inward service of plate, by the inward service of the purpose service board in the destination address of the communication message
MAC Address be revised as the purpose service board outward service MAC Address.
7. service board according to claim 6, it is characterised in that the generation unit is additionally operable to:
The second communication message is generated, second communication message is used to be led to the second communication equipment outside the communication equipment
Letter, the source address of second communication message includes the IP address and the source business sheet of the outward service of the source service board
The MAC Address of the outward service of plate, the destination address of second communication message includes the IP address of second communication equipment
And MAC Address;
The transmitting element is additionally operable to:Second communication message is sent to the power board, to cause the power board root
Second communication message is forwarded to the communication equipment according to the MAC Address in the destination address of second communication message.
8. service board according to claim 6, it is characterised in that the IP address of the inward service of the source service board
MAC Address with inward service is frame position number and the place groove of frame of the source service board according to where the source service board
Slot number generation;The IP address of inward service and the MAC Address of inward service of the purpose service board are the mesh
The frame position number of frame of the service board according to where the purpose service board and the slot number of place groove generate.
9. the service board according to claim any one of 6-8, it is characterised in that the source service board also includes:Connect
Receive unit;
The receiving unit, the outward service for receiving the source service board that the master control borad is configured by power board
The IP address of MAC Address and outward service.
10. service board according to claim 6, it is characterised in that the forwarding rule includes access control list ACL
Rule.
11. a kind of communication equipment, the communication equipment is the communication equipment for concentrating line-outgoing type, including:Master control borad, power board and at least
Two service boards, wherein, the service board is performed for the veneer of business, and at least two service board includes source
Service board and purpose service board, each service board are connected with the power board, and the master control borad is exchanged by described
Plate is connected with each service board, it is characterised in that the master control borad is used for:
The IP address of outward service corresponding to each service board is configured to each service board and to field operation by power board
The MAC Address of business;
To power board configuration forwarding rule, the forwarding rule includes:If the purpose for the communication message that the power board is received
IP address is the IP address of inward service, by the outward service of the source service board in the source address of the communication message
MAC Address is revised as the MAC Address of the inward service of the source service board, by the institute in the destination address of the communication message
State the inward service of purpose service board MAC Address be revised as the purpose service board outward service MAC Address, if
The purpose IP address for the communication message that the power board is received is the IP address of outward service, according to the mesh of the communication message
Address in MAC Address the communication message is forwarded;
The source service board, for generating the first communication message, first communication message be used for and the communication equipment in
Purpose veneer communicated, the source address of first communication message is with including the IP of the inward service of the source service board
The MAC Address of the outward service of location and the source service board, the destination address of first communication message includes the purpose
The MAC Address of the inward service of the IP address of the inward service of service board and the purpose service board;
Or for generating the second communication message, second communication message is used to carry out with the communication equipment outside the communication equipment
Communication, the source address of second communication message includes the IP address and the source business of the outward service of the source service board
The MAC Address of the outward service of veneer, the destination address of second communication message include the communication equipment IP address and
MAC Address;
First communication message or second communication message are sent to the power board;
The power board, for receiving the forwarding rule that the master control borad is sent;
The first communication message or the second communication message that the source service board is sent are received, and it is regular by institute according to the forwarding
State the first communication message or the second communication message is forwarded.
12. communication equipment according to claim 11, it is characterised in that the IP of the inward service of the source service board
The MAC Address of location and inward service is the frame position number and place of frame of the source service board according to where the source service board
The slot number generation of groove;The IP address of inward service and the MAC Address of inward service of the purpose service board are described
What the frame position number of frame of the purpose service board according to where the purpose service board and the slot number of place groove were generated.
13. the communication equipment according to claim 11 or 12, it is characterised in that the forwarding rule includes access control row
Table A CL rules.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410259105.9A CN104038449B (en) | 2014-06-11 | 2014-06-11 | A kind of method, service board and the communication equipment of service board communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410259105.9A CN104038449B (en) | 2014-06-11 | 2014-06-11 | A kind of method, service board and the communication equipment of service board communication |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104038449A CN104038449A (en) | 2014-09-10 |
CN104038449B true CN104038449B (en) | 2017-09-29 |
Family
ID=51469041
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410259105.9A Active CN104038449B (en) | 2014-06-11 | 2014-06-11 | A kind of method, service board and the communication equipment of service board communication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104038449B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105591722B (en) * | 2015-08-28 | 2019-05-07 | 新华三技术有限公司 | A kind of interplate communication method and device |
CN111866008B (en) * | 2017-07-14 | 2022-05-31 | 创新先进技术有限公司 | Service data processing method, service processing method and equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1472945A (en) * | 2002-08-02 | 2004-02-04 | 深圳市中兴通讯股份有限公司 | Board to board communication between distribution system objects |
CN101001263A (en) * | 2006-01-09 | 2007-07-18 | 中兴通讯股份有限公司 | Method for configuring MAC address at each node in inner exchange network |
CN101159583A (en) * | 2007-08-28 | 2008-04-09 | 华为技术有限公司 | Inter-plate communication method, system and device |
CN101217394A (en) * | 2007-12-29 | 2008-07-09 | 上海华为技术有限公司 | A veneer groove bit mark collocation method, core veneer, and operation veneer and communication system |
CN102843253A (en) * | 2011-06-23 | 2012-12-26 | 中兴通讯股份有限公司 | Multi-sub-rack communication device and method and device of communication of multi-sub-rack communication device |
-
2014
- 2014-06-11 CN CN201410259105.9A patent/CN104038449B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1472945A (en) * | 2002-08-02 | 2004-02-04 | 深圳市中兴通讯股份有限公司 | Board to board communication between distribution system objects |
CN101001263A (en) * | 2006-01-09 | 2007-07-18 | 中兴通讯股份有限公司 | Method for configuring MAC address at each node in inner exchange network |
CN101159583A (en) * | 2007-08-28 | 2008-04-09 | 华为技术有限公司 | Inter-plate communication method, system and device |
CN101217394A (en) * | 2007-12-29 | 2008-07-09 | 上海华为技术有限公司 | A veneer groove bit mark collocation method, core veneer, and operation veneer and communication system |
CN102843253A (en) * | 2011-06-23 | 2012-12-26 | 中兴通讯股份有限公司 | Multi-sub-rack communication device and method and device of communication of multi-sub-rack communication device |
Also Published As
Publication number | Publication date |
---|---|
CN104038449A (en) | 2014-09-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103647777B (en) | Safety certificate method and bidirectional forwarding detection BFD equipment | |
CN105260337B (en) | A kind of automatic addressing method and system of single-chip microcomputer | |
CN102209064B (en) | Method of using VRRP to provide backup for access equipment and VRRP gateway equipment | |
CN105099786B (en) | The method and apparatus of business configuration in a kind of network cutover | |
CN104486103A (en) | Message transmission method and equipment | |
CN102273178A (en) | Method, platform device and system for setting service single-board address | |
CN105763472A (en) | Trans-board forwarding method and device | |
CN104038449B (en) | A kind of method, service board and the communication equipment of service board communication | |
CN104184645B (en) | A kind of method, equipment and system for generating operation requests | |
CN108470235A (en) | A kind of industrial equipment management system, method and relevant apparatus | |
CN104919762A (en) | Control method in software-defined network, control device, and processor | |
CN105260837A (en) | Teaching management system and teaching management method thereof | |
CN105700924A (en) | Method and device for burning program of multiple modules | |
CN203706058U (en) | CAN bus based multi-I/O board card expansion structure | |
CN102884515B (en) | Serial ports re-orientation processes method, apparatus and system | |
CN110517061A (en) | A kind of generation method of discount coupon, device and server | |
CN102801686A (en) | Equipment control method, main equipment, secondary equipment as well as main-secondary equipment group | |
CN105812413A (en) | Communication method and device | |
CN102098196A (en) | Data transmission method of blade server | |
CN104536759A (en) | Method for implementing universal platform managed by service disk system | |
JP2016225985A (en) | Method of controlling inverters | |
CN103384222B (en) | A kind of method of data stream matches ACL | |
CN103004157B (en) | Interface register method and device for network device to join cluster system | |
CN102571392A (en) | Method and device for configuring data of data communication device | |
CN102789388A (en) | Method and system for adding network card function to MIPS frame server based on BMC |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |