CN101179489A - Network device and package forwarding method thereof - Google Patents

Network device and package forwarding method thereof Download PDF

Info

Publication number
CN101179489A
CN101179489A CNA2006102010732A CN200610201073A CN101179489A CN 101179489 A CN101179489 A CN 101179489A CN A2006102010732 A CNA2006102010732 A CN A2006102010732A CN 200610201073 A CN200610201073 A CN 200610201073A CN 101179489 A CN101179489 A CN 101179489A
Authority
CN
China
Prior art keywords
package
network parameter
network
live
virtual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2006102010732A
Other languages
Chinese (zh)
Inventor
郭正智
许世欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CNA2006102010732A priority Critical patent/CN101179489A/en
Publication of CN101179489A publication Critical patent/CN101179489A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to a network device, which includes a list establishment module, a transceiving module, a determining module and a transformation module. The list establishment module is used for establishing an inside list and at least a outside list, and the inside list is used for recording a plurality of real network parameters of the network device, and each outside list is used for recording a plurality of virtual network parameters of the network device. The real network parameter is in one-to-one correspondence with the virtual network parameter. The transceiving module is used for receiving a client and a packet transmitted by network, and then transmits the packet. The determining module is used for determining whether the packet is an Voice over Internet Protocol (VoIP) packet according to the inside list and a plurality of outside lists, and further determining whether the VoIP packet is a VoIP control packet or a VoIP data packet. The transformation is used for transforming the network parameter of the packet according to the inside list and a plurality of outside lists when the VoIP packet is a VoIP control packet. The invention also provides the packet transmission method. The network device and the packet transmission method are able to improve an utilization ratio of the network device.

Description

