CN100558098C - A kind of means of communication that realize a plurality of IP address - Google Patents

A kind of means of communication that realize a plurality of IP address Download PDF

Info

Publication number
CN100558098C
CN100558098C CNB031592201A CN03159220A CN100558098C CN 100558098 C CN100558098 C CN 100558098C CN B031592201 A CNB031592201 A CN B031592201A CN 03159220 A CN03159220 A CN 03159220A CN 100558098 C CN100558098 C CN 100558098C
Authority
CN
China
Prior art keywords
address
packet
communication
driver module
video terminal
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.)
Expired - Lifetime
Application number
CNB031592201A
Other languages
Chinese (zh)
Other versions
CN1592301A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB031592201A priority Critical patent/CN100558098C/en
Publication of CN1592301A publication Critical patent/CN1592301A/en
Application granted granted Critical
Publication of CN100558098C publication Critical patent/CN100558098C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

A kind of means of communication that realize a plurality of IP address, this method are at first installed the driver module that binding in advance has a plurality of agreements on the network equipment in multi-media communication, to be provided for the IP address of this network equipment communication applications; Then, the network equipment receives the receiving step of packet and sends the forwarding step of packet, to finish the communication of LA Management Room.Advantage of the present invention is: only just can realize a plurality of IP address by a Network Interface Unit, and can flexible allocation; Need not just can realize multiple video signal application in local area network (LAN) by public network computer and video terminal, transmission speed has obtained guarantee, has also reduced potential safety hazard; Also can realize carrying out between a plurality of terminals the video signal communication simultaneously; Can wrap in the processing of other interior protocol package to comprising the IP protocol data, save protocol conversion device, reduce cost.

Description

