CN102339265A - Wireless communication terminal and driving method thereof - Google Patents

Wireless communication terminal and driving method thereof Download PDF

Info

Publication number
CN102339265A
CN102339265A CN2011103142621A CN201110314262A CN102339265A CN 102339265 A CN102339265 A CN 102339265A CN 2011103142621 A CN2011103142621 A CN 2011103142621A CN 201110314262 A CN201110314262 A CN 201110314262A CN 102339265 A CN102339265 A CN 102339265A
Authority
CN
China
Prior art keywords
virtual bus
equipment
drives
usb
drive
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011103142621A
Other languages
Chinese (zh)
Other versions
CN102339265B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201110314262.1A priority Critical patent/CN102339265B/en
Publication of CN102339265A publication Critical patent/CN102339265A/en
Priority to PCT/CN2012/071992 priority patent/WO2012155606A1/en
Application granted granted Critical
Publication of CN102339265B publication Critical patent/CN102339265B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines

Abstract

The invention provides a wireless communication terminal and a driving method thereof. The wireless communication terminal comprises a network device drive, a USB (universal serial bus) composite device drive and a virtual bus drive; a UBS composite device creates and manages a virtual bus device; a virtual bus device drive is added between the network device drive and the USB composite device drive, the virtual bus drive creates and manages network device on the virtual bus drive, and transmits a USB request and response between the network device drive and the USB composite device drive. A virtual bus drive is added at a drive lower layer of the current data card to isolate the network device of the data card and the USB composite device of an operation system, the creation and management of the network device is completely finished by the virtual bus device without the participation of the USB composite device of the operation system; the operation is more flexible; furthermore, the virtual bus drive can recognize various abnormal conditions of the virtual bus drive and the network device and effectively process the abnormal conditions.

Description

