CN102571587A - Method and equipment for forwarding messages - Google Patents

Method and equipment for forwarding messages Download PDF

Info

Publication number
CN102571587A
CN102571587A CN201210010387XA CN201210010387A CN102571587A CN 102571587 A CN102571587 A CN 102571587A CN 201210010387X A CN201210010387X A CN 201210010387XA CN 201210010387 A CN201210010387 A CN 201210010387A CN 102571587 A CN102571587 A CN 102571587A
Authority
CN
China
Prior art keywords
business board
message
address
gateway
gateway plate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210010387XA
Other languages
Chinese (zh)
Other versions
CN102571587B (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

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

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-IP development of mobile radio communication, the traffic handing capacity of veneer has not satisfied the needs of business development, needs many integrated circuit boards to realize professional load sharing, promptly adopts the resource pool pattern to realize professional load sharing.
The realization of traditional resource pool pattern be through the network address transform (Net Address Transfer NAT) realizes, and is concrete:
As shown in Figure 1, the inner a plurality of business boards of communication equipment link to each other with a gateway plate, on the gateway plate, dispose public network IP address (like 10.1.1.2), configuration Intranet IP address (like 192.168.0.0/24) on business board.
Going into flow path direction; After the gateway plate receives outside message, at first check distributing list, each list item in the distributing list comprises source IP address, source port, protocol type and business board IP address; Confirm whether to exist in this distributing list the list item of the source IP address, source port and the protocol type that comprise in the message that receives; If exist, then the purpose IP address in the message that receives replaced with the business board IP address in this list item, and this message is delivered to this business board IP address corresponding service plate; If do not exist, then adopt polling to select a business board, the purpose IP address in the message that receives is replaced with 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 will send through default gateway is delivered to the gateway plate, and the gateway plate replaces with the IP address of gateway plate with the source IP address in this message, and this message is sent.
In realizing process of the present invention, the inventor finds to exist in the prior art following technical problem:
Being implemented in packet sending and receiving and all need replacing the IP address on two-way of traditional resource pool pattern causes the message forwarding inefficiency; Simultaneously, because the IP address that externally can only to represent an IP address be the gateway plate, cause all messages all must be through a gateway plate; Therefore the performance bottleneck that has the gateway plate; When this gateway plate broke down, communication equipment just can not be received and dispatched message, causes communication disruption.
Summary of the invention
The embodiment of the invention provides a kind of message forwarding method and equipment, is used to improve communication equipment at the message forward efficiency of going on the flow path direction.
A kind of message forwarding method; Be applied to comprise in the communication equipment of at least one gateway plate and business board, each business board links to each other with each gateway plate, and the IP address that disposes on gateway plate and the business board is a public network IP address; The public network IP address that disposes on each business board is identical; The public network IP address that disposes on each gateway plate is different, and the public network IP address that disposes on gateway plate and the business board is different, and this method comprises:
The gateway plate reads pre-configured transmitting after receiving the message of the outside IP address that comprises business board of sending; In transmitting, search the list item of the heading information that comprises in the said message; If find, then said message is sent to the home address corresponding service plate of business board in the list item that finds; If do not find, then select a business board, said message is sent to the business board of selection, and interpolation comprises the list item of home address of the business board of heading information and selection in the said message during transmitting;
Business board is handled said message after receiving the said message of gateway plate transmission;
Wherein, comprise at least one list item in said the transmitting, comprise the home address of heading information and business board in each list item, the home address of business board is used to identify the position of corresponding business board in said communication equipment.
A kind of message forwarding equipment; This equipment comprises at least one gateway plate and business board; Each business board links to each other with each gateway plate, and the IP address that disposes on gateway plate and the business board is a public network IP address, and the public network IP address that disposes on each business board is identical; The public network IP address that disposes on each gateway plate is different, and the public network IP address that disposes on gateway plate and the business board is different; Wherein,
The gateway plate after being used to receive the message of the outside IP address that comprises business board of sending, reads pre-configured transmitting; In transmitting, search the list item of the heading information that comprises in the said message; If find, then said message is sent to the home address corresponding service plate of business board in the list item that finds; If do not find, then select a business board, said message is sent to the business board of selection, and interpolation comprises the list item of home address of the business board of heading information and selection in the said message during transmitting;
Business board after being used to receive the said message of gateway plate transmission, is handled said message;
Wherein, comprise at least one list item in said the transmitting, comprise the home address of heading information and business board in each list item, the home address of business board is used to identify the position of corresponding business board in said communication equipment.
In this programme; Because the IP address that disposes on the business board is also identical for the public network IP address that disposes on public network IP address and each business board; Make the gateway plate when receiving the message of the outside IP address that comprises business board of sending; Through search transmit confirm a purpose business board or select a purpose business board after; Need the purpose IP address in the message not replaced with the Intranet IP address of business board, but directly message sent to the purpose business board, improve and gone into the efficient that flow path direction reports literary composition to transmit.
The embodiment of the invention provides another kind of message forwarding method and equipment, is used to improve communication equipment at the message forward efficiency that goes out on the flow path direction.
A kind of message forwarding method; Be applied to comprise in the communication equipment of at least one gateway plate and business board, each business board links to each other with each gateway plate, and the IP address that disposes on gateway plate and the business board is a public network IP address; The public network IP address that disposes on each business board is identical; The public network IP address that disposes on each gateway plate is different, and the public network IP address that disposes on gateway plate and the business board is different, and this method comprises:
The message of the IP address that comprises business board that the business board generation need send; Routing iinformation according to each pre-configured gateway plate is selected a gateway plate; Said message is sent to the gateway plate of selection;
The gateway plate receives the said message that business board sends, and according to pre-configured routing iinformation said message is sent.
A kind of message forwarding equipment; This equipment comprises at least one gateway plate and business board; Each business board links to each other with each gateway plate, and the IP address that disposes on gateway plate and the business board is a public network IP address, and the public network IP address that disposes on each business board is identical; The public network IP address that disposes on each gateway plate is different, and the public network IP address that disposes on gateway plate and the business board is different; Wherein,
Business board is used to generate the message of the IP address that comprises business board that need send; Routing iinformation according to each pre-configured gateway plate is selected a gateway plate; Said message is sent to the gateway plate of selection;
The gateway plate is used to receive the said message that business board sends, and according to pre-configured routing iinformation said message is sent.
In this programme; Because the IP address that disposes on the business board is also identical for the public network IP address that disposes on public network IP address and each business board; After making that business board sends the message of the IP address that comprises business board to the gateway plate; The gateway plate can directly send message, and need the source IP address in the message not replaced with the IP address of gateway plate, has improved the efficient that flow path direction reports literary composition to transmit.
Description of drawings
Fig. 1 is that resource pool of the prior art is realized sketch map;
The method flow sketch map that Fig. 2 provides for the embodiment of the invention;
Another method schematic flow sheet that Fig. 3 provides for the embodiment of the invention;
Fig. 4 A is a network configuration sketch map in the embodiment of the invention;
Fig. 4 B is that the message of going in the embodiment of the invention on the flow path direction is transmitted sketch map;
The device structure sketch map that Fig. 5 provides for the embodiment of the invention.
Embodiment
In order to improve communication equipment at the message forward efficiency of going on the flow path direction; The embodiment of the invention provides a kind of message forwarding method, and this method is applied to comprise in the communication equipment of at least one gateway plate and business board, and each business board links to each other with each gateway plate; The IP address that disposes on gateway plate and the business board is a public network IP address; The public network IP address that disposes on each business board is identical, and the public network IP address that disposes on each gateway plate is different, and the public network IP address that disposes on gateway plate and the business board is different.
Referring to Fig. 2, the message forwarding method that the embodiment of the invention provides may further comprise the steps:
Step 20: the gateway plate reads pre-configured transmitting after receiving the message of the outside IP address that comprises business board of sending; In transmitting, search the list item of the heading information that comprises in the message that receives; If find, then the message that receives is sent to the home address corresponding service plate of business board in the list item that finds; If do not find, then select a business board, the message that receives is sent to the business board of selection, and interpolation comprises the list item of home address of the business board of heading information and selection in the message that receives during transmitting; Wherein, comprise at least one list item during this is transmitted, comprise the home address of heading information and business board in each list item, the home address of business board is used to identify the position of corresponding business board in communication equipment;
Step 21: business board is handled this message after receiving the message of gateway plate transmission.
Preferable, in the step 20, after confirming not find the list item of the heading information that comprises in the message and before selecting a business board, the gateway plate confirms whether carry the link setup request flag in this message; When in confirming this message, carrying the link setup request flag, select a business board according to resource pool load sharing algorithm.If confirm not carry the link setup request flag in this message, then abandon this message.Here, for transmission control protocol (TCP) agreement, the link setup request flag is the SYN sign, and for the stream control transmission protocol (sctp) agreement, the link setup request flag is the INIT sign.
Preferable, in the step 20, after the gateway plate is confirmed to carry the link setup request flag in the message and according to resource pool load sharing algorithm, to select before the business board, the gateway plate reads pre-configured resource pool information; According to the service request information in resource pool information that reads and the message, confirm whether each business board can provide this message institute requested service; When definite each business board can provide this message institute requested service, select a business board according to resource pool load sharing algorithm.If confirm that each business board can not provide this message institute requested service, then abandon this message.Wherein, this resource pool information comprises the service type information that each business board provides and the home address of each business board on each port.
Concrete, above-mentioned resource pool load sharing algorithm can comprise: adopt polling to choose business board or choose the minimum business board of CPU usage or choose the minimum business board of memory usage 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.
Preferable; In order to realize transmitting synchronously of gateway plate; To avoid the synchronous flow process of transmitting between the multiple gateway plate; After business board received the message that the gateway plate sends, business board sent the link acknowledgement message of the home address of the heading information that comprises in this message and this business board to all gateway plates that connect after link setup is accomplished;
After the gateway plate receives the link acknowledgement message of business board transmission; If there is not the list item of the home address of the heading information that comprises in this link acknowledgement message and business board in local the transmitting, then interpolation comprises the list item of the home address of this heading information and this business board in the transmitting of this locality; Otherwise, this list item in the transmitting of this locality is cured as dynamic entry.
Preferable; Equally in order to realize transmitting synchronously of gateway plate; To avoid the synchronous flow process of transmitting between the multiple gateway plate; After all gateway plates that connect send said link acknowledgement message, when business board breaks off the corresponding communication link of said message at needs, send the link circuit deleting message of the home address of the heading information that comprises in the said message and this business board to all gateway plates that connect;
Receive the gateway plate of the link circuit deleting message that business board sends, the list item of the home address that comprises heading information and business board in this link circuit deleting message in the transmitting of this locality is deleted.
In this programme, can comprise a plurality of gateway plates in the communication equipment, so; Message externally can be that mulitpath arrives business board through a plurality of gateway plates; With only comprise a gateway plate in the communication equipment in the prior art, outside message only can through a gateway plate promptly a paths arrive business board and compare, this programme can effectively solve the performance bottleneck problem of gateway plate; When certain gateway plate broke down, communication equipment can also receive message through other normal gateway plates.Thereby load sharing and port protection that realization becomes a mandarin.
Heading information in this method can comprise: source IP address, source port information, protocol type information, purpose IP address and destination interface information etc.
In order to improve communication equipment at the message forward efficiency that goes out on the flow path direction; The embodiment of the invention provides another kind of message forwarding method, and this method is applied to comprise in the communication equipment of at least one gateway plate and business board, and each business board links to each other with each gateway plate; The IP address that disposes on gateway plate and the business board is a public network IP address; The public network IP address that disposes on each business board is identical, and the public network IP address that disposes on each gateway plate is different, and the public network IP address that disposes on gateway plate and the business board is different.
Referring to Fig. 3, the another kind of message forwarding method that the embodiment of the invention provides may further comprise the steps:
Step 30: the message of the IP address that comprises business board that the business board generation need send; Routing iinformation according to each pre-configured gateway plate is selected a gateway plate; The message that generates is sent to the gateway plate of selection;
Step 31: the gateway plate receives the message that business board sends, and according to pre-configured routing iinformation message is sent.Here, the gateway plate need not replace with the source IP address in the message IP address of gateway plate, but directly according to pre-configured routing iinformation message sent after receiving the message of business board transmission.
In the step 30, when business board is selected a plurality of gateway plate according to the routing iinformation of each pre-configured gateway plate, can from these a plurality of gateway plates, select a gateway plate at random; Perhaps, from these a plurality of gateway plates, select the gateway plate that priority is the highest, adopt this method to need for each gateway plate priority to be set in advance.
In this programme, can comprise a plurality of gateway plates in the communication equipment, so; The message of business board can be that mulitpath sends through a plurality of gateway plates; With only comprise a gateway plate in the communication equipment in the prior art, the message of business board only can through a gateway plate promptly a paths send and compare, this programme can effectively solve the performance bottleneck problem of gateway plate; When certain gateway plate broke down, business board can also send message through other normal gateway plates.Thereby load sharing and port protection that realization is effluented.
Specify in the face of the present invention down:
Shown in Fig. 4 A, network configuration is following:
The different public network IP address of configuration, i.e. 10.1.1.1 and 10.1.1.3 on the gateway plate;
The identical public network IP address of configuration, i.e. 10.1.1.2 on the business board;
The gateway plate externally can connect different routers.
Routing configuration is following:
Configuration standard route on the gateway plate promptly only disposes the routing iinformation of a router on the gateway plate, the gateway plate sends to this router according to this routing iinformation with this message when receiving the message that business board sends;
Configuration multipath route on the business board; It is the routing iinformation of each gateway plate of configuration on the business board; With with two gateway plates all as gateway; When business board outwards sent message at needs, routing management module was wherein selected a gateway plate according to this routing iinformation, and message is sent to the gateway plate of selection.
List item in transmitting is divided into: static entry, and dynamic entry and interim list item, wherein:
Static entry is to dispose the fixedly list item that gets off by configuration interface, and the type list item can not on-the-fly modify.
Create by the gateway plate when interim list item is link setup, be not identified within a certain period of time, cease to be in force automatically.
Dynamic entry is by the business board protocol stack arrangement, and business board sends the link setup acknowledge message to all gateway plates when the link setup success, and business board solidifies this list item after receiving this link setup acknowledge message be dynamic entry.Business board is deleted this list item when tearing chain open.
Operation flow is following:
Initial configuration: the gateway buttress is according to service needed, and resource allocation pond information, this resource pool information comprise the service type information that each business board provides and the home address of each business board on each port.
Shown in Fig. 4 B, going on the flow path direction:
Step 1: the gateway plate reads pre-configured transmitting after receiving the message of the outside IP address that comprises business board of sending; In transmitting, search the list item of the heading information that comprises in the message that receives; If find, then the message that receives is sent to the home address corresponding service plate of business board in the list item that finds; If do not find, judge then whether this message is the new url message, promptly judges whether carry the link setup request flag in this message, if not the new url message then abandons this message; If new url message; Then read pre-configured resource pool information; Judge whether the resource pool of coupling according to the service request information in resource pool information that reads and the message; Judge promptly whether each business board can provide this message institute requested service,, then abandon this message if there is not the resource pool of coupling; If the resource pool of coupling is arranged; Then select a business board according to resource pool load sharing algorithm; The message that receives is sent to the business board of selection; And in transmitting, add the list item of home address of the business board of the heading information comprise in the message that receives and selection, the type that this list item is set is interim list item;
Step 2: business board judges whether this message is the new url message, promptly judges whether carry the link setup request flag in this message, if not the new url message is then directly submitted to the Socket layer with message and handled after receiving the message of gateway plate transmission; If the new url message is then accomplished the back at link setup and is sent the link acknowledgement message of the home address of the heading information that comprises in this message and this business board to all gateway plates that connect; After the gateway plate receives link acknowledgement message; If there is not the list item of the home address of the heading information that comprises in this link acknowledgement message and business board in local the transmitting; Then in the transmitting of this locality, add the list item of the home address that comprises this heading information and this business board; If have the interim list item of the home address of the heading information that comprises in this link acknowledgement message and business board in local the transmitting, then should be cured as dynamic entry by interim list item;
Step 3: when business board breaks off the corresponding communication link of said message at needs, send the link circuit deleting message of the home address of the heading information that comprises in the said message and this business board to all gateway plates that connect; Receive the gateway plate of the link circuit deleting message that business board sends, the list item of the home address that comprises heading information and business board in this link circuit deleting message in the transmitting of this locality is deleted.
Going out on the flow path direction:
Step 1: the message of the IP address that comprises business board that the business board generation need send; Routing iinformation according to each pre-configured gateway plate is selected a gateway plate; The message that generates is sent to the gateway plate of selection;
Step 2: the gateway plate 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 invention also provides a kind of message forwarding equipment, and this equipment comprises at least one gateway plate 50 and business board 51, and each business board 51 links to each other with each gateway plate 50; The IP address of configuration is a public network IP address on gateway plate 50 and the business board 51; The public network IP address of configuration is identical on each business board 51, and the public network IP address of configuration is different on each gateway plate 50, and the public network IP address that disposes on gateway plate 50 and the business board 51 is different; Wherein,
Gateway plate 50 after being used to receive the message of the outside IP address that comprises business board of sending, reads pre-configured transmitting; In transmitting, search the list item of the heading information that comprises in the said message; If find, then said message is sent to the home address corresponding service plate of business board in the list item that finds; If do not find, then select a business board, said message is sent to the business board of selection, and interpolation comprises the list item of home address of the business board of heading information and selection in the said message during transmitting;
Business board 51 after being used to receive the said message of gateway plate transmission, is handled said message;
Wherein, comprise at least one list item in said the transmitting, comprise the home address of heading information and business board in each list item, the home address of business board is used to identify the position of corresponding business board in said communication equipment.
Further, gateway plate 50 also is used for:
Before after confirming not find the list item of the heading information that comprises in the said message and according to resource pool load sharing algorithm, selecting a business board, confirm whether carry the link setup request flag in the said message; When in confirming said message, carrying the link setup request flag, select a business board according to resource pool load sharing algorithm.
Further, gateway plate 50 also is used for:
After in confirming said message, carrying the link setup request flag and according to before business board of resource pool load sharing algorithm selection, read pre-configured resource pool information; According to the service request information in resource pool information that reads and the said message, confirm whether each business board can provide this message institute requested service; When definite each business board can provide this message institute requested service, select a business board according to resource pool load sharing algorithm;
Wherein, said resource pool information comprises the service type information that each business board provides and the home address of each business board on each port.
Further, said resource pool load sharing algorithm is:
Adopt polling to choose business board or choose the minimum business board of CPU usage or choose the minimum business board of memory usage 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 is used for: after link setup is accomplished, send the link acknowledgement message of the home address of the heading information that comprises in the said message and this business board to all gateway plates that connect;
Gateway plate 50 also is used for: after receiving said link acknowledgement message; If there is not the list item of the home address that comprises said heading information and said business board in local the transmitting, then interpolation comprises the list item of the home address of said heading information and said business board in the transmitting of this locality; Otherwise, this list item in the transmitting of this locality is cured as dynamic entry.
Further; Business board 51 also is used for: after all gateway plates that connect send said link acknowledgement message; When needs break off the corresponding communication link of said message, send the link circuit deleting message of the home address of the heading information that comprises in the said message and this business board to all gateway plates that connect;
Gateway plate 50 also is used for: after receiving said link circuit deleting message, with the list item deletion of the home address that comprises said heading information and said business board in the transmitting of this locality.
Further, said heading information comprises: source IP address, source port information, protocol type information, purpose IP address and destination interface information.
Still referring to Fig. 5; The embodiment of the invention also provides a kind of message forwarding equipment, and this equipment comprises at least one gateway plate 50 and business board 51, and each business board 51 each gateway plate 50 links to each other; The IP address of configuration is a public network IP address on gateway plate 50 and the business board 51; The public network IP address of configuration is identical on each business board 51, and the public network IP address of configuration is different on each gateway plate 50, and the public network IP address that disposes on gateway plate 50 and the business board 51 is different; Wherein,
Business board 51 is used to generate the message of the IP address that comprises business board that need send; Routing iinformation according to each pre-configured gateway plate is selected a gateway plate; Said message is sent to the gateway plate of selection;
Gateway plate 50 is used to receive the said message that business board sends, and according to pre-configured routing iinformation said message is sent.
Further, business board 51 is used for:
When selecting a plurality of gateway plate, from these a plurality of gateway plates, select a gateway plate at random according to the routing iinformation of each pre-configured gateway plate; Perhaps, from these a plurality of gateway plates, select the gateway plate that priority is the highest.
To sum up, beneficial effect of the present invention comprises:
In the scheme that the embodiment of the invention provides; Because the IP address that disposes on the business board is also identical for the public network IP address that disposes on public network IP address and each business board; Make the gateway plate when receiving the message of the outside IP address that comprises business board of sending; Through search transmit confirm a purpose business board or select a purpose business board after; Need the purpose IP address in the message not replaced with the Intranet IP address of business board, but directly message sent to the purpose business board, improve and gone into the efficient that flow path direction reports literary composition to transmit.
In the scheme that the embodiment of the invention provides; Because the IP address that disposes on the business board is also identical for the public network IP address that disposes on public network IP address and each business board; After making that business board sends the message of the IP address that comprises business board to the gateway plate; The gateway plate can directly send message, and need the source IP address in the message not replaced with the IP address of gateway plate, has improved the efficient that flow path direction reports literary composition to transmit.
The present invention is that reference is described according to the flow chart and/or the block diagram of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the 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, make the instruction of carrying out through the processor of computer or other programmable data processing device produce to be used for the device of the function that is implemented 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 appointments.
These computer program instructions also can be stored in ability vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work; Make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in 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 on computer or other programmable data processing device; Make on computer or other programmable devices and to carry out the sequence of operations step producing computer implemented processing, thereby the instruction of on computer or other programmable devices, carrying out is provided for being implemented in 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.
Although described the preferred embodiments of the present invention, in a single day those skilled in the art get the basic inventive concept could of cicada, then can make other change and modification to these embodiment.So accompanying claims is intended to be interpreted as all changes and the modification that comprises preferred embodiment and fall into the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.

Claims (18)

1. a message forwarding method is characterized in that, is applied to comprise in the communication equipment of at least one gateway plate and business board; Each business board links to each other with each gateway plate; The IP address that disposes on gateway plate and the business board is a public network IP address, and the public network IP address that disposes on each business board is identical, and the public network IP address that disposes on each gateway plate is different; The public network IP address that disposes on gateway plate and the business board is different, and this method comprises:
The gateway plate reads pre-configured transmitting after receiving the message of the outside IP address that comprises business board of sending; In transmitting, search the list item of the heading information that comprises in the said message; If find, then said message is sent to the home address corresponding service plate of business board in the list item that finds; If do not find, then select a business board, said message is sent to the business board of selection, and interpolation comprises the list item of home address of the business board of heading information and selection in the said message during transmitting;
Business board is handled said message after receiving the said message of gateway plate transmission;
Wherein, comprise at least one list item in said the transmitting, comprise the home address of heading information and business board in each list item, the home address of business board is used to identify the position of corresponding business board in said communication equipment.
2. the method for claim 1 is characterized in that, after confirming not find the list item of the heading information that comprises in the said message and before selecting a business board, further comprises:
The gateway plate confirms whether carry the link setup request flag in the said message;
Business board of said selection specifically comprises:
When the gateway plate carries the link setup request flag in confirming said message, select a business board according to resource pool load sharing algorithm.
3. method as claimed in claim 2 is characterized in that, after the gateway plate is confirmed to carry the link setup request flag in the said message and according to before business board of resource pool load sharing algorithm selection, further comprises:
The gateway plate reads pre-configured resource pool information; According to the service request information in resource pool information that reads and the said message, confirm whether each business board can provide this message institute requested service;
Said according to business board of resource pool load sharing algorithm selection, specifically comprise:
When the gateway plate can provide this message institute requested service at definite each business board, select a business board according to resource pool load sharing algorithm;
Wherein, said resource pool information comprises the service type information that each business board provides and the home address of each business board on each port.
4. method as claimed in claim 2 is characterized in that, said resource pool load sharing algorithm is:
Adopt polling to choose business board or choose the minimum business board of CPU usage or choose the minimum business board of memory usage 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.
5. the method for claim 1 is characterized in that, after business board receives the said message of gateway plate transmission, further comprises:
Business board sends the link acknowledgement message of the home address of the heading information that comprises in the said message and this business board to all gateway plates that connect after link setup is accomplished;
After the gateway plate receives said link acknowledgement message; If there is not the list item of the home address that comprises said heading information and said business board in local the transmitting, then interpolation comprises the list item of the home address of said heading information and said business board in the transmitting of this locality; Otherwise, this list item in the transmitting of this locality is cured as dynamic entry.
6. method as claimed in claim 5 is characterized in that, after all gateway plates that connect send said link acknowledgement message, further comprises:
When business board breaks off the corresponding communication link of said message at needs, send the link circuit deleting message of the home address of the heading information that comprises in the said message and this business board to all gateway plates that connect;
The gateway plate is after receiving said link circuit deleting message, with the list item deletion of the home address that comprises said heading information and said business board in the transmitting of this locality.
7. like arbitrary described method among the claim 1-6, it is characterized in that said heading information comprises: source IP address, source port information, protocol type information, purpose IP address and destination interface information.
8. a message forwarding method is characterized in that, is applied to comprise in the communication equipment of at least one gateway plate and business board; Each business board links to each other with each gateway plate; The IP address that disposes on gateway plate and the business board is a public network IP address, and the public network IP address that disposes on each business board is identical, and the public network IP address that disposes on each gateway plate is different; The public network IP address that disposes on gateway plate and the business board is different, and this method comprises:
The message of the IP address that comprises business board that the business board generation need send; Routing iinformation according to each pre-configured gateway plate is selected a gateway plate; Said message is sent to the gateway plate of selection;
The gateway plate receives the said message that business board sends, and according to pre-configured routing iinformation said message is sent.
9. method as claimed in claim 8 is characterized in that, when business board is selected a plurality of gateway plate according to the routing iinformation of each pre-configured gateway plate, from these a plurality of gateway plates, selects a gateway plate at random; Perhaps, from these a plurality of gateway plates, select the gateway plate that priority is the highest.
10. message forwarding equipment; It is characterized in that this equipment comprises at least one gateway plate and business board, each business board links to each other with each gateway plate; The IP address that disposes on gateway plate and the business board is a public network IP address; The public network IP address that disposes on each business board is identical, and the public network IP address that disposes on each gateway plate is different, and the public network IP address that disposes on gateway plate and the business board is different; Wherein,
The gateway plate after being used to receive the message of the outside IP address that comprises business board of sending, reads pre-configured transmitting; In transmitting, search the list item of the heading information that comprises in the said message; If find, then said message is sent to the home address corresponding service plate of business board in the list item that finds; If do not find, then select a business board, said message is sent to the business board of selection, and interpolation comprises the list item of home address of the business board of heading information and selection in the said message during transmitting;
Business board after being used to receive the said message of gateway plate transmission, is handled said message;
Wherein, comprise at least one list item in said the transmitting, comprise the home address of heading information and business board in each list item, the home address of business board is used to identify the position of corresponding business board in said communication equipment.
11. equipment as claimed in claim 10 is characterized in that, the gateway plate also is used for:
After confirming not find the list item of the heading information that comprises in the said message and before selecting a business board, confirm whether carry the link setup request flag in the said message; When in confirming said message, carrying the link setup request flag, select a business board according to resource pool load sharing algorithm.
12. equipment as claimed in claim 11 is characterized in that, the gateway plate also is used for:
After in confirming said message, carrying the link setup request flag and according to before business board of resource pool load sharing algorithm selection, read pre-configured resource pool information; According to the service request information in resource pool information that reads and the said message, confirm whether each business board can provide this message institute requested service; When definite each business board can provide this message institute requested service, select a business board according to resource pool load sharing algorithm;
Wherein, said resource pool information comprises the service type information that each business board provides and the home address of each business board on each port.
13. equipment as claimed in claim 11 is characterized in that, said resource pool load sharing algorithm is:
Adopt polling to choose business board or choose the minimum business board of CPU usage or choose the minimum business board of memory usage 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.
14. equipment as claimed in claim 10 is characterized in that,
Business board also is used for: after link setup is accomplished, send the link acknowledgement message of the home address of the heading information that comprises in the said message and this business board to all gateway plates that connect;
The gateway plate also is used for: after receiving said link acknowledgement message; If there is not the list item of the home address that comprises said heading information and said business board in local the transmitting, then interpolation comprises the list item of the home address of said heading information and said business board in the transmitting of this locality; Otherwise, this list item in the transmitting of this locality is cured as dynamic entry.
15. equipment as claimed in claim 14 is characterized in that,
Business board also is used for: after all gateway plates that connect send said link acknowledgement message; When needs break off the corresponding communication link of said message, send the link circuit deleting message of the home address of the heading information that comprises in the said message and this business board to all gateway plates that connect;
The gateway plate also is used for: after receiving said link circuit deleting message, with the list item deletion of the home address that comprises said heading information and said business board in the transmitting of this locality.
16., it is characterized in that said heading information comprises like arbitrary described equipment among the claim 10-15: source IP address, source port information, protocol type information, purpose IP address and destination interface information.
17. message forwarding equipment; It is characterized in that this equipment comprises at least one gateway plate and business board, each business board links to each other with each gateway plate; The IP address that disposes on gateway plate and the business board is a public network IP address; The public network IP address that disposes on each business board is identical, and the public network IP address that disposes on each gateway plate is different, and the public network IP address that disposes on gateway plate and the business board is different; Wherein,
Business board is used to generate the message of the IP address that comprises business board that need send; Routing iinformation according to each pre-configured gateway plate is selected a gateway plate; Said message is sent to the gateway plate of selection;
The gateway plate is used to receive the said message that business board sends, and according to pre-configured routing iinformation said message is sent.
18. equipment as claimed in claim 17 is characterized in that, business board is used for:
When selecting a plurality of gateway plate, from these a plurality of gateway plates, select a gateway plate at random according to the routing iinformation of each pre-configured gateway plate; Perhaps, from these a plurality of gateway plates, select the gateway plate that priority is the highest.
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 true CN102571587A (en) 2012-07-11
CN102571587B 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)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102904975A (en) * 2012-09-28 2013-01-30 华为技术有限公司 Method and associated device for message processing
CN103152270A (en) * 2013-03-11 2013-06-12 华为技术有限公司 Method for forwarding packets, and router
CN103516613A (en) * 2013-09-25 2014-01-15 汉柏科技有限公司 Quick message forwarding method
CN104009921A (en) * 2014-04-28 2014-08-27 开网科技(北京)有限公司 Data message forwarding method based on any field matching
CN104468063A (en) * 2014-11-28 2015-03-25 杭州华三通信技术有限公司 Service message processing method and device
CN104954155A (en) * 2014-03-26 2015-09-30 杭州迪普科技有限公司 Network equipment with multiple service boards and method for sharing multiple service boards
CN105939324A (en) * 2016-01-11 2016-09-14 杭州迪普科技有限公司 Message forwarding method and device
CN105939278A (en) * 2015-04-30 2016-09-14 杭州迪普科技有限公司 Data processing method and device
CN105959198A (en) * 2015-12-01 2016-09-21 杭州迪普科技有限公司 Message transmission method and network device
WO2016192686A1 (en) * 2015-06-04 2016-12-08 杭州华三通信技术有限公司 Data packet forwarding
CN106330553A (en) * 2016-08-30 2017-01-11 杭州迪普科技有限公司 Message forwarding method and device
CN107786434A (en) * 2016-08-29 2018-03-09 北京华为数字技术有限公司 Service message processing method and communication equipment
CN107800581A (en) * 2016-09-01 2018-03-13 中兴通讯股份有限公司 A kind of loop detection method of double layer network and double layer network
CN113824631A (en) * 2021-09-10 2021-12-21 烽火通信科技股份有限公司 Message forwarding method and device, communication equipment and storage medium