A kind of means of communication that realize a plurality of IP address
Technical field
The present invention relates to multimedia technology field, relate to a kind of means of communication that realize a plurality of IP address specifically.
Background technology
At present, the video signal communication of carrying out between the video terminal, and the video signal of carrying out between video terminal and computer application (as H323 meeting, WEB connection, desktop transmission and Telnet etc.) all will be undertaken by the IP address that Network Interface Unit provides.And existing video terminal all has only a Network Interface Unit, and an IP address also only is provided accordingly, and like this, it obviously is impossible carrying out the application of a plurality of video signal communications and other video signal simultaneously.
At above-mentioned limitation, prior art is by a plurality of Network Interface Units of increase on video terminal, thereby realizes a plurality of IP address, and like this, a video terminal just can carry out communication simultaneously with a plurality of video terminals, as shown in Figure 1.In addition, by computer being connected on the public network at video terminal place, computer also must be applied for the IP address of a public network, thereby realizes carrying out multiple video signal application simultaneously between a video terminal and many computers, as shown in Figure 2.
Obviously, though the method that above-mentioned prior art adopted can realize carrying out the video signal communication simultaneously between a video terminal and a plurality of video terminal, many computers and other video signals are used, also there is following shortcoming:
1, because the waste of resource certainly will be caused in the IP address that computer must be applied for public network; In addition, computer is realized multiple video signal application by public network and video terminal, so just makes transmission speed, stability and the fail safe of data all can't ensure.
2, the transmitting-receiving of existing Network Interface Unit only limit to the IP bag, if transmitting-receiving is not IP bag (for example PPPoE bag), then must increase a protocol conversion device again, carry out conversion between the different agreement bag by this equipment, so just directly cause the cost rising.
3, owing to will connect a plurality of Network Interface Units,, certainly will cause flexibility relatively poor so need carry out corresponding modification to the related hardware and the external interface of video terminal by external interface at video terminal.
Summary of the invention
The present invention proposes a kind of means of communication that realize a plurality of IP address, to solve the cost height that exists in the prior art, the problem of very flexible.
For this reason, the invention provides following technical scheme:
A kind of means of communication that realize a plurality of IP address, this method are at first installed the driver module that binding in advance has a plurality of agreements on the network equipment in multi-media communication, to be provided for the IP address of described video terminal communication applications; Then, the network equipment receives the receiving step of packet and sends the forwarding step of packet, to finish the communication of LA Management Room;
Wherein, described a plurality of agreements are a plurality of virtual driver modules of resolving respective protocol packet in described a plurality of agreement respectively, and corresponding each virtual driver module all provides the identification information of protocol type and IP address respectively; When described driver module initialization, the hardware correlation about Network Interface Unit in a plurality of described virtual driver modules is changed to identical value, make packet that a plurality of described virtual driver modules handle by same described Network Interface Unit transmitting-receiving.
Described receiving step is specially:
A, from the packet that receives, read the identification information that includes protocol type and IP address, in a plurality of agreements, mate, reject this packet if information does not match, continue next step if information is complementary according to this identification information;
B, this driver module are handled this packet accordingly according to the protocol rule of its coupling, and this packet is exported to the upper strata by this driver module and handled through the data that unpack and other processing backs form; And
Described forwarding step is specially:
C, according to the identification information that includes protocol type and IP address in the data to be sent, in a plurality of agreements, mate according to this identification information, refuse to send these data if information does not match, continue next step if information is complementary;
D, this driver module are handled these data accordingly according to the protocol rule of its coupling, and these data are handled the packet that the back forms through packing and other, by the port output of described video terminal.
Described agreement is the agreement that has the IP address.
The means of communication of a plurality of IP of realization of the present invention address, be by on the driver module of having installed on the Network Interface Unit, a plurality of agreements being installed again, an original driver module can only handling single protocol package is virtual for can handle a plurality of driver modules of a plurality of protocol package, thus realize the data communication of a plurality of IP address.Specifically, the present invention has the following advantages:
1, computer need not be realized multiple video signal application by public network and video terminal, only an IP address setting in the terminal need be become the IP of local area network (LAN), thereby realize this terminal and the communication of other computers in local area network (LAN), with regard to making the transmission speed of data obtain guarantee, also reduced potential safety hazard like this.
2, because a plurality of IP are provided the address, thereby can realize simultaneously carrying out the video signal communication between a plurality of terminals, and carry out video signal between a plurality of computer and the terminal and use.
3, because the present invention need not increase a plurality of Network Interface Units, and being embodied as a Network Interface Unit by software provides a plurality of IP the address, so just can be random a plurality of IP address is set, its distribution also becomes very flexible.
4, Network Interface Module provided by the present invention is not limited to the processing of IP protocol data bag, also can handle processing, thereby save protocol conversion device such as protocol data bags such as PPPoE, reduction again cost.
Describe the present invention in detail below in conjunction with the drawings and specific embodiments.
Description of drawings
Fig. 1 is the schematic diagram that a plurality of video terminals carry out the video signal communication in the prior art by public network;
Fig. 2 is that a plurality of computers carry out the schematic diagram that video signal is used by public network and video terminal in the prior art;
Fig. 3 is the schematic diagram of a plurality of IP of existing techniques in realizing address;
Fig. 4 is the schematic diagram that the present invention realizes a plurality of IP address;
Fig. 5 is a specific implementation schematic diagram of the present invention;
Fig. 6 is the realization schematic diagram of the specific embodiment of the invention.
Specific implementation
At first, derive the principle basis that the present invention is achieved by the implementation of prior art.Consider that video signals application such as current all H323 video signal communications and WEB and desktop transmission all transmit by the IP bag, and the operating system on all video terminals is all supported a plurality of Network Interface Units, all must provide a driver module at each Network Interface Unit accordingly, be used for the transmitting-receiving operation of physical frame.And under the situation of a plurality of Network Interface Units of assembling, then must provide a plurality of network interface driver modules, carry out the transmitting-receiving of packet at each Network Interface Unit, as shown in Figure 3.Can increase a plurality of Network Interface Units with reference to aforesaid passing through, and then increase a plurality of network interface driver modules, to realize the implementation of a plurality of IP address; And then method of the present invention has been proposed, a plurality of network port driving modules promptly are provided on a Network Interface Unit again, thereby realize a plurality of IP address.
As shown in Figure 4, be the schematic diagram of a plurality of IP of single network interface equipment address.A plurality of network interface driver modules in system, have been increased, in addition, when each network interface driver module is initialized, the part of all inciting somebody to action wherein relevant for hardware is changed to identical value, it is the hardware correlation of unique Network Interface Unit, like this, the difference between multi-network interface device and many driver modules and single network interfaces equipment and the many driver modules just can not have been distinguished by system, and this system will think that a plurality of Network Interface Units have installed.When hardware was received and dispatched, data all were to carry out from identical physical circuit, and are handled by the corresponding driving module.
Below, specifically set forth the specific implementation step and the process of the embodiment of the invention in conjunction with Fig. 5.
Present embodiment is that a Network Interface Unit (as network interface card) is installed on video terminal, on the operating system of video terminal, load onto the driver module of network interface card, two agreements are installed on this driver module, be PPPoE agreement and IP agreement, as shown in Figure 6, can regard as two the virtual driver modules that can resolve PPPoE protocol data bag and IP protocol data bag respectively have been installed again on this driver module this moment, and corresponding each virtual driver module all provides the identification information of protocol type and IP address respectively.When the driver module initialization of this network interface card, the hardware correlation about network interface card in these two virtual driver modules is changed to identical value, the data of these two virtual driver module processing are are all received and dispatched by same network interface card like this.
Receiving step, it is in order to the packet that receives is resolved according to certain protocol, is specially:
1, behind the packet that this network interface card receives from physical circuit by its hardware, therefrom read the identification information that has protocol type, IP address, again by the discriminant function in the network interface card driver module, with on this information and this driver module in advance the relevant information of a plurality of agreements of binding judge comparison, do not reject this packet if information matches, continue if information is complementary to handle.For example, this moment this network interface card to read its protocol type from the packet that receives be the IP agreement, the IP address is 1.1.1.1; And bind two agreements on the driver module of this network interface card in advance, as mentioned above, its relevant information is: PPPoE protocol type, 1.1.1.0 (IP address) and IP protocol type, 1.1.1.1 (IP address).(protocol type: the IP agreement, the IP address: 1.1.1.1) judge relatively with this relevant information, just meet second quasi-protocol, then this packet turns to IP bag driver module to handle to the identification information that will read from packet by above-mentioned discriminant function.
This process realizes that with software used pseudo-code is as follows:
function?ni_receive
{
If (bag of receiving is the PPPoE bag)
Turn to PPPoE bag driver module
Else
Turn to IP bag driver module
}
As above-mentioned flow process,, more then it is matched this PPPoE bag driver module by above-mentioned judgement if the packet that receives is the PPPoE bag; If more all do not meet through judging, then this packet return.
2, this driver module is handled this packet accordingly according to the protocol rule of its coupling, and this packet is through unpacking and other local data of handling back formation, by the port output of this Network Interface Unit.
After the driver module of this PPPoE bag or IP bag is handled this packet accordingly according to PPPoE agreement or IP agreement respectively, handle accordingly via network layer, its formed data in processing back are exported to the upper strata by this driver module and are handled again.
function?pppoe_receive
{
With the format conversion of PPPoE message is IP bag datagram format
Message after the conversion is sent to network layer to be handled
}
Forwarding step, it is to send after data are processed into packet according to specific protocol, is specially:
A, according to the identification information that includes protocol type, IP address in the data to be sent, successively the identification information of this information and each agreement is judged comparison, refuse to send these data if information does not match, continues processing if information is complementary.For example, identification information is PPPoE agreement (type), 1.1.1.0 (IP address) in the data that this moment, this network interface card need send, discriminant function in this network interface card driver module is judged this information and the relevant information of having stored (PPPoE protocol type, 1.1.1.0 (IP address) and IP protocol type, 1.1.1.1 (IP address)) relatively mutually, just meet first kind agreement, then these data turn to PPPoE bag driver module to handle.
This process realizes that with software used pseudo-code is as follows:
function?ni_send
{
If (need send to the PPPoE server)
Turn to PPPoE bag driver module
Else
Turn to IP bag driver module
}
B, this driver module are handled these data accordingly according to the protocol rule of its coupling, and these data are handled the packet that the back forms through packing and other this locality, by the port output of this Network Interface Unit.
After the driver module of this PPPoE bag or IP protocol package is handled these data accordingly according to PPPoE agreement or IP agreement, via data link layer, network layer are handled accordingly successively again, and it handles the port output of the formed packet in back by this network interface card.
function?pppoe_send
{
The IP message format is converted to the PPPoE message format
Message after the conversion is sent to physical layer
}
The embodiment of the invention is by installing a plurality of agreements again on the driver module of having installed on the Network Interface Unit, an original driver module can only handling single protocol package is virtual for can handle a plurality of driver modules of a plurality of protocol package, thus realize the data communication of a plurality of IP address.
It has the following advantages:
1, computer need not realize that multiple video signal uses by public network and video terminal, only need with The IP of LAN is arranged in an IP address in the terminal, thereby realizes this terminal and other calculating The communication of machine in LAN so just so that data transfer speed has obtained guarantee, also reduces Potential safety hazard.
2, because a plurality of IP address is provided, thereby can realize simultaneously looking between a plurality of terminals The news communication, and carry out video signal between a plurality of computer and the terminal and use.
3, because the present invention need not increase a plurality of Network Interface Units, be embodied as one by software Individual Network Interface Unit provides a plurality of IP address, so just can be random a plurality of IP address is set, Its distribution also becomes very flexible.
4, Network Interface Module provided by the present invention is not limited to the processing of IP protocol data bag, also Can process the processing such as protocol data bags such as PPPoE, thereby save protocol conversion device, Reduction again cost.