Network equipment and package forwarding method thereof
Technical field
The present invention relates to network communication field, relate in particular to a kind of network equipment and package forwarding method thereof.
Background technology
(Voice over Internet Protocol, VoIP) in the system, voip gateway is used for the voice that telephone set transmits are carried out Real Time Compression and protocol conversion process, is sent to the Internet (Internet) then at existing Internet protocol voice.When the enterprise customer wishes to carry out VoIP communication, need rent voip gateway to VoIP service provider.
Yet when the enterprise customer rented voip gateway, if this enterprise customer only needs to rent partly connectivity port, it still needed to rent whole voip gateway, and paid the expense of renting whole VoIP.Thus, a voip gateway only can offer single enterprise customer and use, thereby causes network equipment utilance to reduce.
Summary of the invention
In view of this, need provide a kind of network equipment, it can offer a plurality of users and use jointly, thereby improves network equipment utilance.
In addition, also need provide a kind of package forwarding method, it can be applicable in this network equipment, makes this network equipment can offer a plurality of users and uses jointly, thereby improve network equipment utilance.
In addition, also need provide another kind of package forwarding method, it can be applicable in this network equipment, makes this network equipment can offer a plurality of users and uses jointly, thereby improve network equipment utilance.
A kind of network equipment is connected between client and the network, and this network equipment comprises tabulating sets up module, transceiver module, determination module and modular converter.Tabulation is set up module and is used to set up an internal list and at least one outside tabulation, internal list is used to write down a plurality of live network parameters of network equipment, and each outside tabulation is used to write down a plurality of virtual network parameters of network equipment, and a plurality of live network parameters are corresponding one by one with a plurality of virtual network parameters.Transceiver module is used to receive the package of this client and the transmission of this network, and transmits this package.Whether determination module is used for according to internal list and the definite package of a plurality of outside tabulations is the Internet protocol voice data packet, and determines that further this Internet protocol voice data packet is an Internet protocol voice control package, or Internet protocol speech data package.Modular converter is used for when the Internet protocol voice data packet is Internet protocol voice control package, according to the network parameter of the corresponding relation conversion package between internal list and a plurality of outside tabulation.
A kind of package forwarding method, be applied to be connected in the network equipment between client and the network, this package forwarding method comprises: set up an internal list and at least one outside tabulation, internal list is used to write down a plurality of live network parameters of network equipment, a plurality of outside tabulations are used to write down a plurality of virtual network parameters of network equipment, and a plurality of live network parameters are corresponding one by one with a plurality of virtual network parameters; Receive the package of this network transmission; Determine according to internal list and a plurality of outside tabulation whether package is the Internet protocol voice data packet; If package is the Internet protocol voice data packet, determine further that then this package is an Internet protocol voice control package, or Internet protocol speech data package; And if package is this Internet protocol voice control package, then change the network parameter of package according to internal list and the corresponding relation between a plurality of outside tabulations.
A kind of package forwarding method, be applied to be connected in the network equipment between client and the network, this package forwarding method comprises: set up an internal list and at least one outside tabulation, this internal list is used to write down a plurality of live network parameters of this network equipment, and each each and every one outer array table is used to write down a plurality of virtual network parameters of network equipment, and a plurality of live network parameters are corresponding one by one with a plurality of virtual network parameters; Receive the package that client transmits; Determine that according to internal list and a plurality of outside tabulation package is an Internet protocol voice control package, or Internet protocol speech data package; If package is this Internet protocol voice control package, then change the live network parameter of package according to the corresponding relation between this internal list and a plurality of outside tabulation; Change the live network parameter of this Internet protocol voice control package or this Internet protocol speech data package according to the corresponding relation between internal list and a plurality of outside tabulation; And package is forwarded to client according to the live network parameter of package after the conversion.
Network equipment of the present invention and package forwarding method thereof are at first set up module through tabulation and are set up an internal list and at least one outside tabulation, see through the package that transceiver module receives client and network transmission thereafter, and transmit this package, see through determination module then and determine according to internal list and a plurality of outside tabulation whether this package is the Internet protocol voice data packet, and determine that further this Internet protocol voice data packet is an Internet protocol voice control package, or Internet protocol speech data package, see through modular converter at last when the Internet protocol voice data packet is Internet protocol voice control package, offer a plurality of users according to the network parameter of the corresponding relation conversion package between internal list and a plurality of outside tabulation and use jointly, thereby improve network equipment utilance.
Description of drawings
Fig. 1 is the applied environment schematic diagram of network equipment of the present invention.
Fig. 2 is the module map of network equipment of the present invention.
Fig. 3 sets up the schematic diagram of an internal list and at least one outside tabulation for the present invention.
Fig. 4 is the flow chart of package forwarding method of the present invention.
Fig. 5 is the flow chart of the another kind of package forwarding method of the present invention.
Embodiment
Consult Fig. 1, be depicted as the applied environment schematic diagram of network equipment 10 of the present invention.
As shown in Figure 1, network equipment 10 is connected between client 20 and the network 30, is used for exchanging package between client 20 and network 30, and the type of this package comprises control package and data packet.In the present embodiment, network equipment 10 is that (client 20 is the voip phone machine to internet voice for Voice over Internet Protocol, VoIP) gateway, and network 30 is the Internet (Internet).Data packet is RTP (Real-time Transmission Protocol, RTP) package is used to carry speech data, and the control package is MGCP (Media Gateway ControlProtocol, MGCP) package is used to carry the control signaling.
Consult Fig. 2, be depicted as the module map of network equipment 10 of the present invention.
Network equipment 10 comprises tabulating sets up module 110, memory module 120, transceiver module 130, determination module 140, modular converter 150, signaling processing module 160 and signal processing module 170.
Tabulation is set up module 110 and is used to set up an internal list and at least one outside tabulation.In the present embodiment, internal list is used to write down a plurality of live network parameters of network equipment 10, and each outside tabulation is used to write down each group virtual network parameter of network equipment 10, and corresponding one by one between live network parameter and the virtual network parameter.Please consult Fig. 3 simultaneously, be depicted as the schematic diagram that the present invention sets up an internal list and at least one outside tabulation.
Comprise internal list 1 ', outside tabulation 2 ', outside tabulation 3 ' and outside tabulation 4 ' among Fig. 3, wherein internal list 1 ' comprises one first live network parameter field, a plurality of second live network parameter field and a plurality of the 3rd live network parameter field, is respectively applied for the first live network parameter, the second live network parameter and the 3rd live network parameter of record network equipment 10.In the present embodiment, the first live network parameter, the second live network parameter and the 3rd live network parameter are respectively real IP address, real ports number and the true end points titles of network equipment 10.For example, in internal list 1 ', the real ip address of network equipment 10 is 172.19.66.30, port numbers comprises 3000,3002 ..., 3028, the inner terminal title comprise aa1@system.fox.com, aa2@system.fox.com ..., aa15@system.fox.com.
Outside tabulation 2 ', outside tabulation 3 ' and outside tabulation 4 ' include one first virtual network parameter field, the second virtual network parameter field and the 3rd virtual network parameter field, are respectively applied for the first virtual network parameter, the second virtual network parameter and the 3rd virtual network parameter of record network equipment 10.In the present embodiment, the first virtual network parameter of network equipment 10, the second virtual network parameter and the 3rd virtual network parameter are respectively virtual ip address, virtual port number and the virtual endpoint title of network equipment 10.
For example, externally tabulate in 2 ', the virtual ip address of network equipment 10 is 192.168.0.1, virtual port number comprises 3000,3002,3008, real ports in these virtual port number and the internal list 1 ' numbers 3000,3002,3008 is identical, the virtual endpoint title comprises aaln1@gw1.fox.com, aaln2@gw1.fox.com, aaln5@gw1.fox.com, these virtual endpoint titles correspond respectively to the true end points title aaln1@system.fox.com in the tabulation 1, aaln2@system.fox.com, aaln5@system.fox.com.
Externally tabulate in 3 ', the virtual ip address of network equipment 10 is 192.168.0.2, virtual port number comprises 3000,3002,3008, a plurality of virtual port number correspond respectively to the real ports numbers 3010 in the internal list 1 ', 3012,3018, the virtual endpoint title comprises aaln1@gw2.fox.com, aaln2@gw2.fox.com, aaln5@gw2.fox.com, these virtual endpoint titles correspond respectively to the true end points title aaln6@system.fox.com in the tabulation 1, aaln7@system.fox.com, aaln10@system.fox.com.
Externally tabulate in 4 ', the virtual ip address of network equipment 10 is 192.168.0.3, virtual port number comprises 3000,3002,3008, a plurality of virtual port number correspond respectively to the real ports numbers 3020 in the internal list 1 ', 3022,3028, the virtual endpoint title comprises aaln1@gw3.fox.com, aaln2@gw3.fox.com, aaln5@gw3.fox.com, these virtual endpoint titles correspond respectively to the true end points title aaln11@system.fox.com in the tabulation 1, aaln12@system.fox.com, aaln15@system.fox.com.
Memory module 120 is used to store an internal list and a plurality of outside tabulation.In the present embodiment, this memory module 120 can be random access storage device (Random Access Memory, RAM) or flash memory (Flash Memory).
Transceiver module 130 is used to receive the package of client 20 and network 30 transmissions, and transmits this package.In the present embodiment, transceiver module 130 be network interface unit or subscriber line interface circuit (Subscriber Line Interface Circuit, SLIC).If package transmits from network 30, then package has the first virtual network parameter, the second virtual network parameter and the 3rd virtual network parameter.If package transmits from client 20, then package has the first live network parameter, the second live network parameter and the 3rd live network parameter.In the present embodiment, the first virtual network parameter of package or the first live network parameter are for being recorded in the IP address in the package header fields (Header), the second virtual network parameter or the second live network parameter of package are the port numbers that is recorded in the package header fields, and the 3rd virtual network parameter of package or the 3rd live network parameter are the end points title that is recorded in the package header fields.
Determination module 140 is used for determining according to internal list and a plurality of outside tabulation whether package is Internet protocol voice (Voice over Internet Protocol, VoIP) packages.Know clearly it, determination module 140 is at first inquired about IP address and the port numbers of putting down in writing in the package header fields, inquires about internal list and a plurality of outside tabulation according to the IP address and the port numbers of package then.If in internal list and a plurality of outside tabulation Already in of the IP address of package and port numbers, then this package is the VoIP package, otherwise this package is not the VoIP package.
Determination module 140 also is used for when package is the VoIP package, carries out the first live network parameter, the second live network parameter and the first virtual network parameter of this VoIP package, the conversion between the second virtual network parameter respectively.Know clearly it, if package transmits from network 20, then determination module 140 is according to the virtual ip address and the virtual port number of network equipment 10 corresponding in IP address of putting down in writing in this package header fields and a plurality of outside tabulations of port numbers inquiry, thereafter determination module 140 is according to the real IP address of network equipment 10 corresponding in the virtual ip address of the network equipment 10 that inquires and the virtual port number inquiry internal list and real ports number, and last determination module 140 number is changed the IP address and the port numbers of this package according to the real IP address of the network equipment 10 that inquires and real ports.If package transmits from client 20, then determination module 140 is according to the real IP address of network equipment 10 corresponding in the IP address of this package and the port numbers inquiry internal list and real ports number, thereafter determination module 140 is according to the virtual ip address and the virtual port number of network equipment 10 corresponding in the real IP address of the network equipment 10 that inquires and a plurality of outside tabulations of real ports number inquiry, and last determination module 140 is according to the virtual ip address of the network equipment 10 that inquires and IP address and the port numbers that virtual port number is changed this package.
Determination module 140 is used for also further determining that package is a VoIP control package, or the VoIP data packet.In the present embodiment, if the port numbers of package is 2427, then this package is a VoIP control package, if the port numbers of package is not 2427, then this package is the VoIP Datagram.
Modular converter 150 is used for when package is VoIP control package, carries out the 3rd live network parameter of this VoIP control package and the conversion between the 3rd virtual network parameter according to the corresponding relation between described internal list and the described a plurality of outside tabulation.Know clearly it, if package transmits from network 20, then determination module 140 is according to the virtual endpoint title of network equipment 10 corresponding in a plurality of outside tabulations of the end points name query of putting down in writing in the package header fields, thereafter determination module 140 is according to the true end points title of network equipment 10 corresponding in the virtual endpoint name query internal list of the network equipment 10 that inquires, and last determination module 140 is according to the end points title of true this package of end points name translation of the network equipment 10 that inquires.If package transmits from client 30, then determination module 140 is according to the true end points title of network equipment 10 corresponding in the end points name query internal list of package, thereafter determination module 140 is according to the virtual endpoint title of network equipment 10 corresponding in a plurality of outside tabulations of the true end points name query of the network equipment 10 that inquires, and last determination module 140 is according to the end points title of this package of virtual endpoint name translation of the network equipment 10 that inquires.
Signaling processing module 160 is used for the VoIP control package of modular converter 150 conversions is carried out signaling process.In the present embodiment, signaling processing module 160 is the MGCP processor, and signaling process comprises protocal analysis, control and judgement.
Signal processing module 170 is used for VoIP data packet combine digital signal processing.In the present embodiment, signal processing module 170 be digital signal processor (Digital Signal Processor, DSP).
See also Fig. 4, be depicted as the flow chart of package forwarding method of the present invention.
In step S402, tabulation is set up module 110 and is set up an internal list and at least one outside tabulation.In the present embodiment, internal list is used to write down a plurality of live network parameters of network equipment 10, and each outside tabulation is used to write down each group virtual network parameter of network equipment 10, and corresponding one by one between live network parameter and the virtual network parameter.
As shown in Figure 3, tabulation is set up module 110 and is at first set up internal list 1 '.
Secondly, tabulation is set up the first live network parameter of module 110 interpolation network equipments 10 to internal list 1 '.In the present embodiment, the first live network parameter of network equipment 10 is the real IP address of network equipment 10.As shown in Figure 3, to set up the real IP address of the network equipment 10 that module 110 adds be 172.19.66.30 in tabulation.
Once more, tabulation is set up the second live network parameter of module 110 interpolation network equipments 10 to internal list 1 '.In the present embodiment, the second live network parameter of network equipment 10 is the real ports number of network equipment 10.As shown in Figure 3, the real ports that the network equipment 10 that module 110 adds is set up in tabulation number comprises 3000,3002 ..., 3028.
Thereafter, tabulation is set up the 3rd live network parameter of module 110 interpolation network equipments 10 to internal list 1 '.In the present embodiment, the second live network parameter of network equipment 10 is the true end points title of network equipment 10.As shown in Figure 3, the tabulation true end points title of setting up the network equipment 10 that module 110 adds comprise aa1@system.fox.com, aa2@system.fox.com ..., aa16@system.fox.com.
Subsequently, tabulation is set up module 110 and is set up a plurality of outside tabulations.As shown in Figure 3, tabulation is set up module 110 and is set up outside tabulation 2 ', outside tabulation 3 ' and outside tabulation 4 '.
Thereafter, tabulation is set up the first virtual network parameter of module 110 interpolation network equipments 10 to a plurality of outer array tables.In the present embodiment, the first virtual network parameter of network equipment 10 is the virtual ip address of network equipment 10.As shown in Figure 3, it is 192.168.0.1 that the virtual ip address that module 110 is added into the network equipment 10 of outside tabulation 2 ' is set up in tabulation, the virtual ip address that is added into the network equipment 10 of outside tabulation 3 ' is 192.168.0.2, and the virtual ip address that is added into the network equipment 10 of outside tabulation 4 ' is 192.168.0.3.
Subsequently, tabulation is set up the second virtual network parameter of module 110 interpolation network equipments 10 to a plurality of outer array tables.In the present embodiment, the second virtual network parameter of network equipment 10 is the virtual port number of network equipment 10.As shown in Figure 3, tabulation set up virtual port number that module 110 is added into the network equipment 10 of outside tabulation 2 ', outside tabulation 3 ' and outside tabulation 4 ' include 3000,3002 ..., 3008.
At last, tabulation is set up the 3rd virtual network parameter of module 110 interpolation network equipments 10 to a plurality of outer array tables.In the present embodiment, the 3rd virtual network parameter of network equipment 10 is the virtual endpoint title of network equipment 10.As shown in Figure 3, tabulation set up virtual endpoint name that module 110 is added into the network equipment 10 of outside tabulation 2 ' be called aaln1@gw1.fox.com, aaln2@gw1.fox.com ..., aaln5@gw1.fox.com, the virtual terminal that is added into the network equipment 10 of outside tabulation 3 ' call the roll become aaln1@gw2.fox.com, aaln2@gw2.fox.com ..., aaln5@gw2.fox.com, the virtual endpoint name that is added into the network equipment 10 of outside tabulation 4 ' be called aaln1@gw3.fox.com, aaln2@gw3.fox.com ..., aaln5@gw3.fox.com.
In step S404, transceiver module 120 receives the package that network 30 transmits.Package has the first virtual network parameter, the second virtual network parameter and the 3rd virtual network parameter.In the present embodiment, transceiver module 120 is a network interface unit, the first virtual network parameter of package is for being recorded in the IP address in this package header fields (Header), the second virtual network parameter of package is the port numbers that is recorded in this package header fields, and the 3rd virtual network parameter of package is the end points title that is recorded in this package header fields.
In step S406, determination module 140 determines according to internal list and a plurality of outside tabulation whether package is the VoIP package.Know clearly it, determination module 140 is at first inquired about IP address and the port numbers of putting down in writing in the package header fields, inquires about internal list and a plurality of outside tabulation according to the IP address and the port numbers of package then.If in internal list and a plurality of outside tabulation Already in of the IP address of package and port numbers, then this package is the VoIP package, otherwise this package is not the VoIP package.If this package is the VoIP package, then enter step S408.If this package is not the VoIP package, then enter step S412.
In step S408, determination module 140 is according to the first virtual network parameter of the corresponding relation conversion package between internal list and a plurality of outside tabulation.Know clearly it, determination module 140 is according to the virtual ip address of network equipment 10 corresponding in a plurality of outside tabulations of the IP address lookup of this package, thereafter determination module 140 is according to the real IP address of this network equipment 10 of correspondence in the virtual ip address inquiry internal list of this network equipment 10 that inquires, the IP address that last determination module 140 is changed this package according to the real IP address of this network equipment 10 that inquires.
In step S410, determination module 140 is according to the second virtual network parameter of the corresponding relation conversion package between internal list and a plurality of outside tabulation.Know clearly it, determination module 140 is according to the virtual port number of this corresponding in a plurality of outside tabulations of the port numbers inquiry of this package network equipment 10, thereafter the real ports of this corresponding network equipment No. 10 in the determination module 140 virtual port number inquiry internal list according to this network equipment 10 that inquires, last determination module 140 is changed the port numbers of this package according to the real IP address of this network equipment 10 that inquires.
In step S412, determination module 140 will not be that the package of VoIP package is sent to network equipment 10 and is for further processing.
In step S414, determination module 140 determines that further package is a VoIP control package, or the VoIP data packet.In the present embodiment, determination module 140 is a VoIP control package according to second this package of virtual network parameter decision of package, or the VoIP data packet.If the port numbers of package is 2427, then this package is a VoIP control package, if the port numbers of package is not 2427, then this package is the VoIP Datagram.If package is a VoIP control package, then enter step S416.If package is the VoIP data packet, then enter step S420.
In step S416, modular converter 150 is according to the 3rd virtual network parameter of the corresponding relation conversion package between internal list and a plurality of outside tabulation.Know clearly it, determination module 140 is according to the virtual endpoint title of network equipment 10 corresponding in a plurality of outside tabulations of the end points name query of package, thereafter determination module 140 is according to the true end points title of network equipment 10 corresponding in the virtual endpoint name query internal list of the network equipment 10 that inquires, and last determination module 140 is according to the end points title of true this package of end points name translation of the network equipment 10 that inquires.
In step S418, modular converter 150 is sent to signaling processing module 160 with package, by its signaling process to these package execution such as protocal analysis, control and judgement etc.
In step S420, determination module 140 is sent to signal processing module 170 with package, this package is carried out the Digital Signal Processing that comprises coding and decoding etc. by it.
In step S422, transceiver module 130 is forwarded to this client 30 according to the virtual network parameter of this package after changing with this package.In the present embodiment, transceiver module is a Subscriber Line Interface Circuit.
See also Fig. 5, be depicted as the flow chart of the another kind of package forwarding method of the present invention.
In step S502, tabulation is set up module 110 and is set up an internal list and at least one outside tabulation, internal list is used to write down a plurality of live network parameters of network equipment 10, and each outside tabulation is used to write down each group virtual network parameter of network equipment 10, and a plurality of live network parameter is corresponding one by one with a plurality of virtual network parameters.In the present embodiment, step S502 set up step S402 among internal list and a plurality of outside tabulation and Fig. 4 to set up process identical, do not repeat them here.
In step S504, transceiver module 120 receives the package that client 20 transmits.In the present embodiment, transceiver module 120 is a Subscriber Line Interface Circuit, and package has the first live network parameter, the second live network parameter and the 3rd live network parameter.In the present embodiment, transceiver module 120 is a network interface unit, the first live network parameter of package is for being recorded in the IP address in this package head (Header) field, the second live network parameter of package is the port numbers that is recorded in this package header fields, and the 3rd live network parameter of package is the end points title that is recorded in this package header fields.
In step S506, determination module 140 determines that according to internal list and a plurality of outside tabulation package is a VoIP control package, or the VoIP data packet.In the present embodiment, determination module 140 is a VoIP control package according to second this package of live network parameter decision of package, or the VoIP data packet.If the port numbers parameter of package is 2427, then this package is a VoIP control package, if the port numbers of package is not 2427, then this package is the VoIP Datagram.If this package is a VoIP control package, then enter step S508.If this package is the VoIP data packet, then enter step S512.
In step S508, determination module 140 is sent to signaling processing module 160 with package, by it this package is carried out signaling process.
In step S510, modular converter 150 is according to the 3rd live network parameter of the corresponding relation conversion package between internal list and a plurality of outside tabulation.In the present embodiment, the 3rd live network parameter of package is the end points title of this package of putting down in writing in this package header fields.Know clearly it, determination module 140 is according to the true end points title of network equipment 10 corresponding in the end points name query internal list of package, thereafter determination module 140 is according to the virtual endpoint title of this corresponding in a plurality of outside tabulations of the true end points name query of the network equipment 10 that inquires network equipment 10, and last determination module 140 is according to the end points title of this package of virtual endpoint name translation of the network equipment 10 that inquires.
In step S512, determination module 140 is sent to signal processing module 170 with package, by its Digital Signal Processing to this package execution such as coding and decoding.
In step S514, determination module 140 is changed the first live network parameter of this package according to the corresponding relation between internal list and a plurality of outside tabulation.In the present embodiment, the first live network parameter of package is the IP address of this package of putting down in writing in this package header fields.Know clearly it, determination module 140 is according to the real IP address of network equipment 10 corresponding in the IP address lookup internal list of package, thereafter determination module 140 is according to the virtual ip address of network equipment 10 corresponding in a plurality of outside tabulations of the real IP address inquiry of the network equipment 10 that inquires, the IP address that last determination module 140 is changed this package according to the virtual ip address of the network equipment 10 that inquires.
In step S516, determination module 140 is the second live network parameter of the package of the package of VoIP control package or VoIP data packet according to the corresponding relation conversion between internal list and a plurality of outside tabulation.In the present embodiment, the second live network parameter of package is the port numbers of this package of putting down in writing in this package header fields.Know clearly it, determination module 140 is according to the real ports of network equipment corresponding in the port numbers of the package inquiry internal list No. 10, thereafter the virtual port number of corresponding network equipment 10 in a plurality of outside tabulations of real ports number inquiry of determination module 140 according to the network equipment 10 that inquires, last determination module 140 is changed the port numbers of this package according to the virtual port number of the network equipment 10 that inquires.
In step S518, transceiver module 130 is forwarded to this network 20 according to the network parameter of the package after changing with this package.In the present embodiment, transceiver module is a network interface unit.
The present invention's network equipment 10 and package forwarding method thereof are at first set up module 110 through tabulation and are set up an internal list and at least one outside tabulation, see through the package that transceiver module 130 receives client 20 and network 30 transmissions thereafter, and transmit this package, see through determination module 140 then and determine according to this internal list and a plurality of outside tabulation whether package is the VoIP package, and determine that further this VoIP package is a VoIP control package, or VoIP data packet, see through modular converter 150 at last when the VoIP package is VoIP control package, offer a plurality of users according to the network parameter of the corresponding relation conversion package between internal list and a plurality of outside tabulation and use jointly, thereby improve network equipment utilance.