Citations (5)

* 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
WO2011160384A1 (en) * 2010-06-24 2011-12-29 中兴通讯股份有限公司 Telecommunication method and gateway apparatus
CN102307141A (en) * 2011-08-18 2012-01-04 大唐移动通信设备有限公司 Message forwarding method and device

Patent Citations (5)

* 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
WO2011160384A1 (en) * 2010-06-24 2011-12-29 中兴通讯股份有限公司 Telecommunication method and gateway apparatus
CN102307141A (en) * 2011-08-18 2012-01-04 大唐移动通信设备有限公司 Message forwarding method and device

Cited By (24)

* 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
CN102904975A (en) * 2012-09-28 2013-01-30 华为技术有限公司 Method and associated device for message processing
CN103152270A (en) * 2013-03-11 2013-06-12 华为技术有限公司 Method for forwarding packets, and router
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
CN104954155A (en) * 2014-03-26 2015-09-30 杭州迪普科技有限公司 Network equipment with multiple service boards and method for sharing multiple service boards
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
CN104009921A (en) * 2014-04-28 2014-08-27 开网科技(北京)有限公司 Data message forwarding method based on any field matching
CN104468063A (en) * 2014-11-28 2015-03-25 杭州华三通信技术有限公司 Service message processing method and device
CN105939278B (en) * 2015-04-30 2020-04-03 杭州迪普科技股份有限公司 Traffic processing method and device
CN105939278A (en) * 2015-04-30 2016-09-14 杭州迪普科技有限公司 Data processing method and device
US10333845B2 (en) 2015-06-04 2019-06-25 New H3C Technologies Co., Ltd Forwarding data packets
WO2016192686A1 (en) * 2015-06-04 2016-12-08 杭州华三通信技术有限公司 Data packet forwarding
CN105959198B (en) * 2015-12-01 2019-05-07 杭州迪普科技股份有限公司 Message transmitting method and the network equipment
CN105959198A (en) * 2015-12-01 2016-09-21 杭州迪普科技有限公司 Message transmission method and network device
CN105939324A (en) * 2016-01-11 2016-09-14 杭州迪普科技有限公司 Message forwarding method and device
CN107786434A (en) * 2016-08-29 2018-03-09 北京华为数字技术有限公司 Service message processing method and communication equipment
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
CN107800581A (en) * 2016-09-01 2018-03-13 中兴通讯股份有限公司 A kind of loop detection method of double layer network and double layer network
CN107800581B (en) * 2016-09-01 2022-03-18 中兴通讯股份有限公司 Two-layer network and loopback detection method thereof
CN113824631A (en) * 2021-09-10 2021-12-21 烽火通信科技股份有限公司 Message forwarding method and device, communication equipment and storage medium
CN113824631B (en) * 2021-09-10 2023-04-07 烽火通信科技股份有限公司 Message forwarding method and device, communication equipment and storage medium