Claims (2)

1, a kind of means of communication that realize a plurality of IP address is characterized in that, this method comprises the steps:
At first, the driver module that binding in advance has a plurality of agreements is installed, to be provided for the IP address of described video terminal communication applications on the video terminal in multi-media communication;
Then, video terminal receives the receiving step of packet and sends the forwarding step of packet, to finish the communication between video terminal;
Wherein, described a plurality of agreements are a plurality of virtual driver modules of resolving respective protocol packet in described a plurality of agreement respectively, and corresponding each virtual driver module all provides the identification information of protocol type and IP address respectively; When described driver module initialization, the hardware correlation about Network Interface Unit in a plurality of described virtual driver modules is changed to identical value, make packet that a plurality of described virtual driver modules handle by same described Network Interface Unit transmitting-receiving;
Wherein, the described video terminal receiving step that receives packet specifically comprises:
A, from the packet that receives, read the identification information that includes protocol type and IP address, in a plurality of agreements, mate, reject this packet if information does not match, continue next step if information is complementary according to this identification information;
B, this driver module are handled this packet accordingly according to the protocol rule of its coupling, and this packet is exported to the upper strata by this driver module and handled through the data that unpack and other processing backs form;
Wherein, the described video terminal forwarding step that sends packet specifically comprises:
C, according to the identification information that includes protocol type and IP address in the data to be sent, in a plurality of agreements, mate according to this identification information, refuse to send these data if information does not match, continue next step if information is complementary;
D, this driver module are handled these data accordingly according to the protocol rule of its coupling, and these data are handled the packet that the back forms through packing and other, by the port output of described video terminal.
2, a kind of means of communication that realize a plurality of IP address as claimed in claim 1 is characterized in that, the described agreement that is bundled on the driver module is the agreement that has the IP address.
CNB031592201A 2003-09-02 2003-09-02 A kind of means of communication that realize a plurality of IP address Expired - Lifetime CN100558098C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031592201A CN100558098C (en) 2003-09-02 2003-09-02 A kind of means of communication that realize a plurality of IP address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031592201A CN100558098C (en) 2003-09-02 2003-09-02 A kind of means of communication that realize a plurality of IP address