Claims (24)

1. a network equipment is connected between client and the network, it is characterized in that, described network equipment comprises:
Module is set up in tabulation, be used to set up an internal list and at least one outside tabulation, described internal list is used to write down a plurality of live network parameters of described network equipment, and each outside tabulation is used to write down each group virtual network parameter of described network equipment, and described a plurality of live network parameters are corresponding one by one with described a plurality of virtual network parameters;
Transceiver module is used to receive the package of described client and the transmission of described network, and transmits described package;
Determination module is used for determining according to described internal list and described a plurality of outside tabulation whether described package is the Internet protocol voice data packet, and determines that further described package is an Internet protocol voice control package, or Internet protocol speech data package; And
Modular converter is used for when described package is Internet protocol voice control package, changes the network parameter of described package according to the corresponding relation between described internal list and the described a plurality of outside tabulation.
2. network equipment as claimed in claim 1, it is characterized in that, described a plurality of live network parameter comprises one first live network parameter, a plurality of second live network parameter and a plurality of the 3rd live network parameter, and it is respectively true Internet protocol address, a plurality of real ports number and a plurality of true end points title.
3. network equipment as claimed in claim 1, it is characterized in that, each group virtual network parameter comprises a plurality of first virtual network parameters, a plurality of second virtual network parameter and a plurality of the 3rd virtual network parameter, and it is respectively a plurality of virtual Internet protocol address, a plurality of virtual port number and a plurality of virtual endpoint title.
4. network equipment as claimed in claim 1, it is characterized in that, the network parameter of described package comprises first network parameter, second network parameter and the 3rd network parameter, and it is respectively internet address, port numbers and the end points title that is recorded in the described package header fields.
5. network equipment as claimed in claim 4 is characterized in that, described modular converter is to change described the 3rd network parameter according to the corresponding relation between described internal list and the described a plurality of outside tabulation.
6. network equipment as claimed in claim 5 is characterized in that, described determination module also is used for changing described first network parameter when described package is the Internet protocol voice data packet.
7. network equipment as claimed in claim 6 is characterized in that, described determination module also is used for changing described second network parameter when described package is the Internet protocol voice data packet.
8. network equipment as claimed in claim 1 is characterized in that, also comprises:
Signaling processing module is used to handle the described package after described modular converter is changed; And
Signal processing module, being used to handle is the described package of Internet protocol speech data package.
9. a package forwarding method is applied to be connected in the network equipment between client and the network, it is characterized in that described package forwarding method comprises:
Set up an internal list and at least one outside tabulation, described internal list is used to write down a plurality of live network parameters of described network equipment, and each outside tabulation is used to write down each group virtual network parameter of described network equipment, and described a plurality of live network parameters are corresponding one by one with described a plurality of virtual network parameters;
Receive the package that described network transmits;
Determine according to described internal list and described a plurality of outside tabulation whether described package is the Internet protocol voice data packet;
If described package is the Internet protocol voice data packet, determine further that then described package is an Internet protocol voice control package, or Internet protocol speech data package;
If described package is described Internet protocol voice control package,, change the virtual network parameter of described package then according to the corresponding relation between described internal list and the described a plurality of outside tabulation; And
Virtual network parameter according to the described package after the conversion is forwarded to described client with described package.
10. package forwarding method as claimed in claim 9 is characterized in that, described a plurality of live network parameters comprise one first live network parameter, a plurality of second live network parameter and a plurality of the 3rd live network parameter.
11. package forwarding method as claimed in claim 10 is characterized in that, described a plurality of virtual network parameters comprise a plurality of first virtual network parameters, a plurality of second virtual network parameter and a plurality of the 3rd virtual network parameter.
12. package forwarding method as claimed in claim 11, it is characterized in that, the virtual network parameter of described package comprises first network parameter, second network parameter and the 3rd network parameter, and it is respectively internet address, port numbers and the end points title that is recorded in the described package header fields.
13. package forwarding method as claimed in claim 12 is characterized in that, also comprises:, then change described first network parameter according to the corresponding relation between described internal list and the described a plurality of outside tabulation if described package is the Internet protocol voice data packet.
14. package forwarding method as claimed in claim 13, it is characterized in that, if described package is the Internet protocol voice data packet, then the step of changing described first network parameter according to the corresponding relation between described internal list and the described a plurality of outside tabulation comprises:
According to the corresponding described first virtual network parameter in a plurality of outside tabulations of described first network parameter inquiry;
The described first live network parameter according to the described first virtual network parameter query correspondence that inquires; And
Change described first network parameter according to the described first live network parameter that inquires.
15. package forwarding method as claimed in claim 14 is characterized in that, also comprises:, then change described second network parameter according to the corresponding relation between described internal list and a plurality of outside tabulation if described package is the Internet protocol voice data packet.
16. package forwarding method as claimed in claim 15 is characterized in that, if described package is an Internet protocol voice data packet, then the step of changing described second network parameter according to the corresponding relation between described internal list and a plurality of outside tabulation comprises:
According to the corresponding described second virtual network parameter in a plurality of outside tabulations of described second network parameter inquiry;
The described second live network parameter according to the described second virtual network parameter query correspondence that inquires; And
Change described second network parameter according to the described second live network parameter that inquires.
17. package forwarding method as claimed in claim 15 is characterized in that, also comprises: the described package after the transmission conversion is to signal processor.
18. a package forwarding method is applied to be connected in the network equipment between client and the network, it is characterized in that described package forwarding method comprises:
Set up an internal list and at least one outside tabulation, described internal list is used to write down a plurality of live network parameters of described network equipment, and each outside tabulation is used to write down each group virtual network parameter of described network equipment, and described a plurality of live network parameters are corresponding one by one with described a plurality of virtual network parameters;
Receive the package that described client transmits;
Determine that according to described internal list and described a plurality of outside tabulation described package is an Internet protocol voice control package, or Internet protocol speech data package;
If described package is described Internet protocol voice control package, then change the live network parameter of described package according to the corresponding relation between described internal list and the described a plurality of outside tabulation;
Change the live network parameter of described Internet protocol voice control package or described Internet protocol speech data package according to the corresponding relation between described internal list and a plurality of outside tabulation; And
Live network parameter according to the described package after the conversion is forwarded to described network with described package.
19. package forwarding method as claimed in claim 18 is characterized in that, also comprises:
If described package is an Internet protocol voice control package, then described package is sent to signal processor; And
If described package is an Internet protocol speech data package, then described package is sent to digital signal processor.
20. package forwarding method as claimed in claim 18 is characterized in that, described a plurality of live network parameters comprise one first live network parameter, a plurality of second live network parameter and a plurality of the 3rd live network parameter.
21. package forwarding method as claimed in claim 20 is characterized in that, described a plurality of virtual network parameters comprise a plurality of first virtual network parameters, a plurality of second virtual network parameter and a plurality of the 3rd virtual network parameter.
22. package forwarding method as claimed in claim 21, it is characterized in that, the live network parameter of described package comprises first network parameter, second network parameter and the 3rd network parameter, and it is respectively internet address, port numbers and the end points title that is recorded in the described package header fields.
23. package forwarding method as claimed in claim 22, it is characterized in that, if described package is Internet protocol voice control package, then the step of changing the live network parameter of described package according to described internal list and the corresponding relation between described a plurality of outside tabulations comprises:
Inquire about described the 3rd live network parameter corresponding in a plurality of internal list according to described the 3rd network parameter;
Described the 3rd virtual network parameter according to described the 3rd live network parameter query correspondence that inquires; And
Change described the 3rd network parameter according to described the 3rd virtual network parameter that inquires.
24. package forwarding method as claimed in claim 22, it is characterized in that the step of changing the live network parameter of described Internet protocol voice control package or described Internet protocol speech data package according to the corresponding relation between described internal list and a plurality of outside tabulation comprises:
Inquire about the described first virtual network parameter corresponding in the described internal list according to described first network parameter;
The described first live network parameter according to the described first virtual network parameter query correspondence that inquires;
Change described first network parameter according to the described first live network parameter that inquires;
Inquire about the described second virtual network parameter corresponding in the described internal list according to described second network parameter;
The described second live network parameter according to the described second virtual network parameter query correspondence that inquires; And
Change described second network parameter according to the described second live network parameter that inquires.
CNA2006102010732A 2006-11-06 2006-11-06 Network device and package forwarding method thereof Pending CN101179489A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2006102010732A CN101179489A (en) 2006-11-06 2006-11-06 Network device and package forwarding method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2006102010732A CN101179489A (en) 2006-11-06 2006-11-06 Network device and package forwarding method thereof