Also Published As

Publication number Publication date
CN102571587B (en) 2014-11-12

Similar Documents

Publication Publication Date Title
CN102571587B (en) Method and equipment for forwarding messages
CN101695047B (en) Method and switch for realizing forwarding of dynamic tunnel message
CN1798105A (en) Virtual multicast routing for a cluster having state synchronization
CN103312605A (en) Gateway device identity setting method and management gateway device
JP2008160225A (en) Wireless communication system, wireless communication device, wireless communication method, and program
WO2011106984A1 (en) Method for transmitting data in parallel by mobile terminal and mobile terminal thereof
CN102368727A (en) Crossed IP network TRILL network communication method, system thereof and devices
CN101340356A (en) Method for forwarding information and information forwarding apparatus
CN103036919A (en) Method and device for achieving migration of virtual machine in virtual private cloud (VPC)
WO2018082597A1 (en) Congestion control method and device, and base station
WO2021244206A1 (en) Message processing method, device, system, and storage medium
CN102882781A (en) Method, route bridge and system for transmitting message
CN112261702A (en) Wireless Mesh network routing method and device based on position and electronic equipment
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
WO2013013642A1 (en) Method for processing inter-loop service and crossing node
CN108574635B (en) Routing priority configuration method, device and controller
CN104301229A (en) Data packet forwarding method and device and routing table generating method and device.
CN102291305A (en) Method and device for implementing 6 to 4 relay routing, and message forwarding method
CN100473237C (en) Wireless unit-in network, wireless communication method, controlling servo and data servo
JP2006222659A (en) Radio communication device, system and method
CN101656740A (en) Method and routing equipment for controlling label sending
CN102647364B (en) Method, device and system for Mesh network routing
CN102457435A (en) Message transmission method in FC (Fiber Channel) network as well as FC system and FC equipment
CN105207906A (en) Service path determining method and device
CN103875267A (en) Access node, mobile management network element and paging message processing method

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