CN102073524B - A kind of method of wireless communication terminal and self-starting thereof - Google Patents

A kind of method of wireless communication terminal and self-starting thereof Download PDF

Info

Publication number
CN102073524B
CN102073524B CN201110021985.2A CN201110021985A CN102073524B CN 102073524 B CN102073524 B CN 102073524B CN 201110021985 A CN201110021985 A CN 201110021985A CN 102073524 B CN102073524 B CN 102073524B
Authority
CN
China
Prior art keywords
wireless communication
communication terminal
module
embedded
grub
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
Application number
CN201110021985.2A
Other languages
Chinese (zh)
Other versions
CN102073524A (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 CN201110021985.2A priority Critical patent/CN102073524B/en
Publication of CN102073524A publication Critical patent/CN102073524A/en
Priority to PCT/CN2011/076887 priority patent/WO2012097574A1/en
Application granted granted Critical
Publication of CN102073524B publication Critical patent/CN102073524B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention discloses a kind of method of wireless communication terminal and self-starting thereof, comprising: the BIOS run search of PC to USB device in GRUB boot; GRUB boot guides the embedded OS in wireless communication terminal to bring into operation, and embedded OS runs changeover program and wireless communication terminal is switched to normal mode of operation, and runs data card driver and/or the UI software of prepackage.According to technical scheme of the present invention, thoroughly avoid wireless communication terminal install that occur in UI software and data card driver process with compatibility issue that the is operating system of PC.

Description

A kind of method of wireless communication terminal and self-starting thereof
Technical field
The present invention relates to embedded software developing field, particularly relate to a kind of method of wireless communication terminal and self-starting thereof.
Background technology
USB (universal serial bus) (USB, UniversalSerialBUS) data card is extension along with radio network technique and maturation, a kind of portable Internet access using USB interface occurred, simultaneously along with the development of 3G technology, USB data card is the network access we providing a kind of more portable, faster, more easy-to-use external expansion coordinated with computing machine (PC, PersonalComputer).
USB data card is that user provides the external expansion means of good PC, and achieve high-quality network at a high speed and connect, USB data card has following advantage and feature in addition: (1) has USB device total plug and play, hot swappable feature; (2) compact, easy to carry, uses when being applicable to going out; (3) USB data card based on 3G network can also provide high-speed high-quality network to connect to user; (4) except network connects, the function such as card reader as note, voice call, visual telephone, T-Flash card can also be realized.
Fig. 1 is the flow process of the mode of operation of USB data card in prior art, as shown in Figure 1, first USB data card enumerated is a read-only optical disc (CDROM, CompactDiscRead-OnlyMemory) equipment of class, for being supplied to user installation user interface (UI, UserInterface) software and data card driver, if now installed UI software and the data card driver of this equipment in PC, then can directly run UI software and data card driver by the resident trace routine in operating system, and issue switching command and USB data card is switched to normal mode of operation (is also likely directly switched by resident program, or use the filtration drive of MassStorage equipment to switch, the switching mode that concrete needs use according to data card is determined), USB data card coordinates UI software to carry out work, if now also do not install UI software and the data card driver of this equipment in PC, then start to run from CDROM the installation that installation procedure carries out UI software and data card driver, several minutes consuming time of the process need installed, then issue switching command by filtration drive and USB data card is switched to normal mode of operation, UI software runs automatically, and USB data card coordinates UI software to carry out work, therefore, can data card normally work, very large with the operating system relation in user PC, first the operating system of PC normally must identify CDROM equipment (on the PC having installed some problematic virtual drive software, this prerequisite cannot ensure), secondly UI software and driver (because the restriction of antivirus software or the conflict of other softwares likely can cause installing unsuccessfully) normally must be installed smoothly, just can normally use in the operating system of PC afterwards, based on the mode of operation of this USB data card, along with the continuous increase of data card product function and complicated, USB data card also comes with some shortcomings in current implementation method, thus affect Consumer's Experience, the shortcoming of USB data card is: (1) is in order to concurrent multiple business simultaneously, USB data card needs simultaneously virtual and enumerate multifunctional equipment, be also called interface, such as, for the VOUSBinterface of voice call, for receiving and dispatching the ATinterface of note, for realizing the NIDSinterface etc. of Microsoft's online specification, these equipment are all special, the driver that needing to install third party provides can use, and so just needs user to install multiple device driver when first time uses, simultaneously, in order to realize the robotization of install driver, driver is incorporated into the user interface (UI of PC side, UserInterface) in software, so just need, when first time uses, whole UI software is installed, relevant information can be left, because this increasing complexity and the system rubbish of use with positions such as registration tablies in a hard disk after installation, (2) need certain stand-by period to equipment install driver, under different operating system, the spent set-up time is also different, in the slow system of some install driver, such as WindowsVISTA system, the driver of each equipment needs the set-up time of about 20 ~ 30 seconds, if the USB data card product that user uses can fictionalize multiple equipment, so just need the set-up time of several minutes, have a strong impact on Consumer's Experience, (3) in Windows operating system, in installation process, driver due to PC side is subject to the impact of the factors such as current system environment, mounted software and driver, have compatibility issue once in a while to occur, the external form of expression is exactly in Windows equipment manager, there is yellow exclamation mistake, cause equipment to use, although this is the driver installation question of a small probability, if USB data card fictionalizes multiple equipment, occur that the probability of this compatibility issue will inevitably improve, thus have influence on the normal use of user, (4) in Windows operating system, user is divided into different safe classes, only under keeper's grade, just normally can unrestrictedly installs various software and driver, the user of non-administrator's authority will be subject to restriction in various degree, owing to there is this restriction, if USB data card is inserted on other people PC and is temporarily used by we temporarily, will because of not being administrator right and cannot the UI software of normal mounting PC side, also just can not normal mounting driver, thus have impact on the normal use of user.
Summary of the invention
In view of this, fundamental purpose of the present invention is a kind of method providing wireless communication terminal and self-starting thereof, thoroughly avoid wireless communication terminal install that occur in UI software and data card driver process with compatibility issue that the is operating system of PC.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention provides a kind of wireless communication terminal, this wireless communication terminal comprises: GRUB bootstrap program module, embedded OS module; Wherein,
GRUB bootstrap program module, after bringing into operation, guides embedded OS module to bring into operation;
Embedded OS module, after bringing into operation, runs changeover program and wireless communication terminal is switched to normal mode of operation, and run data card driver and/or the UI software of prepackage.
In above-mentioned wireless communication terminal, this wireless communication terminal also comprises: usb interface module, SCSI command process module, SCSI-Flash critical transition module, Flash module for reading and writing; Wherein,
Usb interface module, for when the BIOS of PC carries out self-inspection, enumerates USB device; The SCSI instruction that the BIOS receiving PC issues, and this SCSI instruction is transmitted to SCSI command process module;
SCSI command process module, for receiving the SCSI instruction that usb interface module forwards, and sends to SCSI-Flash critical transition module by the data block Base Serial Number in SCSI instruction and data block quantity information;
SCSI-Flash critical transition module, for data block Base Serial Number and data block quantity information being converted to the actual storage address in Flash memory block of GRUB boot and embedded OS, and described actual storage address is sent to Flash module for reading and writing;
Flash module for reading and writing, for reading out GRUB boot and embedded OS from described actual storage address, and reports the BIOS of PC.
In above-mentioned wireless communication terminal, the actual storage address in Flash memory block that data block Base Serial Number and data block quantity information are converted to GRUB boot and embedded OS by described SCSI-Flash critical transition module is:
SCSI-Flash critical transition module is the unit of 512 bytes according to 1 data block, and according to data block Base Serial Number and data block quantity information, calculate the start address off-set value needing the data read from Flash memory block, recycle the first address of the Flash memory block of GRUB boot and the embedded OS prestored, the BIOS calculating PC needs the first address of the data read.
In above-mentioned wireless communication terminal, described GRUB bootstrap program module guide embedded OS module bring into operation into:
After GRUB bootstrap program module is started working, GRUB bootstrap program module guides embedded OS module to bring into operation; After embedded OS module brings into operation under the guiding of GRUB bootstrap program module, in internal memory, set up virtual ramdisk, after self is copied, be saved in this virtual ramdisk.
In above-mentioned wireless communication terminal, described embedded OS module is run changeover program and wireless communication terminal is switched to normal mode of operation, and the data card driver of operation prepackage and/or UI software are:
After embedded OS module brings into operation based on described virtual ramdisk, the changeover program of running memory, to enumerate as the wireless communication terminal of USB device is switched to the normal mode of operation of multiport, and run preassembled data card driver and/or UI software.
The present invention also provides a kind of method of wireless communication terminal self-starting, and the method comprises:
The BIOS run search of PC to USB device in GRUB boot;
GRUB boot guides the embedded OS in wireless communication terminal to bring into operation, and embedded OS runs changeover program and wireless communication terminal is switched to normal mode of operation, and runs data card driver and/or the UI software of prepackage.
In said method, the BIOS run search of described PC to USB device in GRUB boot before, the method also comprises:
When the BIOS of PC carries out self-inspection, the wireless communication terminal having inserted PC enumerates USB device, and the BIOS of PC searches for the GRUB boot in described USB device.
In said method, when the described BIOS as PC carries out self-inspection, the wireless communication terminal having inserted PC is enumerated USB device and is:
Before PC start, insert wireless communication terminal, or restart PC after wireless communication terminal is inserted PC, when the BIOS of PC carries out self-inspection, the usb interface module of wireless communication terminal enumerates USB device.
In said method, the GRUB boot that the BIOS of described PC searches in described USB device is:
The BIOS of PC issues SCSI instruction to USB device, and the usb interface module enumerated as the wireless communication terminal of USB device receives this SCSI instruction, and the SCSI instruction received is transmitted to the SCSI command process module of wireless communication terminal;
SCSI command process module receives described SCSI instruction, and the data block Base Serial Number in SCSI instruction and data block quantity information are sent to the SCSI-Flash critical transition module of wireless communication terminal;
Data block Base Serial Number and data block quantity information are converted to the actual storage address in Flash memory block of GRUB boot and embedded OS by SCSI-Flash critical transition module, and described actual storage address are sent to the Flash module for reading and writing of wireless communication terminal;
Flash module for reading and writing reads out GRUB boot and embedded OS from described actual storage address, and reports the BIOS of PC.
In said method, the actual storage address in Flash memory block that data block Base Serial Number and data block quantity information are converted to GRUB boot and embedded OS by described SCSI-Flash critical transition module is:
SCSI-Flash critical transition module is the unit of 512 bytes according to 1 data block, and according to data block Base Serial Number and data block quantity information, calculate the start address off-set value needing the data read from Flash memory block, recycle the first address of the Flash memory block of GRUB boot and the embedded OS prestored, the BIOS calculating PC needs the first address of the data read.
In said method, the BIOS run search of described PC to USB device in GRUB boot be:
After the GRUB boot reported according to the Flash module for reading and writing of wireless communication terminal as the BIOS of PC and embedded OS, the BIOS of PC determines the GRUB boot self searched in USB device, and run described GRUB boot, GRUB boot starts to guide work.
In said method, described GRUB boot guide the embedded OS in USB data card bring into operation into:
After GRUB boot is started working, GRUB boot guides the embedded OS of wireless communication terminal to bring into operation; After embedded OS brings into operation under the guiding of GRUB boot, in the internal memory of wireless communication terminal, set up virtual ramdisk, after self is copied, be saved in this virtual ramdisk.
In said method, described embedded OS runs changeover program and wireless communication terminal is switched to normal mode of operation, and the data card driver of operation prepackage and/or UI software are:
After embedded OS brings into operation based on described virtual ramdisk, run the changeover program of internal memory of wireless communication terminal, will enumerate as the wireless communication terminal of USB device is switched to the normal mode of operation of multiport; And running preassembled data card driver and/or UI software, wireless communication terminal enters normal operating conditions, starts to coordinate UI software to carry out work.
The method of wireless communication terminal provided by the invention and self-starting thereof, the BIOS run search of PC to USB device in GRUB boot; GRUB boot guides the embedded OS in wireless communication terminal to bring into operation, embedded OS runs changeover program and wireless communication terminal is switched to normal mode of operation, and run data card driver and/or the UI software of prepackage, PC is directed in the embedded OS of wireless communication terminal, due in this embedded OS and that UI software and data card driver have been installed in advance, therefore can the function of direct usage data card, without the need to installing any software again; Simultaneously, feature due to embedded OS is the operating system being exclusively used in use wireless communication terminal interconnection network that wireless communication terminal carries, therefore not only operationally there is higher travelling speed, and automatically can remove when next time restarts when being subject to virus infections.
When PC starts shooting by the guiding function of wireless communication terminal, run the embedded OS that wireless communication terminal is built-in, in this operating system, there is the use interface same with operating system professional version, and normally can access the hard disk of PC, therefore do not affect user and surf the web and upload/downloading data; But owing to not being operate in PC operating system, therefore after the attack being subject to virus, also only can damage the embedded OS of wireless communication terminal, when restarting next time, this embedded OS just can recover automatically.
The embedded OS carried owing to using wireless communication terminal, the interface of this operating system, the software of prepackage, for wireless communication terminal use UI software, data card driver etc. can customize in advance, can directly use, without the need to installing UI software, also without the need to installation data card driver, accomplish that real free drive moves installation function; And driver and UI software all can not leave any installation vestige and system rubbish in the operating system of PC.
If the operating system of PC is Linux etc., to the very imperfect operating system of the support of wireless communication terminal, also can by PC being directed to the mode of the embedded OS that wireless communication terminal carries, directly use wireless communication terminal in an operating system, play all functions of wireless communication terminal, bring better Consumer's Experience.
Due to the PC of a lot of company, other people PC, does not have Family administration person's authority, is now the UI software and driver cannot installing wireless communication terminal, that is, cannot uses wireless communication terminal product completely; But utilize the compatibility method of wireless communication terminal provided by the invention and the operating system with computing machine thereof, can directly start shooting time by the booting operating system of PC in the embedded OS of wireless communication terminal, there is no the restriction of authority completely, normally can use all wireless communication terminal functions.
Owing to being the operating system using wireless communication terminal built-in, this operating system is by manufacturer's customized and test, UI software and data card driver have been installed in advance, stop wireless communication terminal to the full extent in the operating system with PC with the use of in process, the various compatibility that causes due to the variation of system environments and mounting software occurred and software conflict problem.
Accompanying drawing explanation
Fig. 1 is the flow process of the mode of operation of USB data card in prior art;
Fig. 2 is the structural representation of wireless communication terminal of the present invention;
Fig. 3 is the schematic flow sheet that the present invention realizes the method for wireless communication terminal self-starting.
Embodiment
System guides manager (GRUB, GRandUnifiedBootloader) is a multiple operating system start-up routine from GNU project.GRUB is the realizations starting specification more, and it allows user can have multiple operating system in computing machine simultaneously, and selects the operating system that hope runs when computer starting.GRUB can be used for selecting the different kernels on operating system partition, also can be used for transmitting start-up parameter to these kernels.
Embedded OS is the embedded OS based on taking assembly as ingredient, embedded OS comprises embedded Windows operating system, built-in Linux operating system, embedded Mac operating system and Embedded A ndroid operating system etc., and embedded Windows operating system can be Windows XP Embedded System, embedded Windows 7 operating system etc.; Embedded OS also can trouble-free operation in PC; Embedded OS is based on the professional version of operating system, professional version is divided into about more than 12000 assemblies, equipment vendors can need the assembly of loading according to the needs of oneself and hardware configuration unrestricted choice, can change and cutting operating system very easily; Embedded OS, according to the difference of selected assembly, can realize nearly all function of operating system professional version, also can support the various application programs under operating system, have very strong practicality and dirigibility.
Based on above-mentioned GRUB and embedded OS, the invention provides a kind of method of wireless communication terminal and self-starting thereof, its basic thought is: the BIOS run search of PC to USB device in GRUB boot; GRUB boot guides the embedded OS in wireless communication terminal to bring into operation, and embedded OS runs changeover program and wireless communication terminal is switched to normal mode of operation, and runs data card driver and/or the UI software of prepackage.
Below by drawings and the specific embodiments, the present invention is described in further detail again.
The invention provides a kind of wireless communication terminal, Fig. 2 is the structural representation of wireless communication terminal of the present invention, and as shown in Figure 2, this wireless communication terminal comprises: GRUB bootstrap program module 21, embedded OS module 22; Wherein,
GRUB bootstrap program module 21, after bringing into operation, guides embedded OS module 22 to bring into operation;
Embedded OS module 22, after bringing into operation, runs changeover program and USB data card is switched to normal mode of operation, and run data card driver and/or the UI software of prepackage.
This wireless communication terminal also comprises: usb interface module 23, SCSI command process module 24, SCSI-Flash critical transition module 25, Flash module for reading and writing 26; Wherein,
Usb interface module 23, for when the BIOS of PC carries out self-inspection, enumerates USB device; The SCSI instruction that the BIOS receiving PC issues, and this SCSI instruction is transmitted to SCSI command process module 24;
SCSI command process module 24, for receiving the SCSI instruction that usb interface module 23 forwards, and sends to SCSI-Flash critical transition module 25 by the data block Base Serial Number in SCSI instruction and data block quantity information;
SCSI-Flash critical transition module 25, for data block Base Serial Number and data block quantity information being converted to the actual storage address in Flash memory block of GRUB boot and embedded OS, and described actual storage address is sent to Flash module for reading and writing 26;
Flash module for reading and writing 26, for reading out GRUB boot and embedded OS from described actual storage address, and reports the BIOS of PC.
The actual storage address in Flash memory block that data block Base Serial Number and data block quantity information are converted to GRUB boot and embedded OS by described SCSI-Flash critical transition module 25 is:
SCSI-Flash critical transition module 25 is the unit of 512 bytes according to 1 data block, and according to data block Base Serial Number and data block quantity information, calculate the start address off-set value needing the data read from Flash memory block, recycle the first address of the Flash memory block of GRUB boot and the embedded OS prestored, the BIOS calculating PC needs the first address of the data read.
Described GRUB bootstrap program module 21 guide embedded OS module 22 bring into operation into:
After GRUB bootstrap program module 21 is started working, GRUB bootstrap program module 21 guides embedded OS module 22 to bring into operation; After embedded OS module 22 brings into operation under the guiding of GRUB bootstrap program module 21, in internal memory, set up virtual ramdisk, after self is copied, be saved in this virtual ramdisk.
Described embedded OS module 22 is run changeover program and wireless communication terminal is switched to normal mode of operation, and the data card driver of operation prepackage and/or UI software are:
After embedded OS module 22 brings into operation based on described virtual ramdisk, the changeover program of running memory, to enumerate as the wireless communication terminal of USB device is switched to the normal mode of operation of multiport, and run preassembled data card driver and/or UI software.
Wireless communication terminal in the present invention refers to USB interface to be the wireless telecommunications system of external interface, such as intelligent mobile terminal, panel computer and USB data card etc.; Below for wireless communication terminal be USB data card and embedded OS for embedded Windows operating system, the method for wireless communication terminal self-starting is described.
Based on said apparatus, the present invention also provides a kind of method of wireless communication terminal self-starting, and Fig. 3 is the schematic flow sheet that the present invention realizes the method for wireless communication terminal self-starting, and as shown in Figure 3, the method comprises the following steps:
Step 301, when the BIOS of PC carries out self-inspection, the USB data card having inserted PC enumerates USB device;
Concrete, before PC start, insert USB data card, or restart PC after USB data card is inserted PC, the Basic Input or Output System (BIOS) (BIOS at PC can be ensured, when BasicInputOutputSystem) carrying out self-inspection, USB data card inserts PC;
When the BIOS of PC carries out self-inspection, the usb interface module of USB data card enumerates USB device, for realizing the guided interaction with computing machine; Wherein, USB device can be a large amount of memory storage devices, such as USB flash disk, CDROM etc., can be communication class equipment, such as Ethernet card, modulator-demodular unit etc.; By realizing the mode of the usb protocol stack of slave mode in the firmware of USB data card, the usb interface module in USB data card can be realized; Usb interface module, according to usb protocol, after operating system USB data card being linked to PC, makes corresponding reply according to the USB stereotyped command that the operating system of PC issues, thus realizes enumerating the USB device meeting usb protocol; In the present embodiment, usb interface module needs the USB device first enumerating a MassStorage type.
Step 302, the BIOS of PC searches for the GRUB boot in USB device;
Concrete, this Large Copacity magnetic disc of USB data card kind equipment can be considered as one of boot partition by the BIOS of PC, and GRUB boot can be searched for successively in each boot partition according to the order pre-set in BIOS, therefore, the BIOS of PC can carry out data interaction with the USB device enumerated, the GRUB boot in search USB device;
When BIOS searches for the GRUB boot in USB device, BIOS can issue a series of small computer system interface (SCSI, SmallComputerSystemInterface) instruction is to USB device, to obtain the capacity of USB device or to read the boot section etc. of USB device, the usb interface module enumerated as the USB data card of USB device receives this SCSI instruction, and the SCSI instruction received is transmitted to the SCSI command process module of USB data card, the SCSI instruction that the BIOS that SCSI command process module receives PC issues, and the data block Base Serial Number in SCSI instruction and data block quantity information are sent to the SCSI-Flash critical transition module of USB data card, SCSI-Flash critical transition module is the unit of 512 bytes according to 1 data block, and according to data block Base Serial Number and data block quantity information, calculate the start address off-set value needing the data read from Flash memory block, recycle the first address of the Flash memory block of GRUB boot and the embedded Windows operating system prestored, the BIOS calculating PC needs the first address of the data read, the first address of the data that described needs read is the actual storage address of GRUB boot and embedded Windows operating system, thus SCSI-Flash critical transition module realizes drawing data block Base Serial Number and data block quantity information, convert the actual storage address in Flash memory block of GRUB boot and embedded Windows operating system to, SCSI-Flash critical transition module, by calculating the actual storage address in Flash memory block of GRUB boot and embedded Windows operating system, sends to the Flash module for reading and writing of USB data card, Flash module for reading and writing is according to receiving actual storage address, utilize api function from the Flash memory block of USB data card, read out GRUB boot and embedded Windows operating system, and the GRUB boot read out and embedded Windows operating system are reported the BIOS of PC.
Step 303, the BIOS run search of PC to USB device in GRUB boot;
Concrete, after the GRUB boot reported according to the Flash module for reading and writing of USB data card as the BIOS of PC and embedded Windows operating system, the BIOS of PC determines the GRUB boot self searched in USB device, and run this GRUB boot, GRUB boot starts to guide work.
Step 304, GRUB boot guides the embedded Windows operating system in USB data card to bring into operation, USB data card is switched to normal mode of operation by embedded Windows operating system changeover program, and runs data card driver and the UI software of prepackage;
Concrete, after GRUB boot is started working, GRUB boot guides the embedded Windows operating system of USB data card to bring into operation, after embedded Windows operating system brings into operation under the guiding of GRUB boot, first the entry file setupldr.bin of self is run, this entry file can read self configuration file winnt.xpe, to obtain the method for operation of self, in the present embodiment, the method of operation of embedded Windows operating system is virtual magnetic disc ramdisk, therefore embedded Windows operating system sets up a virtual ramdisk in the internal memory of USB data card, self is copied, embedded Windows operating system after copying is saved in this virtual ramdisk, this virtual ramdisk will be invented a fdisk, subregion as embedded Windows operating system exists,
Embedded Windows operating system brings into operation based on this virtual ramdisk, after embedded Windows operating system brings into operation, automatically can run the changeover program of the internal memory of the resident USB data card that manufacturer specifies; This changeover program will be enumerated as the USB data card of USB device is switched to the normal mode of operation of multiport; Embedded Windows operating system can run preassembled data card driver automatically, and runs UI software, thus USB data card enters normal operating conditions, starts to coordinate UI software to carry out work.
More selection is used in order to provide to user, various situations in reply user use procedure, present invention also offers a kind of method traditional USB data card mode of operation combined with said method, the method can perform corresponding treatment scheme according to the selection of user, concrete, in the present embodiment, in USB data card when carrying out the enumerating of USB device, the USB device enumerated is CDROM and virtual USB device two kinds of large capacity equipments and the mode of depositing; Wherein, what load in CDROM is the virtual optical disk of the installation procedure comprising UI software and data card driver, and what load in virtual USB device is the GRUB boot of embedded Windows operating system in the Flash memory block of USB data card; Like this, when user wants to install UI software and data card driver with traditional USB data card mode of operation, when using USB data card in the operating system of PC, only need after insertion USB data card, data card driver in CDROM and UI software are installed, then wait for that data card uses after being automatically switched to normal mode of operation; If user want with shown in Fig. 3 method use USB data card time, only need after insertion USB data card, restart PC, or USB data card is inserted before start, then by the virtual USB device of USB data card, in the BIOS self-inspection stage, PC is directed in the embedded Windows operating system of USB data card, waits Auto-mounting to be driven complete, use after UI running software.The seamless combination of these two kinds of patterns, can provide to user and more use selection, user can be allowed to tackle the problem run in various use, not only increase the availability of USB data card, also have significant improvement to Consumer's Experience.
The above, be only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention, and all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a wireless communication terminal, is characterized in that, this wireless communication terminal comprises: usb interface module, SCSI command process module, SCSI-Flash critical transition module, Flash module for reading and writing, GRUB bootstrap program module, embedded OS module; Wherein,
Usb interface module, for when the BIOS of PC carries out self-inspection, enumerates USB device; The SCSI instruction that the BIOS receiving PC issues, and this SCSI instruction is transmitted to SCSI command process module;
SCSI command process module, for receiving the SCSI instruction that usb interface module forwards, and sends to SCSI-Flash critical transition module by the data block Base Serial Number in SCSI instruction and data block quantity information;
SCSI-Flash critical transition module, for data block Base Serial Number and data block quantity information being converted to the actual storage address in Flash memory block of GRUB boot and embedded OS, and described actual storage address is sent to Flash module for reading and writing;
Flash module for reading and writing, for reading out GRUB boot and embedded OS from described actual storage address, and reports the BIOS of PC;
GRUB bootstrap program module, after bringing into operation, guides embedded OS module to bring into operation;
Embedded OS module, after bringing into operation, runs changeover program and wireless communication terminal is switched to normal mode of operation, and run data card driver and/or the UI software of prepackage.
2. wireless communication terminal according to claim 1, it is characterized in that, the actual storage address in Flash memory block that data block Base Serial Number and data block quantity information are converted to GRUB boot and embedded OS by described SCSI-Flash critical transition module is:
SCSI-Flash critical transition module is the unit of 512 bytes according to 1 data block, and according to data block Base Serial Number and data block quantity information, calculate the start address off-set value needing the data read from Flash memory block, recycle the first address of the Flash memory block of GRUB boot and the embedded OS prestored, the BIOS calculating PC needs the first address of the data read.
3. wireless communication terminal according to claim 1, is characterized in that, described GRUB bootstrap program module guide embedded OS module bring into operation into:
After GRUB bootstrap program module is started working, GRUB bootstrap program module guides embedded OS module to bring into operation; After embedded OS module brings into operation under the guiding of GRUB bootstrap program module, in internal memory, set up virtual ramdisk, after self is copied, be saved in this virtual ramdisk.
4. wireless communication terminal according to claim 3, is characterized in that, described embedded OS module is run changeover program and wireless communication terminal is switched to normal mode of operation, and the data card driver of operation prepackage and/or UI software are:
After embedded OS module brings into operation based on virtual ramdisk, the changeover program of running memory, to enumerate as the wireless communication terminal of USB device is switched to the normal mode of operation of multiport, and run preassembled data card driver and/or UI software.
5. a method for wireless communication terminal self-starting, is characterized in that, the method comprises:
The BIOS run search of PC to USB device in GRUB boot;
GRUB boot guides the embedded OS in wireless communication terminal to bring into operation, and embedded OS runs changeover program and wireless communication terminal is switched to normal mode of operation, and runs data card driver and/or the UI software of prepackage;
Wherein, the BIOS run search of described PC to USB device in GRUB boot before, the method also comprises: when the BIOS of PC carries out self-inspection, the wireless communication terminal having inserted PC enumerates USB device, the BIOS of PC searches for the GRUB boot in described USB device, wherein, the GRUB boot that the BIOS of described PC searches in described USB device is: the BIOS of PC issues SCSI instruction to USB device, the usb interface module enumerated as the wireless communication terminal of USB device receives this SCSI instruction, and the SCSI instruction received is transmitted to the SCSI command process module of wireless communication terminal, SCSI command process module receives described SCSI instruction, and the data block Base Serial Number in SCSI instruction and data block quantity information are sent to the SCSI-Flash critical transition module of wireless communication terminal, data block Base Serial Number and data block quantity information are converted to the actual storage address in Flash memory block of GRUB boot and embedded OS by SCSI-Flash critical transition module, and described actual storage address are sent to the Flash module for reading and writing of wireless communication terminal, Flash module for reading and writing reads out GRUB boot and embedded OS from described actual storage address, and reports the BIOS of PC.
6. method according to claim 5, is characterized in that, when the described BIOS as PC carries out self-inspection, the wireless communication terminal having inserted PC is enumerated USB device and is:
Before PC start, insert wireless communication terminal, or restart PC after wireless communication terminal is inserted PC, when the BIOS of PC carries out self-inspection, the usb interface module of wireless communication terminal enumerates USB device.
7. method according to claim 5, it is characterized in that, the actual storage address in Flash memory block that data block Base Serial Number and data block quantity information are converted to GRUB boot and embedded OS by described SCSI-Flash critical transition module is:
SCSI-Flash critical transition module is the unit of 512 bytes according to 1 data block, and according to data block Base Serial Number and data block quantity information, calculate the start address off-set value needing the data read from Flash memory block, recycle the first address of the Flash memory block of GRUB boot and the embedded OS prestored, the BIOS calculating PC needs the first address of the data read.
8. method according to claim 5, is characterized in that, the BIOS run search of described PC to USB device in GRUB boot be:
After the GRUB boot reported according to the Flash module for reading and writing of wireless communication terminal as the BIOS of PC and embedded OS, the BIOS of PC determines the GRUB boot self searched in USB device, and run described GRUB boot, GRUB boot starts to guide work.
9. method according to claim 5, is characterized in that, described GRUB boot guide the embedded OS in USB data card bring into operation into:
After GRUB boot is started working, GRUB boot guides the embedded OS of wireless communication terminal to bring into operation; After embedded OS brings into operation under the guiding of GRUB boot, in the internal memory of wireless communication terminal, set up virtual ramdisk, after self is copied, be saved in this virtual ramdisk.
10. method according to claim 9, is characterized in that, described embedded OS runs changeover program and wireless communication terminal is switched to normal mode of operation, and the data card driver of operation prepackage and/or UI software are:
After embedded OS brings into operation based on virtual ramdisk, run the changeover program of internal memory of wireless communication terminal, will enumerate as the wireless communication terminal of USB device is switched to the normal mode of operation of multiport; And running preassembled data card driver and/or UI software, wireless communication terminal enters normal operating conditions, starts to coordinate UI software to carry out work.
CN201110021985.2A 2011-01-19 2011-01-19 A kind of method of wireless communication terminal and self-starting thereof Active CN102073524B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110021985.2A CN102073524B (en) 2011-01-19 2011-01-19 A kind of method of wireless communication terminal and self-starting thereof
PCT/CN2011/076887 WO2012097574A1 (en) 2011-01-19 2011-07-06 Wireless communication terminal and self-starting method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110021985.2A CN102073524B (en) 2011-01-19 2011-01-19 A kind of method of wireless communication terminal and self-starting thereof

Publications (2)

Publication Number Publication Date
CN102073524A CN102073524A (en) 2011-05-25
CN102073524B true CN102073524B (en) 2016-03-30

Family

ID=44032070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110021985.2A Active CN102073524B (en) 2011-01-19 2011-01-19 A kind of method of wireless communication terminal and self-starting thereof

Country Status (2)

Country Link
CN (1) CN102073524B (en)
WO (1) WO2012097574A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073524B (en) * 2011-01-19 2016-03-30 中兴通讯股份有限公司 A kind of method of wireless communication terminal and self-starting thereof
CN103049327A (en) * 2011-10-14 2013-04-17 深圳市同洲电子股份有限公司 Method and device for mounting many storage devices on android system
CN102592085B (en) * 2011-12-27 2015-09-16 中兴通讯股份有限公司 A kind of wireless communication terminal and development method for safe operation
CN103379006B (en) * 2012-04-19 2016-08-03 中兴通讯股份有限公司 data card self-adapting method and device
CN104932921B (en) * 2015-06-16 2018-07-06 联想(北京)有限公司 Start control method and electronic equipment
TWI660267B (en) * 2018-03-28 2019-05-21 和碩聯合科技股份有限公司 Boot testing apparatus, system and method thereof
CN109388412A (en) * 2018-12-05 2019-02-26 安徽省航嘉智源科技有限公司 A kind of portable bootload device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6889058B2 (en) * 2001-04-20 2005-05-03 Sony Corporation Set up logic for dual interface wireless IP communication device
CN101075178A (en) * 2007-06-25 2007-11-21 中兴通讯股份有限公司 Method for automatically starting TD-SCDMA wireless data card
CN101916197A (en) * 2010-07-22 2010-12-15 北京东土科技股份有限公司 Method for controlling self-starting program of system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SG138439A1 (en) * 2003-04-02 2008-01-28 Trek 2000 Int Ltd Portable operating system and method to load the same
CN102073524B (en) * 2011-01-19 2016-03-30 中兴通讯股份有限公司 A kind of method of wireless communication terminal and self-starting thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6889058B2 (en) * 2001-04-20 2005-05-03 Sony Corporation Set up logic for dual interface wireless IP communication device
CN101075178A (en) * 2007-06-25 2007-11-21 中兴通讯股份有限公司 Method for automatically starting TD-SCDMA wireless data card
CN101916197A (en) * 2010-07-22 2010-12-15 北京东土科技股份有限公司 Method for controlling self-starting program of system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
嵌入式Linux在PC104上的构建与实现;许德新 等;《应用科技》;20061031;第33卷(第10期);35-37 *

Also Published As

Publication number Publication date
CN102073524A (en) 2011-05-25
WO2012097574A1 (en) 2012-07-26

Similar Documents

Publication Publication Date Title
CN102073524B (en) A kind of method of wireless communication terminal and self-starting thereof
CN101452435B (en) USB terminal mode switching method and terminal
CN103761088A (en) Multiple operation system switching method applicable to ARM (advanced risc machine) framework mobile equipment
CN103365688A (en) Method for automatic installation and synchronization of software between Android intelligent devices
WO2011127845A2 (en) Method, system and terminal for system update between mobile communication terminals
CN101110039A (en) Terminal unit self-installing and self-starting system and method thereof
CN111176701A (en) Firmware upgrading method and device based on external memory card
CN101957771A (en) Method and device for installing mobile software for multiple mobile phones simultaneously
CN102088797A (en) Wireless communication method and system as well as wireless communication terminal
CN105068946A (en) Android device identification method and apparatus
CN103369037A (en) Method for automatically synchronizing data among Android intelligent equipment
CN114024853A (en) Hardware information collection method and system for bare metal node and related components
CN113626276B (en) Method, system, terminal and storage medium for identifying type of server HBA card
US9465597B2 (en) System for operating a device as a storage device and a modem device
US10616944B2 (en) Computer system and method thereof for sharing of wireless connection information between UEFI firmware and OS
CN101853142B (en) Identification method of USB device with virtual drive
RU2643481C2 (en) Method of identification of operating system type and usb device
CN114816491A (en) System upgrading method and device for multi-system mobile terminal and terminal
EP2835737A1 (en) Data terminal running mode switching method, device, and data terminal
JP2013513874A (en) Data card upgrade method and device
CN117407065A (en) Network card pre-start control method, device, equipment, system and storage medium
US20120173861A1 (en) Data card and a booting method for the data card
JP4141409B2 (en) External peripherals
CN102130957A (en) Mobile broadband equipment and use method thereof
US10049070B2 (en) Data card, and data card switching method and apparatus

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