Publications (1)

Publication Number Publication Date
CN101179489A true CN101179489A (en) 2008-05-14

Family

ID=39405582

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2006102010732A Pending CN101179489A (en) 2006-11-06 2006-11-06 Network device and package forwarding method thereof

Country Status (1)

Country Link
CN (1) CN101179489A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103081415A (en) * 2010-09-03 2013-05-01 日本电气株式会社 A control apparatus, a communication system, a communication method and a recording medium having recorded thereon a communication program
CN107770094A (en) * 2016-08-23 2018-03-06 瑞昱新加坡有限公司 Package retransmission unit and package forwarding priority settings circuit and method
CN111510337A (en) * 2019-01-31 2020-08-07 和硕联合科技股份有限公司 Modem and communication method
CN111565180A (en) * 2020-04-28 2020-08-21 广州锦行网络科技有限公司 Virtual port protection system and method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103081415A (en) * 2010-09-03 2013-05-01 日本电气株式会社 A control apparatus, a communication system, a communication method and a recording medium having recorded thereon a communication program
CN103081415B (en) * 2010-09-03 2016-11-02 日本电气株式会社 Control device, communication system, communication means and record it on and have the record medium of signal procedure
US9531566B2 (en) 2010-09-03 2016-12-27 Nec Corporation Control apparatus, a communication system, a communication method and a recording medium having recorded thereon a communication program including a control unit, a network configuration information management unit, and a path control unit
CN107770094A (en) * 2016-08-23 2018-03-06 瑞昱新加坡有限公司 Package retransmission unit and package forwarding priority settings circuit and method
CN111510337A (en) * 2019-01-31 2020-08-07 和硕联合科技股份有限公司 Modem and communication method
CN111565180A (en) * 2020-04-28 2020-08-21 广州锦行网络科技有限公司 Virtual port protection system and method