Publications (2)

Publication Number Publication Date
CN1592301A CN1592301A (en) 2005-03-09
CN100558098C true CN100558098C (en) 2009-11-04

Family

ID=34598611

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031592201A Expired - Lifetime CN100558098C (en) 2003-09-02 2003-09-02 A kind of means of communication that realize a plurality of IP address

Country Status (1)

Country Link
CN (1) CN100558098C (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080082690A1 (en) * 2006-09-29 2008-04-03 Dell Products L.P. System and method for the dynamic loading of protocol adapters
CN102209162A (en) * 2010-03-30 2011-10-05 上海可鲁系统软件有限公司 Remote wireless facsimile system and equipment thereof
CN106909348A (en) * 2015-12-22 2017-06-30 中电科技(北京)有限公司 A kind of video card initialization method under domestic processor platform based on UEFI firmwares
CN105763336B (en) * 2016-02-04 2019-04-09 天津市英贝特航天科技有限公司 The multiple network protocol switching method and switching device of single network interface card
CN107302528A (en) * 2017-06-12 2017-10-27 深圳市诺龙技术股份有限公司 A kind of transmission method of multi-protocol data and a kind of gateway apparatus
CN107800710A (en) * 2017-11-08 2018-03-13 绵阳美菱软件技术有限公司 A kind of intelligent appliance and platform connection methods, system and Internet of Things module
TWI703835B (en) * 2019-01-25 2020-09-01 中華電信股份有限公司 System and method for provisioning and monitoring virtual machine virtual network interface controller

Also Published As

Publication number Publication date
CN1592301A (en) 2005-03-09

Similar Documents

Publication Publication Date Title
US8225020B2 (en) Method and system for hardware based implementation of USB 1.1 over a high speed link
US5724355A (en) Network access to internet and stored multimedia services from a terminal supporting the H.320 protocol
US5835725A (en) Dynamic address assignment and resolution technique
US7882254B2 (en) Common protocol layer architecture and methods for transmitting data between different network protocols and a common protocol packet
US7167923B2 (en) System and method for selectively bridging and routing data packets between multiple networks
CN107148806A (en) For by using electric power agreement protocol via the device, method and system of electric power line traffic control load equipment
US6229809B1 (en) Method and system for combining computer network protocols
WO2001037485A1 (en) Local area network accessory for integrating usb connectivity in existing ethernet networks
WO2013112327A2 (en) System and method for a multi-tenant datacenter with layer 2 cloud interconnection
CN110225071A (en) Vehicle intelligent gateway and automobile
CN104113491A (en) Data transmission method and device
KR20140124255A (en) Gateway and Method for delivering Message thereof
CN100461733C (en) Method for distributing address for intelligent information household electronic equipments in household network
US8295298B2 (en) Device with ethernet switch function and single ethernet connector
CN100558098C (en) A kind of means of communication that realize a plurality of IP address
US6889258B1 (en) Automatic compiling of address filter information
CN207926649U (en) Vehicle intelligent gateway and automobile
CN101312412B (en) Ethernet transmission system based on embedded technique
CN101621528B (en) Conversation system based on Ethernet switch cluster management and method for realizing conversation passage
KR100675402B1 (en) Switch hub for home network and home network system using thereof and method for transmitting data using thereof
US20030115359A1 (en) Network relay apparatus, network system, and network relay method
JP3494265B2 (en) Satellite line connection device
Olshansky et al. Residential LAN architecture
CN1448852A (en) LAN fitting universal series bus standard and switching line concentrator thereof
JPH0685871A (en) Module equipment in common use for different communication systems

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
CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20091104