CN1859112A - Data transfer device and data transfer method of virtual ether net device - Google Patents
Data transfer device and data transfer method of virtual ether net device Download PDFInfo
- Publication number
- CN1859112A CN1859112A CN 200610033068 CN200610033068A CN1859112A CN 1859112 A CN1859112 A CN 1859112A CN 200610033068 CN200610033068 CN 200610033068 CN 200610033068 A CN200610033068 A CN 200610033068A CN 1859112 A CN1859112 A CN 1859112A
- Authority
- CN
- China
- Prior art keywords
- data
- usb
- driver unit
- request package
- virtual ethernet
- 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
Links
Images
Landscapes
- Information Transfer Systems (AREA)
Abstract
This invention discloses a virtual Ethernet device data transfer device including: a driving program unit of a general serial bus line used in supporting an operation system to control the physical interface of the general serial bus to send and receive data according to its protocol, a virtual Ethernet device drive program unit virtually registering to the operation system as the Ethernet device and dispatching said general serial bus driving program unit and virtual general serial bus physical interface as that of the Ethernet to send and receive data when transferring data, besides, this invention also discloses a method for transmitting and receiving data.
Description
Technical field
The present invention relates to data transferring technique, in particular, the present invention relates to a kind of virtual Ethernet device data transfer device and data transferring method.
Background technology
Ethernet technology originates from local area network building agreement and technology, develops into today, and the terminal use more than 97% carries out the transmission and the reception of data traffic by Ethernet interface, realizes various forms of networkings.Because simple, the networking flexibility, cheap of ethernet technology configuration, and technology itself is familiar with by most of people and is accepted, therefore the Ethernet networking technology is greatly developed, particularly mobile phone development merchant requisite Ethernet interface that needs when mobile phone is researched and developed transmits data and debugging cell-phone function with it.But current most of mobile phone development platform veneer can integrated Ethernet interface, but adopt USB (USB, Universal Serial Bus) how interface is not having the equipment of Ethernet interface (for example mobile phone development platform veneer) to realize that upward it is the problem that industry faces that virtual ethernet equipment carries out the data transmission.
Summary of the invention
The technical problem that the present invention solves provides a kind of virtual Ethernet device data transfer device and data transferring method, is that Ethernet interface carries out the network data transmission to realize the dummy general serial bus interface.
For addressing the above problem, virtual Ethernet device data transfer device of the present invention comprises:
The USB physical interface is used for transceive data;
USB driver unit is used to control the USB physical interface according to the universal serial bus protocol transceive data;
Virtual ethernet device driver unit at the virtual ethernet device that is registered as of operating system, when transmitting data, calls described USB driver unit, and the dummy general serial bus physical interface is the Ethernet interface transceive data.
Wherein, described virtual ethernet device driver unit comprises:
Transmitting element receives the data that network layer transmits, and gives USB driver unit with the data forwarding that this network layer transmits, so that data are sent by the USB physical interface;
Receiving element receives the data that USB driver unit transmits, and gives network layer with the data forwarding that this USB driver unit transmits;
Registering unit is ethernet device transmitting element and ethernet device receiving element to described transmitting element of the virtual registration of operating system and described receiving element.
Wherein, described transmitting element comprises:
First receiving data units receives the data that network layer transmits;
First transmits data cell, calls the transmission interface of USB driver unit, and the data forwarding that the network layer that described first receiving data units is received transmits is given USB driver unit.
Wherein, the described first forwarding data cell comprises:
The first USB request package creating unit is used to create the USB request package;
First encapsulation unit, the data encapsulation that the network layer that is used for receiving transmits is to described USB request package;
USB request package transmitting element is used for described USB request package is sent to USB driver unit;
Be sent completely confirmation unit, be sent completely notice back releasing network resources receiving USB driver unit.
Wherein, described receiving element comprises:
Second receiving data units receives the data that USB driver unit transmits;
Second transmits data cell, gives network layer with the data forwarding that the USB driver unit that receives transmits.
Wherein, described second receiving data units comprises:
The second USB request package creating unit is used to create the USB request package;
USB request package transmitting element is used for that described USB request package is sent to USB and drives bus unit;
USB request package receiving element is used to receive the USB request package of carrying data that USB driver unit sends;
Finish receiving confirmation unit, obtain the data in the described USB request package, then described data are sent to second and transmit data cell, indicate the second USB request package creating unit to create next USB request package.
Correspondingly, the method for a kind of virtual ethernet equipment sending data of the present invention mainly comprises:
The data that a1, reception network layer transmit;
A2, call the transmission interface of USB driver unit, send to USB driver unit the data forwarding that the network layer of described reception transmits.
Wherein, step a2 specifically comprises:
Create the USB request package;
The data encapsulation that the network layer that receives is transmitted arrives described USB request package;
Described USB request package is sent to USB driver unit.
In addition, also comprise step a3: send data and finish notice back releasing network resources receiving USB driver unit.
Correspondingly, the method for a kind of virtual ethernet equipment receiving data of the present invention, this method mainly comprises:
The data that b1, reception USB driver unit transmit;
B2, the data forwarding that described USB driver unit is transmitted are given network layer.
Wherein, step b1 specifically comprises:
B11, establishment USB request package;
B12, described USB request package is transmitted to USB drives bus unit;
The USB request package of carrying data that b13, reception USB driver unit send;
B14, obtain the data in the described USB request package, execution in step b2.
Accordingly, the method that a kind of virtual ethernet equipment room data of the present invention transmit comprises:
S1, transmitting terminal virtual ethernet device driver unit receive the data that network layer transmits;
The transmission interface of the USB driver unit of s2, this transmitting terminal of transmitting terminal virtual ethernet device driver cell call sends to USB driver unit the data forwarding that the network layer of described reception transmits;
The data that s3, receiving terminal USB driver unit receiving end/sending end transmit;
S4, receiving terminal virtual ethernet device driver unit obtain the data that USB driver unit receives;
Network layer is given with the data forwarding that described USB driver unit receives in s5, receiving terminal virtual ethernet device driver unit.
Wherein, transmission data in step s2 virtual ethernet device driver unit specifically comprise:
Create the USB request package;
The data encapsulation that the network layer that receives is transmitted arrives described USB request package;
Described USB request package is sent to USB driver unit.
Alternatively, also comprise after the step s2: send data and finish notice back releasing network resources receiving USB driver unit.
Wherein, step s4 receiving terminal virtual ethernet device driver unit obtains the data that USB driver unit receives and specifically comprises:
Create the USB request package;
Described USB request package is transmitted to USB drives bus unit;
Receive the USB request package of carrying data that USB driver unit sends;
Obtain the data in the described USB request package.
Compared with prior art, the present invention has following beneficial effect:
The present invention registers an ethernet device by virtual ethernet driver unit in operating system, be used for receiving and sending the packet of network layer, described virtual ethernet driver unit further is called USB driver unit simultaneously, to pass through the USB (universal serial bus) transceive data, realized using the USB (universal serial bus) Virtual Ethernet, promptly replace Ethernet interface and realize that network data transmits with USB (universal serial bus), to upper layer application is transparent, and reusability is very high.
Description of drawings
Fig. 1 is that the present invention realizes the configuration diagram that data transmit;
Fig. 2 is the composition schematic diagram of virtual Ethernet device data transfer device of the present invention;
Fig. 3 is the flow chart of the method for virtual ethernet equipment room data transmission of the present invention;
Fig. 4 is a kind of specific embodiment composition frame chart of transmitting element shown in Fig. 2;
Fig. 5 is the main realization flow figure of method that described transmitting element sends data;
Fig. 6 is a kind of specific embodiment composition frame chart of receiving element shown in Fig. 2;
Fig. 7 is the main realization flow figure of method that described transmitting element sends data;
Fig. 8 is the driving configuration diagram that the concrete mobile phone development platform veneer side of using of the present invention is communicated by letter with host computer side.
Embodiment
Usually some veneers are owing to reasons such as volume ratio is less do not have integrated Ethernet interface, mobile phone development platform veneer or the like for example, the substitute is and adopt USB interface to transmit data, core of the present invention promptly is to use the USB interface Virtual Ethernet, by the USB interface transceive data, thereby realize that replacing Ethernet interface with USB interface realizes that network data transmits, and describes in detail below.
With reference to figure 1, this figure is that the present invention realizes the configuration diagram that data transmit, virtual ethernet driver unit is between network layer and USB device among the present invention, described virtual ethernet device driver unit received the packet that network layer is come when descending (being that network layer is to USB device) sent data, the copy network packet is to own inner data space, call the USB driving and open the transmission function interface of coming out, transmit packet and give USB device.
During up reception data, USB device receives packet, and packet is uploaded to virtual ethernet device driver unit, and described virtual ethernet device driver unit is given network layer this packet again.
With reference to figure 2, this figure is the composition schematic diagram of virtual Ethernet device data transfer device of the present invention, and it mainly comprises:
Virtual ethernet device driver unit 12, be mainly used at the virtual ethernet device that is registered as of operating system, when transmitting data, call described USB driver unit, the dummy general serial bus physical interface is the Ethernet interface transceive data, during specific implementation, the device driver of virtual ethernet described in the present invention unit 12 respectively with network layer and USB driver unit 11 interaction datas, give USB driver unit 11 with the data forwarding that network layer transmits, perhaps the data forwarding that USB driver unit 11 is transmitted is given network layer.
With reference to figure 3, this figure is the flow chart of the method for virtual ethernet equipment room data transmission of the present invention, specifically mainly may further comprise the steps:
S1, transmitting terminal virtual ethernet device driver unit receive the data that network layer transmits;
The transmission interface of the USB driver unit of s2, this transmitting terminal of transmitting terminal virtual ethernet device driver cell call sends to USB driver unit the data forwarding that the network layer of described reception transmits;
The data that s3, receiving terminal USB driver unit receiving end/sending end transmit;
S4, receiving terminal virtual ethernet device driver unit obtain the data that USB driver unit receives;
Network layer is given with the data forwarding that described USB driver unit receives in s5, receiving terminal virtual ethernet device driver unit.
Describe virtual ethernet device driver unit below in detail, with reference to figure 2, the specific implementation of a kind of described virtual ethernet device driver unit 12 mainly comprises:
Transmitting element 121, described transmitting element 121 is mainly used in network layer mutual, receive the data that network layer transmits, give USB driver unit with the data forwarding that this network layer transmits, so that data are sent by the USB physical interface;
Receiving element 122, described receiving element 122 is mainly used in USB driver unit mutual, receive the data that USB driver unit transmits, the data forwarding that this USB driver unit is transmitted is given network layer then;
Registering unit 123, described registering unit are mainly used in to described transmitting element 121 of the virtual registration of operating system and described receiving element 122 and are ethernet device transmitting element and ethernet device receiving element.
Stress transmitting element 121 and receiving element 122 below.
With reference to figure 4, this figure is a kind of specific embodiment composition frame chart of transmitting element 121 among the present invention, and concrete, transmitting element described in the present embodiment 121 mainly comprises:
First receiving data units 1211 is mainly used in and receives the data that network layer transmits;
First transmits data cell 1212, be mainly used in the transmission interface that calls USB driver unit, the network layer data that described first receiving data units is received is transmitted to USB driver unit, during specific implementation, described first transmits data cell 1212 mainly comprises:
The first USB request package creating unit is used to create the USB request package;
First encapsulation unit, the data encapsulation that the network layer that is used for receiving transmits is to described USB request package;
USB request package transmitting element is used for described USB request package is sent to USB driver unit;
Be sent completely confirmation unit, be sent completely notice back releasing network resources receiving USB driver unit.
With reference to figure 5, this figure is the main flow chart that sends the method for data among the present invention as the transmitting element of the virtual ethernet device driver unit of transmitting terminal, specifically mainly may further comprise the steps:
Step s11 receives the data that network layer transmits;
Step s12 calls the transmission interface of USB driver unit, sends to USB driver unit the data forwarding that the network layer of described reception transmits, and during specific implementation, described step s12 mainly comprises following substep:
Step s121 creates the USB request package;
Step s122, the data encapsulation that the network layer that receives is transmitted arrives described USB request package;
Step s123 sends to USB driver unit with described USB request package;
Step s124: send data and finish notice back releasing network resources receiving USB driver unit.
With reference to figure 6, this figure is a kind of specific embodiment composition frame chart of receiving element 122 among the present invention, and concrete, receiving element described in the present invention 122 mainly comprises:
Second receiving data units 1221 is mainly used in and receives the data that USB driver unit transmits, and during specific implementation, described second receiving data units 1221 mainly comprises:
Described second receiving data units comprises:
The second USB request package creating unit is used to create the USB request package;
USB request package transmitting element is used for that described USB request package is sent to USB and drives bus unit;
USB request package receiving element is used to receive the USB request package of carrying data that USB driver unit sends;
Finish receiving confirmation unit, obtain the data in the described USB request package, then described data are sent to second and transmit data cell, indicate the second USB request package creating unit to create next USB request package, continue to receive data;
Second transmits data cell 1222, gives network layer with the data forwarding that the USB driver unit that receives transmits.
With reference to figure 7, this figure is the method main flow chart of the present invention as receiving element reception data in the virtual ethernet equipment of receiving terminal, specifically mainly may further comprise the steps:
Step s21 receives the data that USB driver unit transmits, and during specific implementation, described step s21 mainly comprises following substep:
Step s211 creates the USB request package;
Step s212 is transmitted to USB with described USB request package and drives bus unit;
Step s213 receives the USB request package of carrying data that USB driver unit sends;
Step s214 obtains the data in the described USB request package, and described data are sent to network layer, returns step s211;
Step s22 gives network layer with the data forwarding that described USB driver unit transmits.
The present invention can be applied in the occasion of various USB virtual ethernet equipment transmission datas, and for example mobile phone development platform veneer does not have Ethernet interface.But the many debugging acids in the mobile phone development veneer (for example VxWorks debugging acid Tornado) need to connect with Ethernet interface and mobile phone development platform veneer, carry out network data and transmit.Adopt method of the present invention to utilize the USB mouth of mobile phone development platform veneer to substitute Ethernet interface, realize procotol, make Tornado can by USB simulate Ethernet interface debug with download module to mobile phone development platform veneer, realize the communication function of network.
With reference to figure 8, this figure is the driving configuration diagram that mobile phone development platform veneer side that the present invention uses is communicated by letter with host computer side.
Host computer side and mobile phone development platform veneer realize that data are transmitted in host computer side and mobile phone development platform veneer side has included virtual ethernet device driver unit and USB device driver unit among the present invention, USB interface in the physical layer both sides connects by USB cable, communicate according to usb protocol, describe respectively below.
Registering unit 123 for virtual ethernet device driver unit 12 in the mobile phone development platform veneer application of above-mentioned employing vxworks operating system specifically can adopt a registration function, in vxWorks operating system, add the entrance function of an ethernet device driver in advance among the confignet.h of plate level kit, in described entrance function, call registration function, system can be in the initialization ethernet device like this, call described registration function and in system, register an ethernet device, be used for receiving and the transmission packet.Described registration function can distribute the ethernet device structure to be used for preserving relevant ethernet device information during specific implementation, to operating system registration ethernet device, provide current ethernet device a series of call back functions (mainly be the function of specifically carrying out transmitting element and receiving element function, should with in comprise that mainly one is monitored input function and sends function) call to operating system.
After the operating system initialization ethernet device is finished, can start ethernet device.Because described ethernet device is virtual, there are not actual hardware register and interruption, so there is not " startup " this action.But do not have to interrupt just not knowing when can receive the packet that the opposite end ethernet device is sent, inquire about USB driver unit by the poll function among the present invention and whether receive packet.Specific implementation is can send a USB request package to USB driver unit, and USB driver unit is put into USB with this request package and drives in the formation of safeguarding, with the data space reception data of URB; After USB device is received packet, call request bag correspondence finish function, expression USB drives and handles the current request package (packet has been got well in reception) that is over, this receives the request package of data virtual ethernet device driver cell processing, the region of memory of the network packet that the copy related data provides to system, at last this packet is reported the network layer of operating system, finish the packet receiving flow process, initiate query manipulation next time simultaneously again.
Specific implementation receiving element present embodiment can adopt one to monitor input function ListenForInput () and be used for poll USB device state, handles the packet that receives, and described monitoring input function mainly is achieved as follows function:
The second USB request package creating unit function is promptly created USB Request Block (URB); USB request package transmitting element function promptly sends URB and wraps to USB driver unit; USB request package receiving element function promptly receives the URB bag that carries data that USB driver unit transmits; And finish receiving the confirmation unit function, promptly registration finishes receiving function (ReceiveCompleteFunction) and finishes and finish receiving the affirmation function when creating the URB bag, after data are received in USB driver unit, will call the described function that finishes receiving, obtain data in the described USB request package by the described function that finishes receiving, be transmitted to network layer, indication is created next URB bag and is continued to receive data.
In addition, the specific implementation transmitting element can adopt one to send the function realization in the present embodiment, the call back function (promptly sending function) that operating system can be called registration sends data to ethernet device driver unit, during specific implementation, described transmission function mainly is achieved as follows function:
The first USB request package creating unit function is promptly created the USB request package; The first encapsulation unit function, the data encapsulation that the network layer that is about to receive transmits is to described USB request package; USB request package transmitting element function is about to described USB request package and sends to USB driver unit; And be sent completely the confirmation unit function, promptly be sent completely notice back releasing network resources receiving USB driver unit, the space of occupying such as the releasing network packet etc.
Be that the concrete application of Ethernet interface describes with host computer side expanding USB interface below with described mobile phone development platform single board communication.
The operating system of host computer side is Windows operating system, the registering unit 123 of virtual ethernet device driver of the present invention unit 12 can adopt a registration function equally under described Windows operating system, can under Windows operating system, write NIC driver in the present embodiment, specifically need use network-driven interface specification (Network Driver Interface Specification, NDIS) api function in storehouse, the present invention installs an ethernet device driver in host computer side Windows operating system, in the entrance function of driver, call registration function, system can be in the initialization ethernet device like this, call described registration function and in system, register an ethernet device, be used for receiving and the transmission packet.Same, described registration function can distribute the ethernet device structure to be used for preserving relevant ethernet device information during specific implementation, to operating system registration ethernet device, it (mainly is the function of specifically carrying out transmitting element and receiving element function that a series of call back functions of current ethernet device are provided, should with in comprise that equally mainly one is monitored input function and sends function, specifically can be with reference to aforementioned related description) call to operating system.
After the operating system initialization ethernet device is finished, can start ethernet device,, not have actual hardware register and interruption, so there is not " startup " this action because described ethernet device is virtual.But do not have to interrupt just not knowing when can receive the packet that the opposite end ethernet device is sent, similar with mobile phone development platform veneer side, in the application of host computer side of the present invention owing to do not have hardware interrupts and a hardware register, actual transfer of data is by USB, so do not need to register the Interrupt Process function; But inquire about the USB device object and will obtain the pointer (Handle) of this USB device object, follow-up transceive data is given the USB device object and is handled, and concrete data transmit-receive process is as follows:
Send data: with the transmission data class of the ethernet device driver unit of realizing under the mobile phone development platform veneer side vxWorks operating system seemingly, after should receiving the packet of network layer with the virtual ethernet device driver unit of middle realization, create a URB request package, the data encapsulation that the described network layer that receives is transmitted arrives described USB request package, then described URB request package is sent to USB driver unit, finish the transmission of packet.
Receive data: with the transmission data class of the ethernet device driver unit of realizing under the mobile phone development platform veneer side vxWorks operating system seemingly, the URB request package is created in the virtual ethernet device driver unit of realizing in should using, whether the poll USB device receives data, if receive, then USB device copies packet in the request package of URB, call the function that finishes receiving with virtual too net device driver unit, notice virtual ethernet device driver unit is handled the packet of receiving.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Claims (15)
1, a kind of virtual Ethernet device data transfer device is characterized in that, comprising:
The USB physical interface is used for transceive data;
USB driver unit is used to control the USB physical interface according to the universal serial bus protocol transceive data;
Virtual ethernet device driver unit at the virtual ethernet device that is registered as of operating system, is used to call described USB driver unit, and the dummy general serial bus physical interface is the Ethernet interface transceive data.
2, virtual Ethernet device data transfer device according to claim 1 is characterized in that, described virtual ethernet device driver unit comprises:
Transmitting element receives the data that network layer transmits, and gives USB driver unit with the data forwarding that this network layer transmits, so that data are sent by the USB physical interface;
Receiving element receives the data that USB driver unit transmits, and gives network layer with the data forwarding that this USB driver unit transmits;
Registering unit is ethernet device transmitting element and ethernet device receiving element to described transmitting element of the virtual registration of operating system and described receiving element.
3, virtual Ethernet device data transfer device according to claim 2 is characterized in that, described transmitting element comprises:
First receiving data units receives the data that network layer transmits;
First transmits data cell, calls the transmission interface of USB driver unit, and the data forwarding that the network layer that described first receiving data units is received transmits is given USB driver unit.
4, virtual Ethernet device data transfer device according to claim 3 is characterized in that, described first transmits data cell comprises:
The first USB request package creating unit is used to create the USB request package;
First encapsulation unit, the data encapsulation that the network layer that is used for receiving transmits is to described USB request package;
USB request package transmitting element is used for described USB request package is sent to USB driver unit;
Be sent completely confirmation unit, be sent completely notice back releasing network resources receiving USB driver unit.
5, according to each described virtual Ethernet device data transfer device of claim 2-4, it is characterized in that described receiving element comprises:
Second receiving data units receives the data that USB driver unit transmits;
Second transmits data cell, gives network layer with the data forwarding that the USB driver unit that receives transmits.
6, virtual Ethernet device data transfer device according to claim 5 is characterized in that, described second receiving data units comprises:
The second USB request package creating unit is used to create the USB request package;
USB request package transmitting element is used for that described USB request package is sent to USB and drives bus unit;
USB request package receiving element is used to receive the USB request package of carrying data that USB driver unit sends;
Finish receiving confirmation unit, obtain the data in the described USB request package, then described data are sent to second and transmit data cell, indicate the second USB request package creating unit to create next USB request package.
7, the method for a kind of virtual ethernet equipment sending data according to claim 1 is characterized in that, comprising:
The data that a1, reception network layer transmit;
A2, call the transmission interface of USB driver unit, send to USB driver unit the data forwarding that the network layer of described reception transmits.
8, the method for virtual ethernet equipment sending data according to claim 7 is characterized in that, step a2 specifically comprises:
Create the USB request package;
The data encapsulation that the network layer that receives is transmitted arrives described USB request package;
Described USB request package is sent to USB driver unit.
9, according to the method for claim 7 or 8 described virtual ethernet equipment sending datas, it is characterized in that, also comprise step a3: send data and finish notice back releasing network resources receiving USB driver unit.
10, the method for a kind of virtual ethernet equipment receiving data according to claim 1 is characterized in that, comprising:
The data that b1, reception USB driver unit transmit;
B2, the data forwarding that described USB driver unit is transmitted are given network layer.
11, the method for virtual ethernet equipment receiving data according to claim 10 is characterized in that, step b1 specifically comprises:
B11, establishment USB request package;
B12, described USB request package is transmitted to USB drives bus unit;
The USB request package of carrying data that b13, reception USB driver unit send;
B14, obtain the data in the described USB request package, execution in step b2.
12, the method for a kind of virtual ethernet equipment room data transmission according to claim 1 is characterized in that, comprising:
S1, transmitting terminal virtual ethernet device driver unit receive the data that network layer transmits;
The transmission interface of the USB driver unit of s2, this transmitting terminal of transmitting terminal virtual ethernet device driver cell call sends to USB driver unit the data forwarding that the network layer of described reception transmits;
The data that s3, receiving terminal USB driver unit receiving end/sending end transmit;
S4, receiving terminal virtual ethernet device driver unit obtain the data that USB driver unit receives;
Network layer is given with the data forwarding that described USB driver unit receives in s5, receiving terminal virtual ethernet device driver unit.
13, the method for virtual ethernet equipment room data transmission according to claim 12 is characterized in that, step s2 virtual ethernet device driver unit sends data and specifically comprises:
Create the USB request package;
The data encapsulation that the network layer that receives is transmitted arrives described USB request package;
Described USB request package is sent to USB driver unit.
14, the method that transmits of virtual ethernet equipment room data according to claim 12 is characterized in that, also comprises after the step s2: send data and finish notice back releasing network resources receiving USB driver unit.
15, the method that transmits according to claim 12,13 or 14 each described virtual ethernet equipment room data, it is characterized in that the data that step s4 receiving terminal virtual ethernet device driver unit obtains the reception of USB driver unit specifically comprise:
Create the USB request package;
Described USB request package is transmitted to USB drives bus unit;
Receive the USB request package of carrying data that USB driver unit sends;
Obtain the data in the described USB request package.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100330685A CN100391150C (en) | 2006-01-19 | 2006-01-19 | Data transfer device and data transfer method of virtual ether net device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100330685A CN100391150C (en) | 2006-01-19 | 2006-01-19 | Data transfer device and data transfer method of virtual ether net device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1859112A true CN1859112A (en) | 2006-11-08 |
CN100391150C CN100391150C (en) | 2008-05-28 |
Family
ID=37297979
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006100330685A Active CN100391150C (en) | 2006-01-19 | 2006-01-19 | Data transfer device and data transfer method of virtual ether net device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100391150C (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101510236B (en) * | 2009-03-11 | 2011-04-06 | 上海坦瑞信息技术有限公司 | Plug and play system based on field operating platform |
CN105812225A (en) * | 2016-05-04 | 2016-07-27 | 烽火通信科技股份有限公司 | Virtual Ethernet communication component irrelevant to interface and method thereof for realizing communication |
CN110708359A (en) * | 2019-09-17 | 2020-01-17 | 一汽解放汽车有限公司 | Instrument information transmission device and method based on USB communication |
CN107430570B (en) * | 2015-03-27 | 2021-03-12 | 英特尔公司 | Additional secure execution environment with SR-IOV and xHCI-IOV |
CN112532756A (en) * | 2019-09-17 | 2021-03-19 | 华为技术有限公司 | Interface extension method, device and system |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1249956C (en) * | 2002-10-18 | 2006-04-05 | 华为技术有限公司 | Method for virtual Ethernet adapter card |
CN1447581A (en) * | 2003-03-06 | 2003-10-08 | 上海大亚科技有限公司 | Modem of asymmetric digital subscriber line for super plug-and-play interface |
WO2005064889A1 (en) * | 2003-12-23 | 2005-07-14 | Axalto Sa | Smart-card comprising a virtual local network |
JP4141409B2 (en) * | 2004-06-08 | 2008-08-27 | 株式会社アイ・オー・データ機器 | External peripherals |
CN1649321B (en) * | 2005-02-04 | 2010-04-28 | 迈普通信技术股份有限公司 | Data sending and receiving method for router and bridge interconnection |
-
2006
- 2006-01-19 CN CNB2006100330685A patent/CN100391150C/en active Active
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101510236B (en) * | 2009-03-11 | 2011-04-06 | 上海坦瑞信息技术有限公司 | Plug and play system based on field operating platform |
CN107430570B (en) * | 2015-03-27 | 2021-03-12 | 英特尔公司 | Additional secure execution environment with SR-IOV and xHCI-IOV |
CN105812225A (en) * | 2016-05-04 | 2016-07-27 | 烽火通信科技股份有限公司 | Virtual Ethernet communication component irrelevant to interface and method thereof for realizing communication |
CN105812225B (en) * | 2016-05-04 | 2019-03-15 | 烽火通信科技股份有限公司 | The virtual ethernet communication component unrelated with interface and its method for realizing communication |
CN110708359A (en) * | 2019-09-17 | 2020-01-17 | 一汽解放汽车有限公司 | Instrument information transmission device and method based on USB communication |
CN112532756A (en) * | 2019-09-17 | 2021-03-19 | 华为技术有限公司 | Interface extension method, device and system |
CN112532756B (en) * | 2019-09-17 | 2023-10-24 | 华为技术有限公司 | Interface expansion method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN100391150C (en) | 2008-05-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101035039A (en) | USB mapping method | |
CN1222145C (en) | Method and device for configuring link | |
CN1305681A (en) | TCP/IP/PPP modem | |
CN1238803C (en) | Apparatus and method for synthesizing web browse business | |
CN101043510A (en) | PCI-E bus distributed system intra-board and inter-board data communication method | |
CN1742473A (en) | General protocol layer architecture and method, and general protocol grouping for transferring data between different network protocols | |
CN1134069A (en) | Apparatus for bridging non-compatible network architectures | |
CN1866971A (en) | Method and device for processing data segmentation in mobile communication system | |
CN1859112A (en) | Data transfer device and data transfer method of virtual ether net device | |
CN1901449A (en) | Method for connecting network | |
CN1881939A (en) | Terminal adapting device and its method for holding dialing access from WLAN | |
CN1801124A (en) | Video frequency data acquisition method employing mobile phone with camera as computer camera | |
CN1725757A (en) | Management is connected with the inspection socket | |
CN1503474A (en) | Wireless insertion network system, method, and control equipment | |
CN1829345A (en) | Method and system for realizing data share between mobile terminals | |
CN101047487A (en) | Method and system for solving equipment redundant in industrial control network | |
CN101052031A (en) | Data interaction method for Apple computer and radio communication terminal | |
CN1960565A (en) | Evolution mobile communication network, and method for registering on evolution 3G access network from terminal | |
CN1801692A (en) | Synchronous communication method, system and apparatus | |
CN1510960A (en) | Wireless unit-in network, wireless communication method, controlling servo and data servo | |
CN1645344A (en) | Shared terminal, host computer and use thereof | |
CN1874301A (en) | Method and system for quick responding IP banding message | |
CN101079815A (en) | Message forwarding method, system and device | |
CN1656747A (en) | information processing system | |
CN1283055C (en) | Treatment method for establishing context request of packet data protocol |
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 |