Similar Documents

Publication Publication Date Title
US20080107112A1 (en) Network device and packet forwarding method thereof
US7952995B2 (en) Apparatus and method for providing VoIP service
US8340089B2 (en) Apparatus and method for managing data transfer in VoIP gateway
US7486694B2 (en) Media-gateway controller and a call set up processing method for non-same codec communication
US7443842B2 (en) Communication control apparatus
JP4818428B2 (en) COMMUNICATION SYSTEM, TELEPHONE EXCHANGE DEVICE, AND CONTROL METHOD
KR100409177B1 (en) Telephone number domain name system and operating method thereof on the internet
JP2005236824A (en) IPv6/IPv4 TRANSLATOR
CN101567948A (en) Codec converter, gateway device, and codec converting method
TWI404387B (en) Communication system and method for using session initiation protocol (sip) on a converted ip address
WO2006129296A1 (en) Method, system and circuit for suggesting alternative voip destinations to a called number
US20060018267A1 (en) IP telephone system, ENUM server and method for performing telephone conference
US20040165579A1 (en) Method and system for placing and redirecting IP-based telephone calls
CN101179489A (en) Network device and package forwarding method thereof
CN101662482A (en) Method, equipment and system for circuit domain user to call IMS domain user
CN102025848A (en) Gateway and method for processing packets by using gateway
EP1619868A2 (en) IP telephone system, ENUM server and method for performing telephone conference
JP3761512B2 (en) Voice data transmission / reception automatic selection system and method and IP terminal in IP network
CN102104588B (en) Multimedia terminal adapter and remote connection method thereof
JP2001156852A (en) Network address conversion device
KR20020036165A (en) Method for data communications on Internet using NAT and apparatus thereof
CN101707658B (en) Method for realizing voice service in domestic information machine
JP4856472B2 (en) Communication terminal and communication method
JP2012253575A (en) Number solution system, number solution method, and carrier enum server
JP2013012856A (en) Relay system, and codec selection method for relay network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20080514