A kind of wireless communication terminal and driving method thereof
Technical field
The present invention relates to communication technical field, more specifically, relate to a kind of wireless communication terminal and driving method thereof.
Background technology
Data card is a kind of common wireless terminal product, and user's network data service at a high speed and outstanding movability can be provided.Data card can be connected with computing machine through interfaces such as USB or PCMCIA.The simplest data card can be a modem device or a network equipment (can be referred to as the network equipment), more complicated can comprise serial ports, TV cat, storage card or CD etc.
The user of current use Windows operating system is maximum, on Windows, uses data card to need the support of drive software, and Windows self provides multiple general device drives.With the usb data card is example, only comprises the data card of the modem device or the network equipment, and Windows drives for it provides USBHub, and data card manufacturer need provide modem device or the network device driver that is positioned on the USB Hub.Except the modem device or the network equipment, some data card can comprise the equipment of some other types, for example comprises read-write storage card; Can supply the user to work as USB flash disk uses; Comprise CD, can deposit some necessary softwares, the usb data card that comprises a plurality of equipment is called the USB equipment complex; This kind equipment not only needs modem device or the network device driver that USB Hub drives and data card manufacturer provides, and also needs the USB equipment complex to drive and supports.USB Hub equipment is the parent device of USB equipment complex, and the USB equipment complex is the parent device of the network equipment and other equipment.Representing with tree structure, is the USB equipment complex on the USBHub equipment, is the network equipment and other equipment on the USB equipment complex.
More than being common data card Drive Structure, driving and operate in kernel state, is the indispensable part of data card, and it upwards provides control interface to application program, accomplishes the various practical operations to data card downwards.So the reliability and stability that drive just seem particularly important.
Summary of the invention
The present invention seeks to: for overcoming the problem that available data card network device driver can't be used after the plug in some cases, and propose a kind of wireless communication terminal and driving method thereof.
For realizing above-mentioned purpose, the present invention proposes a kind of wireless communication terminal driving method, and said method comprises: said wireless communication terminal comprises that network device driver, USB equipment complex drive and virtual bus drives; The USB equipment complex is created and the managing virtual bus apparatus; Between network device driver and the driving of USB equipment complex, increase the virtual bus device drives, virtual bus drives creates and manages the network equipment on it, and transparent transmission USB asks and response between network device driver and the driving of USB equipment complex.
Further, operating system judges whether the network equipment is equipment complex, if not, then direct load networks device drives; If equipment complex then operating system be that equipment complex loads the USB equipment complex and drives.
Further, operating system judges whether the network equipment is memory device co-existin networks equipment, if not, then direct load networks device drives; If then the USB equipment complex drives the virtual bus equipment of creating, operating system is that virtual bus device loads virtual bus drives.
Further, said virtual bus drives and checks the network equipment that whether exists by its establishment, if do not exist then create the network equipment, if exist then virtual bus drives and creates and report a various network equipment.
The present invention also proposes a kind of wireless communication terminal, and said wireless communication terminal comprises that network device driver, USB equipment complex drive and virtual bus drives;
Said USB equipment complex drives to be created and the managing virtual bus apparatus;
Said virtual bus drives creates and manages the network equipment on it, and transparent transmission USB request and response between network device driver and the driving of USB equipment complex.
Further, said virtual bus drives and comprises that initialization module, said initialization module are provided with global variable and send routine, accomplish driving initialization task.
Further, said virtual bus drives and comprises that plug and play module, said plug and play module be responsible for the establishment of the network equipment, inquire about and remove.
Further, said virtual bus drives and comprises power module, and said power module is responsible for handling the drive message of the virtual bus equipment and the network equipment.
In sum, adopt the present invention to have following beneficial effect:
1) virtual bus drives the multiple abnormal conditions can discern self and the network equipment, and can effectively handle.For example, the user is when using the data card of memory device coexistence, if extract data card after opening the file on the storage card, because operating system self is inserted data card once more, network card equipment can't be accomplished initialization operation, causes data card to use.
2) the present invention drives lower floor at existing data card increases a virtual bus driving; The network equipment of data card and the USB equipment complex of operating system have been isolated; The establishment of the network equipment and management are driven by virtual bus fully and accomplish; The USB equipment complex of operating system drives no longer and participates in, and operates more flexible.
Description of drawings
Fig. 1 is the equipment structure chart of typical prior art;
Fig. 2 is the equipment structure chart of the embodiment of the invention;
Fig. 3 is the schematic flow sheet of the embodiment of the invention.
Embodiment
The present invention is directed to equipment complex, overcome the problem that available data card network device driver can't be used after the plug in some cases.For example, for the data card of memory device coexistence, if the user extracts data card after opening the file in the memory device; When inserting once more, the network equipment of data card can't use, and checks that yellow exclamation mark can appear in equipment manager; This is because the file of opening is not closed; Pull out card operation system and send can not for CD to remove notice with other equipment, driving can't sweep equipment, and the driving of USB equipment complex can be enumerated same equipment during plug-in card once more; Network device driver can't be accomplished initialization, causes equipment to use.
Technical scheme of the present invention comprises that data card network device driver, USB equipment complex drive and a virtual bus drives.The USB equipment complex is the parent device of virtual bus equipment, is responsible for creating and the managing virtual bus apparatus, and virtual bus equipment is the parent device of the data card network equipment, is responsible for creating and managing network device.Promptly increase one deck virtual bus drives between network device driver and the driving of USB equipment complex, and virtual bus drives to be responsible for establishment and to manage the network equipment on it, and transparent transmission USB request and response between network device driver and the driving of USB equipment complex.
Virtual bus drives and mainly comprises three parts: initialization module, plug and play module and power module.Initialization module is provided with global variable and sends routine, accomplishes to drive initialization task.The plug and play module be responsible for the network equipment establishment, function such as inquire about and remove.Power module is responsible for handling the drive message of the virtual bus equipment and the network equipment.
Below in conjunction with accompanying drawing the enforcement of technical scheme is done further to describe in detail.
Fig. 1 is the equipment structure chart of typical prior art, comprises memory device, the network equipment, other equipment and USB equipment complex.Foot is the USB equipment complex, can regard it as the root device of data card, and during user's plug-in card, operating system is that data card loads the driving of USB equipment complex, and the USB equipment complex is enumerated memory device, the network equipment and/or other equipment of data card.
Fig. 2 is the equipment structure chart of the embodiment of the invention, comprises memory device, the network equipment, other equipment, virtual bus equipment and USB equipment complex.The bottom is the USB equipment complex, and during user's plug-in card, operating system is that data card loads the driving of USB equipment complex, and the USB equipment complex drives memory device, virtual bus equipment and other equipment created.After the success of virtual bus device initialize, virtual bus drives creates the network equipment again, at this moment operating system load networks device drives.
Fig. 3 is the schematic flow sheet of the embodiment of the invention, shows to begin from user's plug-in card, drives the whole process of setting up to all.
S301: the user inserts data card;
S302: operating system judges whether it is the equipment complex data card, if not, changing the direct load networks device drives of step S308 over to, flow process finishes; If the equipment complex data card then changes step S303 over to;
S303: operating system is that data card loads the driving of USB equipment complex;
S304: judge whether it is memory device coexistence data card, if not, changing the direct load networks device drives of step S308 over to, flow process finishes; If memory device coexistence data card then changes step S305 over to;
The S305:USB equipment complex drives the virtual bus equipment of creating, and operating system is that virtual bus device loads virtual bus drives;
S306: virtual bus drives checks the network equipment that whether exists by its establishment, if do not exist then change step S307 over to, if exist then change step S309 over to;
S307: create the network equipment;
S308: operating system load networks device drives, and change step S310 over to;
S309: the virtual bus driving can be created and report a various network equipment and change step S310 over to;
If exist, explain that the previous network equipment is not removed (possibly be owing to the user does not close file on the memory device with regard to removable card or other reason).
S310: flow process finishes.
Compared with prior art, the present invention has following advantage and effect:
Virtual bus drives the multiple abnormal conditions can discern self and the network equipment, and can effectively handle.For example, the user is when using the data card of memory device coexistence, if extract data card after opening the file on the storage card, because operating system self is inserted data card once more, the network equipment can't be accomplished initialization operation, causes data card to use.The present invention drives lower floor at existing data card increases a virtual bus driving; The network equipment of data card and the USB equipment complex of operating system have been isolated; The establishment of the network equipment and management are driven by virtual bus fully and accomplish; The USB equipment complex of operating system drives no longer and participates in, and operates more flexible.
Certainly; The present invention also can have numerous embodiments; In the situation that does not deviate from spirit of the present invention and essence thereof; Those of ordinary skill in the art can make various corresponding changes or variation according to the present invention certainly, any modification of in every case within spirit of the present invention and principle, being done, are equal to replacement, improvement, all should be included within protection scope of the present invention.

Claims (8)

1. a wireless communication terminal driving method is characterized in that, said method comprises: said wireless communication terminal comprises that network device driver, USB equipment complex drive and virtual bus drives; The USB equipment complex is created and the managing virtual bus apparatus; Between network device driver and the driving of USB equipment complex, increase the virtual bus device drives, virtual bus drives creates and manages the network equipment on it, and transparent transmission USB asks and response between network device driver and the driving of USB equipment complex.
2. the method for claim 1 is characterized in that, operating system judges whether the network equipment is equipment complex, if not, then direct load networks device drives; If equipment complex then operating system be that equipment complex loads the USB equipment complex and drives.
3. method as claimed in claim 2 is characterized in that, operating system judges whether the network equipment is memory device co-existin networks equipment, if not, then direct load networks device drives; If then the USB equipment complex drives the virtual bus equipment of creating, operating system is that virtual bus device loads virtual bus drives.
4. method as claimed in claim 3; It is characterized in that; Said virtual bus drives and checks the network equipment that whether exists by its establishment, if do not exist then create the network equipment, if exist then virtual bus drives and creates and report a various network equipment.
5. a wireless communication terminal is characterized in that, said wireless communication terminal comprises that network device driver, USB equipment complex drive and virtual bus drives;
Said USB equipment complex drives to be created and the managing virtual bus apparatus;
Said virtual bus drives creates and manages the network equipment on it, and transparent transmission USB request and response between network device driver and the driving of USB equipment complex.
6. wireless communication terminal as claimed in claim 5 is characterized in that, said virtual bus drives and comprises that initialization module, said initialization module are provided with global variable and send routine, accomplish driving initialization task.
7. wireless communication terminal as claimed in claim 5 is characterized in that, said virtual bus drives and comprises that plug and play module, said plug and play module be responsible for the establishment of the network equipment, inquire about and remove.
8. wireless communication terminal as claimed in claim 5 is characterized in that, said virtual bus drives and comprises power module, and said power module is responsible for handling the drive message of the virtual bus equipment and the network equipment.
CN201110314262.1A 2011-10-17 2011-10-17 A kind of wireless communication terminal and its driving method Active CN102339265B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110314262.1A CN102339265B (en) 2011-10-17 2011-10-17 A kind of wireless communication terminal and its driving method
PCT/CN2012/071992 WO2012155606A1 (en) 2011-10-17 2012-03-06 Wireless communication terminal and method for driving the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110314262.1A CN102339265B (en) 2011-10-17 2011-10-17 A kind of wireless communication terminal and its driving method

Publications (2)

Publication Number Publication Date
CN102339265A true CN102339265A (en) 2012-02-01
CN102339265B CN102339265B (en) 2017-08-11

Family

ID=45515004

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110314262.1A Active CN102339265B (en) 2011-10-17 2011-10-17 A kind of wireless communication terminal and its driving method

Country Status (2)

Country Link
CN (1) CN102339265B (en)
WO (1) WO2012155606A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012155606A1 (en) * 2011-10-17 2012-11-22 中兴通讯股份有限公司 Wireless communication terminal and method for driving the same
CN105094880A (en) * 2014-05-23 2015-11-25 中兴通讯股份有限公司 USB driving method, computer and compound equipment
CN111221768A (en) * 2020-01-10 2020-06-02 珠海趣印科技有限公司 USB equipment composite communication method and system
CN116016726A (en) * 2023-02-07 2023-04-25 迈普通信技术股份有限公司 Device control method and distributed system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101490637A (en) * 2005-10-06 2009-07-22 施克莱无线公司 Dynamic bus-based virtual channel multiplexing device driver architecture
US20090222814A1 (en) * 2008-02-28 2009-09-03 Sony Ericsson Mobile Communications Ab Selective exposure to usb device functionality for a virtual machine
US20090303521A1 (en) * 2008-06-06 2009-12-10 Moschip Seminconductor Technology Limited Method and system for sharing of a usb printer to all clients

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7802022B2 (en) * 2004-04-29 2010-09-21 Microsoft Corporation Generic USB drivers
KR101587457B1 (en) * 2009-05-26 2016-01-21 삼성전자주식회사 Apparatus and method for supporting suspend of composite network device
CN102339265B (en) * 2011-10-17 2017-08-11 中兴通讯股份有限公司 A kind of wireless communication terminal and its driving method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101490637A (en) * 2005-10-06 2009-07-22 施克莱无线公司 Dynamic bus-based virtual channel multiplexing device driver architecture
US20090222814A1 (en) * 2008-02-28 2009-09-03 Sony Ericsson Mobile Communications Ab Selective exposure to usb device functionality for a virtual machine
US20090303521A1 (en) * 2008-06-06 2009-12-10 Moschip Seminconductor Technology Limited Method and system for sharing of a usb printer to all clients

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012155606A1 (en) * 2011-10-17 2012-11-22 中兴通讯股份有限公司 Wireless communication terminal and method for driving the same
CN105094880A (en) * 2014-05-23 2015-11-25 中兴通讯股份有限公司 USB driving method, computer and compound equipment
CN111221768A (en) * 2020-01-10 2020-06-02 珠海趣印科技有限公司 USB equipment composite communication method and system
CN116016726A (en) * 2023-02-07 2023-04-25 迈普通信技术股份有限公司 Device control method and distributed system

Also Published As

Publication number Publication date
CN102339265B (en) 2017-08-11
WO2012155606A1 (en) 2012-11-22

Similar Documents

Publication Publication Date Title
CN101317381B (en) Ability management object maintenance, ability management method, system and terminal
EP3197095B1 (en) Computer device and configuration management method thereof
CN101609408B (en) A kind of method and system realizing self-start of terminal equipment
CN101930419B (en) Hot plug method, hot plug control device and hot plug card system
CN101674267B (en) Home gateway and method thereof used for realizing driving of USB equipment
CN103729275B (en) Hard disk firmware repairing system and hard disk firmware repairing method
CN100594486C (en) Method of connecting mass storage devices
CN105338048A (en) File transmission method and system under virtual desktop infrastructure
US10042800B2 (en) Active USB device and switching method for operating mode thereof
CN103823771B (en) Remote communication method and remote communication system
CN102339265A (en) Wireless communication terminal and driving method thereof
CN103793347A (en) Methods and structure for Serial Attached SCSI (SAS) expanders that self-configure routing attributes of their ports
CN101662838B (en) Device, method and USB data card for realizing internet surfing without drive
CN111756858A (en) Remote development processing system, method and device of embedded equipment
CN107111568A (en) System and method for driver installation file to be presented when enabling USB equipment
CN105354164A (en) Method and system for hot swapping of Multi-Host module of server
CN104199789B (en) Method, management system, drive system and the system of autosensing configuration
CN100521619C (en) System for realizing virtual remote equipment and its method
EP2562649B1 (en) Method for repairing communication abnormality between data card and host
CN101859248B (en) Method for popping out external CD-ROM equipment without caution by Windows operation system
CN108733383B (en) Method and system for loading optical disk ISO file into XenServer virtual machine
US9390041B2 (en) Method for processing device connection, combination device and host device
CN106201938A (en) A kind of chip, hub, electronic equipment and the method for interruption U SB signal
CN103914423A (en) Information processing method and electronic device
CN103383558B (en) The method and system that a kind of parking card controls

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant