CN102571587B - Method and equipment for forwarding messages - Google Patents

Method and equipment for forwarding messages Download PDF

Info

Publication number
CN102571587B
CN102571587B CN201210010387.XA CN201210010387A CN102571587B CN 102571587 B CN102571587 B CN 102571587B CN 201210010387 A CN201210010387 A CN 201210010387A CN 102571587 B CN102571587 B CN 102571587B
Authority
CN
China
Prior art keywords
business board
board
message
gateway
address
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
Application number
CN201210010387.XA
Other languages
Chinese (zh)
Other versions
CN102571587A (en
Inventor
吴良智
齐林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201210010387.XA priority Critical patent/CN102571587B/en
Publication of CN102571587A publication Critical patent/CN102571587A/en
Application granted granted Critical
Publication of CN102571587B publication Critical patent/CN102571587B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a method and equipment for forwarding messages and relates to the technical field of wireless communication. The method and the equipment for forwarding the messages are used for increasing the message forwarding efficiency of communication equipment. The method comprises the following steps: after the messages are received by a gateway board, reading a preconfigured forwarding table, wherein the forwarding table contains at least one table entry, and each table entry contains message header information and the home address of service board; finding out table entries containing the message header information in the messages in the forwarding table; if the table entries containing the message header information in the messages are found, sending the messages to the service boards which correspond to the home addresses of the service boards in the found table entries; if the table entries containing the message header information in the messages are not found, selecting one of the service boards, and sending the messages to the selected service board; and after the messages sent by the gateway board are received by the service boards, processing the messages. By adopting the method and the equipment for forwarding the messages, the message forwarding efficiency of the communication equipment can be increased.

Description

Message forwarding method and equipment
Technical field
The present invention relates to wireless communication field, relate in particular to a kind of message forwarding method and equipment.
Background technology
Along with the all-IPization development of mobile radio communication, the traffic handing capacity of veneer has not met the needs of business development, needs many boards to realize the load sharing of business, adopts Resource Pool Pattern to realize the load sharing of business.
The realization of traditional Resource Pool Pattern is by the network address, to transform (Net Address Transfer, NAT) to realize, concrete:
As shown in Figure 1, a plurality of business boards of inside communication equipment are connected with a gateway board, configure public network IP address (as 10.1.1.2) on gateway board, configure IP address of internal network (as 192.168.0.0/24) on business board.
Entering flow path direction, gateway board receives after outside message, first check distributing list, each list item in distributing list comprises source IP address, source port, protocol type and business board IP address, determine the list item that whether has the source IP address, source port and the protocol type that comprise in the message receiving in this distributing list, if exist, the object IP address in the message receiving replaced with to the business board IP address in this list item, and this message is delivered to business board corresponding to this business board IP address; If do not exist, adopt polling to select a business board, the object IP address in the message receiving is replaced with to the IP address of the business board of selection, and this message is delivered to the business board of selection.
Going out flow path direction, the message that business board sends needs by default gateway is delivered to gateway board, and gateway board replaces with the source IP address in this message the IP address of gateway board, and this message is sent.
In realizing process of the present invention, inventor finds to exist in prior art following technical problem:
The realization of traditional Resource Pool Pattern all needs IP address to replace on packet sending and receiving is two-way, causes the forward efficiency of message low; Meanwhile, owing to externally can only representing the IP address that an IP address is gateway board, cause all messages all must pass through a gateway board, therefore there is the performance bottleneck of gateway board, when this gateway board breaks down, communication equipment just can not be received and dispatched message, causes communication disruption.
Summary of the invention
The embodiment of the present invention provides a kind of message forwarding method and equipment, for improving communication equipment in the message repeating efficiency entering on flow path direction.
A kind of message forwarding method, in the communication equipment that is applied to comprise at least one gateway board and business board, each business board is connected with each gateway board, the IP address configuring on gateway board and business board is public network IP address, the public network IP address configuring on each business board is identical, the public network IP address configuring on each gateway board is different, and gateway board is different with the public network IP address configuring on business board, and the method comprises:
Gateway board receives after the message of the outside IP address that comprises business board sending, and reads pre-configured transmitting; In transmitting, search the list item of the heading information comprising in described message; If find, described message is sent to the business board corresponding to home address of business board in the list item finding; If do not find, select a business board, described message is sent to the business board of selection, and at the list item of transmitting the home address of the business board that middle interpolation comprises heading information in described message and selection;
Business board receives after the described message of gateway board transmission, and described message is processed;
Wherein, described in comprise at least one list item in transmitting, in each list item, comprise the home address of heading information and business board, the home address of business board is for identifying the position of corresponding business board in described communication equipment.
A kind of message forwarding equipment, this equipment comprises at least one gateway board and business board, each business board is connected with each gateway board, the IP address configuring on gateway board and business board is public network IP address, the public network IP address configuring on each business board is identical, the public network IP address configuring on each gateway board is different, and gateway board is different with the public network IP address configuring on business board; Wherein,
Gateway board, for receiving after the message of the outside IP address that comprises business board sending, reads pre-configured transmitting; In transmitting, search the list item of the heading information comprising in described message; If find, described message is sent to the business board corresponding to home address of business board in the list item finding; If do not find, select a business board, described message is sent to the business board of selection, and at the list item of transmitting the home address of the business board that middle interpolation comprises heading information in described message and selection;
Business board, for receiving after the described message of gateway board transmission, processes described message;
Wherein, described in comprise at least one list item in transmitting, in each list item, comprise the home address of heading information and business board, the home address of business board is for identifying the position of corresponding business board in described communication equipment.
In this programme, because the IP address configuring on business board is also for the public network IP address configuring on public network IP address and each business board is identical, make gateway board when receiving the message of the outside IP address that comprises business board sending, by searching to transmit, determine an object business board or select after an object business board, do not need the object IP address in message to replace with the IP address of internal network of business board, but directly message is sent to object business board, improved and entered the efficiency that flow path direction reports literary composition to forward.
The embodiment of the present invention provides another kind of message forwarding method and equipment, for improving communication equipment in the message repeating efficiency going out on flow path direction.
A kind of message forwarding method, in the communication equipment that is applied to comprise at least one gateway board and business board, each business board is connected with each gateway board, the IP address configuring on gateway board and business board is public network IP address, the public network IP address configuring on each business board is identical, the public network IP address configuring on each gateway board is different, and gateway board is different with the public network IP address configuring on business board, and the method comprises:
Business board generates the message of the IP address that comprises business board that need to send; According to the routing iinformation of each pre-configured gateway board, select a gateway board; Described message is sent to the gateway board of selection;
Gateway board receives the described message that business board sends, and according to pre-configured routing iinformation, described message is sent.
A kind of message forwarding equipment, this equipment comprises at least one gateway board and business board, each business board is connected with each gateway board, the IP address configuring on gateway board and business board is public network IP address, the public network IP address configuring on each business board is identical, the public network IP address configuring on each gateway board is different, and gateway board is different with the public network IP address configuring on business board; Wherein,
Business board, for generating the message of the IP address that comprises business board that need to send; According to the routing iinformation of each pre-configured gateway board, select a gateway board; Described message is sent to the gateway board of selection;
Gateway board, the described message sending for receiving business board, sends described message according to pre-configured routing iinformation.
In this programme, because the IP address configuring on business board is also for the public network IP address configuring on public network IP address and each business board is identical, make business board to gateway board, send after the message of the IP address that comprises business board, gateway board can directly send message, and do not need the source IP address in message to replace with the IP address of gateway board, improved the efficiency that message repeating on flow path direction.
Accompanying drawing explanation
Fig. 1 is that resource pool of the prior art is realized schematic diagram;
The method flow schematic diagram that Fig. 2 provides for the embodiment of the present invention;
The other method schematic flow sheet that Fig. 3 provides for the embodiment of the present invention;
Fig. 4 A is network configuration schematic diagram in the embodiment of the present invention;
Fig. 4 B is the message repeating schematic diagram entering in the embodiment of the present invention on flow path direction;
The device structure schematic diagram that Fig. 5 provides for the embodiment of the present invention.
Embodiment
In order to improve communication equipment in the message repeating efficiency entering on flow path direction, the embodiment of the present invention provides a kind of message forwarding method, in the communication equipment that this method is applied to comprise at least one gateway board and business board, each business board is connected with each gateway board, the IP address configuring on gateway board and business board is public network IP address, the public network IP address configuring on each business board is identical, and the public network IP address configuring on each gateway board is different, and gateway board is different with the public network IP address configuring on business board.
Referring to Fig. 2, the message forwarding method that the embodiment of the present invention provides, comprises the following steps:
Step 20: gateway board receives after the message of the outside IP address that comprises business board sending, and reads pre-configured transmitting; In transmitting, search the list item of the heading information comprising in the message receiving; If find, the message receiving is sent to the business board corresponding to home address of business board in the list item finding; If do not find, select a business board, the message receiving is sent to the business board of selection, and at the list item of transmitting the home address of the business board that middle interpolation comprises heading information in the message receiving and selection; Wherein, this comprises at least one list item in transmitting, and comprises the home address of heading information and business board in each list item, and the home address of business board is for identifying the position of corresponding business board in communication equipment;
Step 21: business board receives after the message of gateway board transmission, and this message is processed.
Preferably, in step 20, after determining the list item do not find the heading information comprising in message and before selecting a business board, gateway board determines in this message, whether to carry link setup request flag; While carrying link setup request flag in determining this message, according to resource pool load sharing algorithm, select a business board.If determine in this message and do not carry link setup request flag, abandon this message.Here, for transmission control protocol (TCP) agreement, link setup request flag is SYN sign, and for SCTP (SCTP) agreement, link setup request flag is INIT sign.
Preferably, in step 20, gateway board determine in message, carry link setup request flag after and according to resource pool load sharing algorithm, select a business board before, gateway board reads pre-configured resource pool information; According to the service request information in the resource pool information reading and message, determine the service whether each business board can provide this message to ask; When determining that each business board can provide the service that this message asks, according to resource pool load sharing algorithm, select a business board.If determine the service that each business board can not provide this message to ask, abandon this message.Wherein, the service type information that this resource pool packets of information provides on each port containing each business board and the home address of each business board.
Concrete, above-mentioned resource pool load sharing algorithm can comprise: adopt polling to choose business board or choose the business board that CPU usage is minimum or choose the business board that memory usage is minimum or choose the minimum business board of the number of users of current service or choose the business board of weighted value minimum of the number of users of CPU usage, memory usage and current service.
Preferably, synchronous in order to realize transmitting of gateway board, to avoid the synchronous flow process of transmitting between multiple gateway plate, after business board receives the message of gateway board transmission, business board, after link setup completes, sends the link acknowledgement message of the home address of the heading information that comprises in this message and this business board to all gateway boards that connect;
Gateway board receives after the link acknowledgement message of business board transmission, in transmitting if local, there is not the list item of the home address of the heading information that comprises in this link acknowledgement message and business board, the list item of the home address that comprises this heading information and this business board in the middle interpolation of transmitting of this locality; Otherwise, this list item in the transmitting of this locality is cured as to dynamic entry.
Preferably, synchronous in order to realize transmitting of gateway board equally, to avoid the synchronous flow process of transmitting between multiple gateway plate, after all gateway boards to connecting send described link acknowledgement message, business board, in the time need to disconnecting communication link corresponding to described message, sends the link circuit deleting message of the home address of the heading information that comprises in described message and this business board to all gateway boards that connect;
Receive the gateway board of the link circuit deleting message that business board sends, the list item that comprises the home address of heading information in this link circuit deleting message and business board in the transmitting of this locality is deleted.
In this programme, in communication equipment, can comprise a plurality of gateway boards, so, message externally can be that mulitpath arrives business board by a plurality of gateway boards, with in communication equipment in prior art, only comprise a gateway board, outside message only can by a gateway board a paths arrive business board and compare, this programme can effectively solve the performance bottleneck problem of gateway board, when certain gateway board breaks down, communication equipment can also receive message by other normal gateway boards.Thereby realize the load sharing and the port protection that become a mandarin.
Heading information in this method can comprise: source IP address, source port information, protocol type information, object IP address and destination interface information etc.
In order to improve communication equipment in the message repeating efficiency going out on flow path direction, the embodiment of the present invention provides another kind of message forwarding method, in the communication equipment that this method is applied to comprise at least one gateway board and business board, each business board is connected with each gateway board, the IP address configuring on gateway board and business board is public network IP address, the public network IP address configuring on each business board is identical, and the public network IP address configuring on each gateway board is different, and gateway board is different with the public network IP address configuring on business board.
Referring to Fig. 3, the another kind of message forwarding method that the embodiment of the present invention provides, comprises the following steps:
Step 30: business board generates the message of the IP address that comprises business board that need to send; According to the routing iinformation of each pre-configured gateway board, select a gateway board; The message of generation is sent to the gateway board of selection;
Step 31: gateway board receives the message that business board sends, and according to pre-configured routing iinformation, message is sent.Here, gateway board receives after the message of business board transmission, does not need the source IP address in message to replace with the IP address of gateway board, but directly according to pre-configured routing iinformation, message is sent.
In step 30, when business board is selected a plurality of gateway board according to the routing iinformation of each pre-configured gateway board, can from the plurality of gateway board, select at random a gateway board; Or, from the plurality of gateway board, select a highest gateway board of priority, employing the method need to be in advance for each gateway board arranges priority.
In this programme, in communication equipment, can comprise a plurality of gateway boards, so, the message of business board can be that mulitpath sends by a plurality of gateway boards, with in communication equipment in prior art, only comprise a gateway board, the message of business board only can by a gateway board a paths send and compare, this programme can effectively solve the performance bottleneck problem of gateway board, when certain gateway board breaks down, business board can also send message by other normal gateway boards.Thereby realize out load sharing and the port protection of stream.
Below the present invention is specifically described:
As shown in Figure 4 A, network configuration is as follows:
On gateway board, configure different public network IP address, i.e. 10.1.1.1 and 10.1.1.3;
On business board, configure identical public network IP address, i.e. 10.1.1.2;
Gateway board externally can connect different routers.
Routing configuration is as follows:
Configuration standard route on gateway board, only configures the routing iinformation of a router on gateway board, gateway board, when receiving the message that business board sends, sends to this router according to this routing iinformation by this message;
On business board, configure multipath route, it is the routing iinformation that configures each gateway board on business board, using two gateway boards all as gateway, business board is when needs outwards send message, routing management module is wherein selected a gateway board according to this routing iinformation, and message is sent to the gateway board of selection.
List item in transmitting is divided into: static entry, and dynamic entry and interim list item, wherein:
Static entry is to configure by configuration interface the fixedly list item that gets off, and the type list item can not on-the-fly modify.
Interim list item is created by gateway board while being link setup, is not identified within a certain period of time, ceases to be in force automatically.
Dynamic entry is by business board protocol stack arrangement, and when link setup success, business board sends link setup acknowledge message to all gateway boards, and it is dynamic entry that business board solidifies this list item after receiving this link setup acknowledge message.Business board is deleted this list item when tearing chain open.
Operation flow is as follows:
Initial configuration: gateway board is according to service needed, resource allocation pond information, the service type information that this resource pool packets of information provides on each port containing each business board and the home address of each business board.
As shown in Figure 4 B, entering on flow path direction:
Step 1: gateway board receives after the message of the outside IP address that comprises business board sending, and reads pre-configured transmitting; In transmitting, search the list item of the heading information comprising in the message receiving; If find, the message receiving is sent to the business board corresponding to home address of business board in the list item finding; If do not find, judge whether this message is new url message, judges in this message whether carry link setup request flag, if not new url message abandons this message; If new url message, read pre-configured resource pool information, according to the service request information in the resource pool information reading and message, judge whether the resource pool of coupling, judge the service whether each business board can provide this message to ask, if there is no the resource pool of coupling, abandon this message; If there is the resource pool of coupling, according to resource pool load sharing algorithm, select a business board, the message receiving is sent to the business board of selection, and at the list item of transmitting the home address of the business board that middle interpolation comprises heading information in the message receiving and selection, the type that this list item is set is interim list item;
Step 2: business board receives after the message of gateway board transmission, judges whether this message is new url message, judges in this message whether carry link setup request flag, if not new url message is directly submitted to message Socket layer and processed; If new url message sends the link acknowledgement message of the home address of the heading information that comprises in this message and this business board after link setup completes to all gateway boards that connect; Gateway board receives after link acknowledgement message, in transmitting if local, there is not the list item of the home address of the heading information that comprises in this link acknowledgement message and business board, the list item of the home address that comprises this heading information and this business board in the middle interpolation of transmitting of this locality, the interim list item of transmitting the home address that middle existence comprises heading information in this link acknowledgement message and business board if local, is cured as dynamic entry by this interim list item;
Step 3: business board, in the time need to disconnecting communication link corresponding to described message, sends the link circuit deleting message of the home address of the heading information that comprises in described message and this business board to all gateway boards that connect; Receive the gateway board of the link circuit deleting message that business board sends, the list item that comprises the home address of heading information in this link circuit deleting message and business board in the transmitting of this locality is deleted.
Going out on flow path direction:
Step 1: business board generates the message of the IP address that comprises business board that need to send; According to the routing iinformation of each pre-configured gateway board, select a gateway board; The message of generation is sent to the gateway board of selection;
Step 2: gateway board receives the message that business board sends, and according to pre-configured routing iinformation, message is sent.
Referring to Fig. 5, the embodiment of the present invention also provides a kind of message forwarding equipment, this equipment comprises at least one gateway board 50 and business board 51, each business board 51 is connected with each gateway board 50, on gateway board 50 and business board 51, the IP address of configuration is public network IP address, on each business board 51, the public network IP address of configuration is identical, and on each gateway board 50, the public network IP address of configuration is different, and gateway board 50 is different with the public network IP address of configuration on business board 51; Wherein,
Gateway board 50, for receiving after the message of the outside IP address that comprises business board sending, reads pre-configured transmitting; In transmitting, search the list item of the heading information comprising in described message; If find, described message is sent to the business board corresponding to home address of business board in the list item finding; If do not find, select a business board, described message is sent to the business board of selection, and at the list item of transmitting the home address of the business board that middle interpolation comprises heading information in described message and selection;
Business board 51, for receiving after the described message of gateway board transmission, processes described message;
Wherein, described in comprise at least one list item in transmitting, in each list item, comprise the home address of heading information and business board, the home address of business board is for identifying the position of corresponding business board in described communication equipment.
Further, gateway board 50 also for:
Select a business board after determining the list item do not find the heading information comprising in described message and according to resource pool load sharing algorithm before, determine in described message, whether to carry link setup request flag; While carrying link setup request flag in determining described message, according to resource pool load sharing algorithm, select a business board.
Further, gateway board 50 also for:
Before selecting a business board carry link setup request flag in determining described message after and according to resource pool load sharing algorithm, read pre-configured resource pool information; According to the service request information in the resource pool information reading and described message, determine the service whether each business board can provide this message to ask; When determining that each business board can provide the service that this message asks, according to resource pool load sharing algorithm, select a business board;
Wherein, the service type information that described resource pool packets of information provides on each port containing each business board and the home address of each business board.
Further, described resource pool load sharing algorithm is:
Adopt polling to choose business board or choose the business board that CPU usage is minimum or choose the business board that memory usage is minimum or choose the minimum business board of the number of users of current service or choose the business board of weighted value minimum of the number of users of CPU usage, memory usage and current service.
Further, business board 51 also for: after link setup completes, to all gateway boards that connect, send the link acknowledgement message of the home address of the heading information that comprises in described message and this business board;
Gateway board 50 also for: receive after described link acknowledgement message, in transmitting if local, there is not the list item of the home address that comprises described heading information and described business board, the list item of the home address that comprises described heading information and described business board in the middle interpolation of transmitting of this locality; Otherwise, this list item in the transmitting of this locality is cured as to dynamic entry.
Further, business board 51 also for: after all gateway boards to connecting send described link acknowledgement message, in the time need to disconnecting communication link corresponding to described message, to all gateway boards that connect, send the link circuit deleting message of the home address of the heading information that comprises in described message and this business board;
Gateway board 50 also for: after receiving described link circuit deleting message, the list item of the home address that comprises described heading information and described business board in the transmitting of this locality is deleted.
Further, described heading information comprises: source IP address, source port information, protocol type information, object IP address and destination interface information.
Still referring to Fig. 5, the embodiment of the present invention also provides a kind of message forwarding equipment, this equipment comprises at least one gateway board 50 and business board 51, each business board 51 each gateway boards 50 are connected, on gateway board 50 and business board 51, the IP address of configuration is public network IP address, on each business board 51, the public network IP address of configuration is identical, and on each gateway board 50, the public network IP address of configuration is different, and gateway board 50 is different with the public network IP address of configuration on business board 51; Wherein,
Business board 51, for generating the message of the IP address that comprises business board that need to send; According to the routing iinformation of each pre-configured gateway board, select a gateway board; Described message is sent to the gateway board of selection;
Gateway board 50, the described message sending for receiving business board, sends described message according to pre-configured routing iinformation.
Further, business board 51 for:
While selecting a plurality of gateway board according to the routing iinformation of each pre-configured gateway board, a gateway board of random selection from the plurality of gateway board; Or, from the plurality of gateway board, select a highest gateway board of priority.
To sum up, beneficial effect of the present invention comprises:
In the scheme that the embodiment of the present invention provides, because the IP address configuring on business board is also for the public network IP address configuring on public network IP address and each business board is identical, make gateway board when receiving the message of the outside IP address that comprises business board sending, by searching to transmit, determine an object business board or select after an object business board, do not need the object IP address in message to replace with the IP address of internal network of business board, but directly message is sent to object business board, improved and entered the efficiency that flow path direction reports literary composition to forward.
In the scheme that the embodiment of the present invention provides, because the IP address configuring on business board is also for the public network IP address configuring on public network IP address and each business board is identical, make business board to gateway board, send after the message of the IP address that comprises business board, gateway board can directly send message, and do not need the source IP address in message to replace with the IP address of gateway board, improved the efficiency that message repeating on flow path direction.
The present invention is with reference to describing according to flow chart and/or the block diagram of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be in computer program instructions realization flow figure and/or block diagram each flow process and/or the flow process in square frame and flow chart and/or block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction of carrying out by the processor of computer or other programmable data processing device is produced for realizing the device in the function of flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame on computer or other programmable devices.
Although described the preferred embodiments of the present invention, once those skilled in the art obtain the basic creative concept of cicada, can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (6)

1. a message forwarding method, it is characterized in that, in the communication equipment that is applied to comprise at least one gateway board and business board, each business board is connected with each gateway board, the IP address configuring on gateway board and business board is public network IP address, and the public network IP address configuring on each business board is identical, and the public network IP address configuring on each gateway board is different, gateway board is different with the public network IP address configuring on business board, and the method comprises:
Gateway board receives after the message of the outside IP address that comprises business board sending, and reads pre-configured transmitting; In transmitting, search the list item of the heading information comprising in described message; If find, described message is sent to the business board corresponding to home address of business board in the list item finding; If do not find, select a business board, described message is sent to the business board of selection, and at the list item of transmitting the home address of the business board that middle interpolation comprises heading information in described message and selection; Wherein, described in comprise at least one list item in transmitting, in each list item, comprise the home address of heading information and business board, the home address of business board is for identifying the position of corresponding business board in described communication equipment;
Business board receives after the described message of gateway board transmission, and described message is processed;
After determining the list item do not find the heading information comprising in described message and before selecting a business board, further comprise: gateway board determines in described message, whether to carry link setup request flag;
Business board of described selection, specifically comprises: when gateway board carries link setup request flag in determining described message, according to resource pool load sharing algorithm, select a business board;
Gateway board determine in described message, carry link setup request flag after and according to resource pool load sharing algorithm, select a business board before, further comprise: gateway board reads pre-configured resource pool information; According to the service request information in the resource pool information reading and described message, determine the service whether each business board can provide this message to ask;
Describedly according to resource pool load sharing algorithm, select a business board, specifically comprise: gateway board, when determining that each business board can provide the service that this message asks, is selected a business board according to resource pool load sharing algorithm; Wherein, the service type information that described resource pool packets of information provides on each port containing each business board and the home address of each business board;
After business board receives the described message that gateway board sends, further comprise: business board, after link setup completes, sends the link acknowledgement message of the home address of the heading information that comprises in described message and this business board to all gateway boards that connect; Gateway board receives after described link acknowledgement message, in transmitting if local, there is not the list item of the home address that comprises described heading information and described business board, the list item of the home address that comprises described heading information and described business board in the middle interpolation of transmitting of this locality; Otherwise, this list item in the transmitting of this locality is cured as to dynamic entry;
After all gateway boards to connecting send described link acknowledgement message, further comprise: business board, in the time need to disconnecting communication link corresponding to described message, sends the link circuit deleting message of the home address of the heading information that comprises in described message and this business board to all gateway boards that connect; Gateway board, after receiving described link circuit deleting message, is deleted the list item of the home address that comprises described heading information and described business board in the transmitting of this locality.
2. the method for claim 1, is characterized in that, described resource pool load sharing algorithm is:
Adopt polling to choose business board or choose the business board that CPU usage is minimum or choose the business board that memory usage is minimum or choose the minimum business board of the number of users of current service or choose the business board of weighted value minimum of the number of users of CPU usage, memory usage and current service.
3. method as claimed in claim 1 or 2, is characterized in that, described heading information comprises: source IP address, source port information, protocol type information, object IP address and destination interface information.
4. a message forwarding equipment, it is characterized in that, this equipment comprises at least one gateway board and business board, each business board is connected with each gateway board, the IP address configuring on gateway board and business board is public network IP address, the public network IP address configuring on each business board is identical, and the public network IP address configuring on each gateway board is different, and gateway board is different with the public network IP address configuring on business board; Wherein,
Gateway board, for receiving after the message of the outside IP address that comprises business board sending, reads pre-configured transmitting; In transmitting, search the list item of the heading information comprising in described message; If find, described message is sent to the business board corresponding to home address of business board in the list item finding; If do not find, select a business board, described message is sent to the business board of selection, and at the list item of transmitting the home address of the business board that middle interpolation comprises heading information in described message and selection; Wherein, described in comprise at least one list item in transmitting, in each list item, comprise the home address of heading information and business board, the home address of business board is for identifying the position of corresponding business board in described message forwarding equipment;
Business board, for receiving after the described message of gateway board transmission, processes described message;
Gateway board also for: after determining the list item do not find the heading information that comprises described message and before selecting a business board, determine in described message, whether to carry link setup request flag; While carrying link setup request flag in determining described message, according to resource pool load sharing algorithm, select a business board;
Gateway board also for: select a business board after definite described message carries link setup request flag and according to resource pool load sharing algorithm before, read pre-configured resource pool information; According to the service request information in the resource pool information reading and described message, determine the service whether each business board can provide this message to ask; When determining that each business board can provide the service that this message asks, according to resource pool load sharing algorithm, select a business board; Wherein, the service type information that described resource pool packets of information provides on each port containing each business board and the home address of each business board;
Business board also for: after link setup completes, to all gateway boards that connect, send the link acknowledgement message of the home address of the heading information that comprises in described message and this business board;
Gateway board also for: receive after described link acknowledgement message, in transmitting if local, there is not the list item of the home address that comprises described heading information and described business board, the list item of the home address that comprises described heading information and described business board in the middle interpolation of transmitting of this locality; Otherwise, this list item in the transmitting of this locality is cured as to dynamic entry;
Business board also for: after all gateway boards to connecting send described link acknowledgement message, in the time need to disconnecting communication link corresponding to described message, to all gateway boards that connect, send the link circuit deleting message of the home address of the heading information that comprises in described message and this business board;
Gateway board also for: after receiving described link circuit deleting message, the list item of the home address that comprises described heading information and described business board in the transmitting of this locality is deleted.
5. equipment as claimed in claim 4, is characterized in that, described resource pool load sharing algorithm is:
Adopt polling to choose business board or choose the business board that CPU usage is minimum or choose the business board that memory usage is minimum or choose the minimum business board of the number of users of current service or choose the business board of weighted value minimum of the number of users of CPU usage, memory usage and current service.
6. the equipment as described in claim 4 or 5, is characterized in that, described heading information comprises: source IP address, source port information, protocol type information, object IP address and destination interface information.
CN201210010387.XA 2012-01-13 2012-01-13 Method and equipment for forwarding messages Active CN102571587B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210010387.XA CN102571587B (en) 2012-01-13 2012-01-13 Method and equipment for forwarding messages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210010387.XA CN102571587B (en) 2012-01-13 2012-01-13 Method and equipment for forwarding messages

Publications (2)

Publication Number Publication Date
CN102571587A CN102571587A (en) 2012-07-11
CN102571587B true CN102571587B (en) 2014-11-12

Family

ID=46416088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210010387.XA Active CN102571587B (en) 2012-01-13 2012-01-13 Method and equipment for forwarding messages

Country Status (1)

Country Link
CN (1) CN102571587B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102904975B (en) * 2012-09-28 2015-06-17 华为技术有限公司 Method and associated device for message processing
CN103152270B (en) * 2013-03-11 2016-06-08 华为技术有限公司 The method E-Packeted and router
CN103516613A (en) * 2013-09-25 2014-01-15 汉柏科技有限公司 Quick message forwarding method
CN104954155B (en) * 2014-03-26 2018-07-31 杭州迪普科技股份有限公司 The network equipment with multiple business boards and multi-service plate sharing method
CN104009921B (en) * 2014-04-28 2017-09-19 开网科技(北京)有限公司 The data message forwarding method matched based on arbitrary fields
CN104468063B (en) * 2014-11-28 2018-12-25 新华三技术有限公司 A kind of processing method and equipment of service message
CN105939278B (en) * 2015-04-30 2020-04-03 杭州迪普科技股份有限公司 Traffic processing method and device
CN106254256B (en) 2015-06-04 2019-08-16 新华三技术有限公司 Data message forwarding method and equipment based on three layers of VXLAN gateway
CN105959198B (en) * 2015-12-01 2019-05-07 杭州迪普科技股份有限公司 Message transmitting method and the network equipment
CN105939324A (en) * 2016-01-11 2016-09-14 杭州迪普科技有限公司 Message forwarding method and device
CN107786434B (en) * 2016-08-29 2021-06-15 北京华为数字技术有限公司 Service message processing method and communication equipment
CN106330553A (en) * 2016-08-30 2017-01-11 杭州迪普科技有限公司 Message forwarding method and device
CN107800581B (en) * 2016-09-01 2022-03-18 中兴通讯股份有限公司 Two-layer network and loopback detection method thereof
CN113824631B (en) * 2021-09-10 2023-04-07 烽火通信科技股份有限公司 Message forwarding method and device, communication equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1406026A (en) * 2001-09-16 2003-03-26 华为技术有限公司 Combined address resolving scheme and combined address route device thereof
CN1482769A (en) * 2002-09-13 2004-03-17 华为技术有限公司 Master-standby switching and load sharing system and method based on Ethernet access platform
CN101056192A (en) * 2006-04-14 2007-10-17 上海未来宽带技术及应用工程研究中心有限公司 An ATCA system and its implementation method
CN102307141A (en) * 2011-08-18 2012-01-04 大唐移动通信设备有限公司 Message forwarding method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102299871B (en) * 2010-06-24 2015-04-01 中兴通讯股份有限公司 Communication method and gateway equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1406026A (en) * 2001-09-16 2003-03-26 华为技术有限公司 Combined address resolving scheme and combined address route device thereof
CN1482769A (en) * 2002-09-13 2004-03-17 华为技术有限公司 Master-standby switching and load sharing system and method based on Ethernet access platform
CN101056192A (en) * 2006-04-14 2007-10-17 上海未来宽带技术及应用工程研究中心有限公司 An ATCA system and its implementation method
CN102307141A (en) * 2011-08-18 2012-01-04 大唐移动通信设备有限公司 Message forwarding method and device

Also Published As

Publication number Publication date
CN102571587A (en) 2012-07-11

Similar Documents

Publication Publication Date Title
CN102571587B (en) Method and equipment for forwarding messages
US10499313B2 (en) Efficient hybrid resource and schedule management in time slotted channel hopping networks
US9948575B2 (en) Issuing method for forwarding adjacency link
CN102318287B (en) Methods and device to establish router neighbors
KR20070081733A (en) Apparatus for setting multipath and method thereof
WO2015100530A1 (en) Service routing method, device and system
CN112261702B (en) Wireless Mesh network routing method and device based on position and electronic equipment
CN102368727A (en) Crossed IP network TRILL network communication method, system thereof and devices
CN101394333A (en) Packet forwarding method, apparatus and network system
CN103763750B (en) Method for fast achieving packet forwarding in wireless ad hoc network of TDMA protocol
CN104754640A (en) Network resource scheduling method and network resource management server
CN104604293A (en) Method and apparatus for selecting a router in an infinite link network
WO2021244206A1 (en) Message processing method, device, system, and storage medium
CN102882781A (en) Method, route bridge and system for transmitting message
CN104022956A (en) Method and device for data message processing in location/ID separation protocol network
CN104301229A (en) Data packet forwarding method and device and routing table generating method and device.
CN108574635B (en) Routing priority configuration method, device and controller
CN102291305A (en) Method and device for implementing 6 to 4 relay routing, and message forwarding method
CN102845033A (en) Methods, systems, and computer readable media for automatically selecting between internet protocol switching modes on a per-module basis in a packet forwarding device
CN107948104A (en) The method and switching equipment that message forwards in a kind of network address translation environment
CN103220217A (en) Route generating method and equipment
CN101656740A (en) Method and routing equipment for controlling label sending
CN103875267A (en) Access node, mobile management network element and paging message processing method
WO2020147081A1 (en) Data transmission method, related device, and computer storage medium
CN105282231A (en) Data drainage method, device, and system based on application types

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant