CN101075178B - Method for automatically starting TD-SCDMA wireless data card - Google Patents
Method for automatically starting TD-SCDMA wireless data card Download PDFInfo
- Publication number
- CN101075178B CN101075178B CN2007101233672A CN200710123367A CN101075178B CN 101075178 B CN101075178 B CN 101075178B CN 2007101233672 A CN2007101233672 A CN 2007101233672A CN 200710123367 A CN200710123367 A CN 200710123367A CN 101075178 B CN101075178 B CN 101075178B
- Authority
- CN
- China
- Prior art keywords
- data card
- driver
- wireless data
- terminal
- usb flash
- 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.)
- Active
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
A method for starting up TD-SCDMA radio data card on PC terminal includes reporting U disc to be optical disc based on successful enumeration of U disc, realizing automatic erection by fetching driving program file in U disc then fetching optical disc based on standard SCSI command set. The method for automatic-resetting TD-SCDMA radio data card is also disclosed.
Description
Technical field
The invention belongs to communication technical field, be specifically related to a kind of wireless data and be stuck in the method for enabling on the PC terminal.
Background technology
Along with notebook computer is more and more popularly come into huge numbers of families, the user requires more and more higher to the wireless Internet access of notebook, therefore wireless data card also becomes one of optimal selection of notebook computer user, and therefore each operator has also proposed numerous customization requirements to wireless data card.
At present, China Mobile has begun to build the TD_SCDMA network.Can infer, the demand of following TD network interface card can be increasing.And the competition between equipment vendors and the manufacturer terminal is also can be further fierce, develop satisfy carrier customization, meet customer requirements, product that more convenient user uses especially seems important.
The TD3G network interface card is compared with 2G or CDMA network interface card, has higher speed, strong functions more.Its administration PC side software brings great convenience to the user especially, and functions such as online, voice, sending and receiving short messages and mass-sending and phone directory can be provided for the user.In line with from user perspective, installation that the inevitable requirement network interface card can drive on notebook computer easily and use, for a lot of users, wish that all operation is simple more good more, and traditional wireless data card often needs the user to remove install driver on one's own initiative, and need hand-reset after the installation, this brings very big inconvenience for user's use.
Summary of the invention
The object of the present invention is to provide a kind of self-start method of TD_SCDMA wireless data card, this method can be TD_SCDMA wireless data card install driver automatically, and after installation, be automatically converted to the needed port of user, thereby break away from the trouble that needs the manual installation driver and reset when existing wireless data card is enabled, improved the ease for use of equipment.
For achieving the above object, the self-start method of the TD_SCDMA wireless data card (hereinafter to be referred as " data card ") of the present invention's proposition is as follows:
The first step is enumerated data card and is USB flash disk, and the PC terminal is obtained the initialization value of USB flash disk, by the initialization value that changes USB flash disk USB flash disk is reported to be CD;
In second step, the PC terminal reads the content in the described CD, starts the driver installation procedure automatically;
In the 3rd step, after installing, the PC terminal is by small computer system interface (SCSI) the instruction notification card side of expansion;
The 4th step, receive the expansion SCSI instruction that the PC terminal transmits after, the card side is provided with a timer and reseting mark variable;
In the 5th step, after the reseting mark variable was detected, system's turn-off data card was connected with the PC side, enumerated again then, and data card was enumerated the needed port into the user under the indication of zone bit.
Through above-mentioned steps, PC side management software starts automatically, and the user can surf the Net, receive and dispatch operations such as note and voice by management software, that is to say the self-starting work of finishing wireless data card.
But the driver of wireless data card also might install on the PC terminal in advance.Under this situation, the card side obviously no longer needs the repetition install driver in start-up course, but start PC side management software automatically, and the user can direct control and need not to wait for the installation of driver again.For this reason, can carry out following improvement to said method:
Before starting the driver installation procedure, detect driver and whether install:, then start the driver installation procedure if driver is not installed; If driver is installed, then skip the driver installation steps, the PC terminal directly sends expansion SCSI instruction to the card side.
The invention provides a kind of on the TD_SCDMA system platform, the method enumerated of simulation USB flash disk on the basis of successfully enumerating USB flash disk, reports data card to be CD, realize installing automatically by the driver file that reads wherein, to the measured SCSI instruction set of reading of CD.The present invention also provides a kind of system automatically reset method, by accepting the SCSI instruction of expansion, software systems is resetted, and data card is enumerated the needed port into the user again.Adopt the inventive method, can avoid having the trouble that needs the manual installation driver and reset when wireless data card is enabled now, improved the ease for use of equipment, be very easy to the user and use.
Description of drawings
To be first embodiment of the invention data card enumerate Fig. 1 is CD and the process flow diagram that drives is installed automatically.
Fig. 2 is that first embodiment of the invention installs the process flow diagram that drives the back software reset and enumerate equipment again.
To be second embodiment of the invention data card enumerate Fig. 3 is CD and the process flow diagram that drives is installed automatically.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is described in further detail.
In order to realize the automatic installation of TD_SCDMA wireless data card (hereinafter to be referred as " data card ") driver, the present invention reports the PC terminal for compact disk equipment data card is virtual, in file system, preserve the driver of data card simultaneously, in the processing of the PC terminal being wanted the fetching optical disk contents instruction, replace to read the driver in the file system, realize installing automatically.
To be first embodiment of the invention data card enumerate Fig. 1 is CD and the process flow diagram that drives is installed automatically.As shown in the figure, after data card powers on, at first data card is reported to be USB flash disk equipment, this moment, the PC terminal can be obtained the initialization value of equipment by standard SCSI instruction, by changing the initialization value of USB flash disk, USB flash disk was reported be CD.Next, the PC terminal can read the content in the CD, carry the file size that need read in reading instruction, the present invention is provided with a global variable, note the size that has read, return the size that leaves the driver file in the file system in as requested, driver can start automatically to be installed.After installing, the SCSI that the PC terminal is sent expansion automatically instructs the announcement card side, and the code of present embodiment expansion SCSI instruction is 0X85h, and the instruction name is called USBSDMS_VENDOR_CODE.After receiving expansion SCSI instruction, the card side can be provided with indexed variable, starts the software reset.
After Fig. 2 shows successfully install driver, the automatically reset process of software.After receiving expansion SCSI instruction, the card side is provided with a timer, and the variable that resets is set, after this variable is detected, system's meeting turn-off data card is connected with the PC side, carries out enumerating of equipment again, and under the indication of zone bit data card is enumerated the needed port into the user.In the practical application, can enumerate data card and be modem port, diagnostic message port and AT command port etc.The diagnostic message port is used for the diagnostic message in the written-out program, and the AT command port is to be used for receiving and dispatching the AT order.Again after enumerating equipment, PC side management software starts automatically, and the user can surf the Net, receive and dispatch note and voice etc. and operate by management software.
In the invention process process, the main instruction and the parameter that relate to are as follows:
The instruction title | Instruction code | Explanation |
INQUIRY | 0X12h | The inquiry initialization command |
READ_TOC | 0X43h | Read the order of CD correlation parameter |
READ_CAPACITY | 0X25h | The inquiry dielectric capacity |
READ_10 | 0X28h | Read media data |
USBSDMS_VENDOR_CODE | 0X85h | The indicating card side is provided with indexed variable, starts the software reset |
Wherein, code is used for the indicating card side indexed variable is set for the instruction of " 0X85h " is the SCSI instruction that the present invention expands, and starts the software reset.
Initiation parameter:
inquiry_data[]={
0x05, /*=Device class*/
0x80,
0x02, /*ANSI SCSI 2*/
0x00, /*=Data format=0,*/
0x33,
0x00,0x00,0x00,
……
0x20,0x20,0x20,0x20,0x20,
0x32,0x2e,0x33,0x31
};
The driver of data card also might install on the PC terminal in advance.Under this situation, the card side obviously no longer needs the repetition install driver in start-up course.To this, the present invention can also avoid the repetition install driver by increasing the detection step, and Fig. 3 has provided such embodiment.As shown in Figure 3, present embodiment and difference embodiment illustrated in fig. 1 are: before starting the driver installation procedure, increased by one and detected step, whether installed in order to detect driver:, then start the driver installation procedure if driver is not installed; If driver is installed, then skip the driver installation steps, the PC terminal directly sends expansion SCSI instruction to the card side.
To sum up chat, main thought of the present invention is, in the process of system's reporting equipment data card virtual be CD, thereby realize the automatic installation that drives, after the installation system is resetted, data card terminal is reported the needed port into the user.So just avoided the user in use manual installation drive and reset, thereby bring great convenience to use.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (5)
1. the self-start method of a TD_SCDMA wireless data card is characterized in that, comprises the steps:
The first step is enumerated data card and is USB flash disk, and the PC terminal is obtained the initialization value of USB flash disk, by the initialization value that changes USB flash disk USB flash disk is reported to be CD;
In second step, the PC terminal reads the content in the described CD, starts the driver installation procedure automatically;
In the 3rd step, after installing, the PC terminal is by the small computer system interface SCSI instruction notification card side of expansion;
The 4th step, receive the expansion SCSI instruction that the PC terminal transmits after, the card side is provided with a timer and reseting mark variable;
In the 5th step, after the reseting mark variable was detected, system's turn-off data card was connected with the PC side, enumerated again then, and data card was enumerated the needed port into the user under the indication of zone bit.
2. the self-start method of wireless data card according to claim 1, it is characterized in that, in the described first step, after wireless data card powers on, at first wireless data card is reported and be USB flash disk equipment, the PC terminal is obtained the initialization value of equipment by standard SCSI instruction, by the initialization value that changes USB flash disk USB flash disk is reported to be CD.
3. the self-start method of wireless data card according to claim 1 and 2, it is characterized in that, in described second step, the PC terminal reads content and the size that leaves the driver file in the file system in the virtual CD in, starts the driver installation procedure automatically.
4. whether the self-start method of wireless data card according to claim 1 and 2 is characterized in that, before starting the driver installation procedure, detect driver and install: if driver is not installed, then start the driver installation procedure; If driver is installed, then skipped to for the 3rd step, the PC terminal directly sends expansion SCSI instruction to the card side.
5. whether the self-start method of wireless data card according to claim 3 is characterized in that, before starting the driver installation procedure, detect driver and install: if driver is not installed, then start the driver installation procedure; If driver is installed, then skipped to for the 3rd step, the PC terminal directly sends expansion SCSI instruction to the card side.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101233672A CN101075178B (en) | 2007-06-25 | 2007-06-25 | Method for automatically starting TD-SCDMA wireless data card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101233672A CN101075178B (en) | 2007-06-25 | 2007-06-25 | Method for automatically starting TD-SCDMA wireless data card |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101075178A CN101075178A (en) | 2007-11-21 |
CN101075178B true CN101075178B (en) | 2010-06-02 |
Family
ID=38976248
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007101233672A Active CN101075178B (en) | 2007-06-25 | 2007-06-25 | Method for automatically starting TD-SCDMA wireless data card |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101075178B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2645243A1 (en) * | 2010-11-22 | 2013-10-02 | ZTE Corporation | Method and apparatus for networking network interface of data card device |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101620538A (en) * | 2008-07-01 | 2010-01-06 | 希姆通信息技术(上海)有限公司 | Method for automatically operating CDROM function on USB network card equipment |
CN101686263B (en) * | 2008-09-24 | 2012-07-25 | 华为终端有限公司 | Wireless data card and working method thereof |
CN101387992B (en) * | 2008-10-27 | 2010-06-30 | 华为终端有限公司 | Starting method and apparatus for data card |
CN102662786A (en) * | 2008-11-20 | 2012-09-12 | 华为终端有限公司 | Exception recovery method and exception recovery device for device with network interface card and memory device |
CN101576863B (en) * | 2009-06-02 | 2011-05-11 | 中兴通讯股份有限公司 | Self-start method and device for mobile terminal and mobile terminal comprising the device |
CN101609408B (en) * | 2009-06-19 | 2016-12-07 | 中兴通讯股份有限公司 | A kind of method and system realizing self-start of terminal equipment |
CN101950252A (en) * | 2009-07-10 | 2011-01-19 | 中兴通讯股份有限公司 | USB data card self-starting method and system |
CN101765237B (en) * | 2009-12-31 | 2013-02-27 | 中兴通讯股份有限公司 | Intelligent data card and method for realizing same |
CN101794234A (en) * | 2010-02-04 | 2010-08-04 | 中兴通讯股份有限公司 | Wireless data card, communication method between same and computer side and system thereof |
CN101887374B (en) * | 2010-06-12 | 2015-08-12 | 中兴通讯股份有限公司 | The method and system of installing terminal equipment |
CN101931576B (en) * | 2010-07-21 | 2015-04-01 | 中兴通讯股份有限公司 | Wireless access equipment and method |
CN102073524B (en) * | 2011-01-19 | 2016-03-30 | 中兴通讯股份有限公司 | A kind of method of wireless communication terminal and self-starting thereof |
CN102088797A (en) * | 2011-01-30 | 2011-06-08 | 中兴通讯股份有限公司 | Wireless communication method and system as well as wireless communication terminal |
CN103516743A (en) * | 2012-06-25 | 2014-01-15 | 中兴通讯股份有限公司 | Method for initiating data card, and data card |
-
2007
- 2007-06-25 CN CN2007101233672A patent/CN101075178B/en active Active
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2645243A1 (en) * | 2010-11-22 | 2013-10-02 | ZTE Corporation | Method and apparatus for networking network interface of data card device |
EP2645243A4 (en) * | 2010-11-22 | 2014-06-11 | Zte Corp | Method and apparatus for networking network interface of data card device |
Also Published As
Publication number | Publication date |
---|---|
CN101075178A (en) | 2007-11-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101075178B (en) | Method for automatically starting TD-SCDMA wireless data card | |
CN101609408B (en) | A kind of method and system realizing self-start of terminal equipment | |
CN101452435B (en) | USB terminal mode switching method and terminal | |
CN101553783B (en) | For receiving the system and method for control command at ancillary equipment | |
CN101387992B (en) | Starting method and apparatus for data card | |
CN101477498B (en) | Port switching method and equipment of USB equipment | |
CN101998695A (en) | Method, device and system for configuring WiFi setting parameters of terminal equipment | |
CN101950252A (en) | USB data card self-starting method and system | |
US20130038888A1 (en) | Printer With USB Interface and Driver Installing Method and System Thereof | |
CN101853224A (en) | Method and device for identifying port of data card device under Linux system | |
CN101493799A (en) | Information processing apparatus | |
CN102393848A (en) | Method and system for acquiring identification information of data terminal equipment | |
CN104506902A (en) | Device compatible method and device and mobile terminal | |
CN103107825A (en) | Bluetooth adapter, system and method of realizing mobile terminal controlling operation terminal | |
CN103731733A (en) | Version upgrading method and electronic device | |
CN102073524B (en) | A kind of method of wireless communication terminal and self-starting thereof | |
CN103761129A (en) | Method of implementing SDIO (secure digital input/output) interface drive in Boot loader layer | |
CN101887374B (en) | The method and system of installing terminal equipment | |
CN201477576U (en) | Rapid automatic backup device of notebook computer | |
CN101576863B (en) | Self-start method and device for mobile terminal and mobile terminal comprising the device | |
CN104216728A (en) | Method for connecting USB network card, USB network card and PC | |
CN100578477C (en) | Method and system for realizing normal working of compound device | |
CN1975701B (en) | Master machine driving external equipment method and system | |
CN104156328B (en) | A kind of method and USB device identifying OS Type | |
CN101751353A (en) | Data card upgrading method and device |
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 |