CN1988701A - Multifunctional mobile phone based on general USB chip and its realizing method - Google Patents

Multifunctional mobile phone based on general USB chip and its realizing method Download PDF

Info

Publication number
CN1988701A
CN1988701A CNA2006100699670A CN200610069967A CN1988701A CN 1988701 A CN1988701 A CN 1988701A CN A2006100699670 A CNA2006100699670 A CN A2006100699670A CN 200610069967 A CN200610069967 A CN 200610069967A CN 1988701 A CN1988701 A CN 1988701A
Authority
CN
China
Prior art keywords
mobile phone
chip
usb
computer
data
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
CNA2006100699670A
Other languages
Chinese (zh)
Other versions
CN100468981C (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CNB2006100699670A priority Critical patent/CN100468981C/en
Publication of CN1988701A publication Critical patent/CN1988701A/en
Application granted granted Critical
Publication of CN100468981C publication Critical patent/CN100468981C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses one kind of multi-functional mobile phone based on a generic USB chip and its realizing method. The mobile phone includes a baseband chip which contains a USB protocol unit and a documents managing unit and a application module, a USB interface chip connected with the baseband chip which contains a bidirectional controlling interface and a high-speed multi-structured DMA interface, a control transmission unit, a batch transmission unit, a synchronous transmission unit and a interruption transmission unit, a camera and a loudspeaker and their controlling chip which are connected with the baseband chip receive instructions from application module of the baseband chip and transmits data with computer through the USB interface chip.

Description

Multi-functional mobile phone and its implementation based on general USB chip
Technical field
The invention belongs to the technical field of mobile phone and external equipment communication, be the function that realizes big storage capacity on mobile phone specifically, and equipment such as mobile phone and computer carries out data communication.
Background technology
Advantage and the flexibility of USB " plug and play " have promoted the develop rapidly of computer peripheral equipment.And the enhancing of mobile phone master chip disposal ability and the upgrading of peripheral hardware make that mobile phone no longer only is a communication tool.Along with the reduction of flash storing memory costs such as NAND FLASH and the increase of capacity, reach the generally use of various MMC, SD card, the memory space on the mobile phone is increasing.Realize that on mobile phone the Udisk function has its feasibility.Along with the rising of the camera pixel count on the mobile phone, it also is feasible utilizing camera on the mobile phone to make PCcamera.And cell phone network is constantly upgraded, and makes that surfing Internet with cell phone speed is more and more faster, and utilizing mobile phone also is feasible as the demodulator of computer internet.The audio system that utilizes mobile phone to become better and better, the audio output device that is used as notebook and so on computer also is feasible.And on mobile phone, realize all functions of these and computer intercommunication needing mobile phone end and computer terminal that rapid and reliable interactive communication can be arranged.
Technical scheme relatively more commonly used at present is to increase the part that a special chip is realized above-mentioned functions in mobile phone, these chips generally are multimedia chips, has MCU, so cost is than higher, and it generally only supports control transmission and bulk transfer dual mode in the usb bus data transfer mode, and has only a small amount of end points of control and bulk-in and bulk-out.The problem that present this technical scheme exists is that the connected mode of mobile phone master chip and multimedia chip is simple, has solidified the Udisk functional module in the multimedia chip, and mobile phone generally can only use as Udisk, has limited the multiple use of USB interface greatly.Also need add chip again if realize other function of USB interface, the design work that this can increase mobile phone has undoubtedly improved cost, product use aspect is on a large scale had certain restricted.
Summary of the invention
Purpose of the present invention, just be to overcome mobile phone and adopt the limitation of multimedia chip at aspect of performance, provide a kind of based on the Universal USB interface chip, can realize the mobile phone of multiple function according to different needs, link to each other by the usb data line with computer, can be used as mobile storage, dollying, the multi-functional mobile phone of sound playing.
In order to achieve the above object, based on the multi-functional mobile phone of general USB chip, comprise baseband chip, FLASH and RAM memory, camera and control chip thereof, Mike, loud speaker and sound control chip, mobile phone further comprises as the peripheral hardware of computer:
Baseband chip comprises usb protocol unit, file management system unit and application module;
Connect the USB interface chip of baseband chip, comprise two-way control port and many structures of high speed DMA interface, have control transmission, bulk transfer, synchronous transmission and four kinds of transmission units of interruption transmission;
The camera, loud speaker and the control chip thereof that connect baseband chip receive the instruction of baseband chip application module, by USB interface chip and computer transmission data, as the peripheral hardware of computer.
Computer carries out read-write operation by the file system in explorer and the mobile phone base band chip to mobile phone memory.
Multi-functional mobile phone mobile memory method based on general USB chip may further comprise the steps:
(1) driving that carries by operating system of host computer sends instruction through explorer;
(2) instruction conventional data line arrives mobile phone end Universal USB interface chip;
(3) scsi command is resolved and replied to mobile phone end usb protocol cell processing USB bulk-only host-host protocol and USB MassStorage quasi-protocol;
(4) mobile phone end file management system establishment memory data;
(5) carry out data read-write operation by usb communication line journey and FAT file management thread.
Described host computer is computer and the portable handheld device with USB Host controller.Mobile phone end USB communication mainly may further comprise the steps:
(1) the usb protocol unit handler is enumerated and configuration operation;
(2) obtain mobile phone end MBR district, DBR district, FAT district data by scsi command;
(3) according to the FAT district data of mobile phone end the file in the mobile phone memory is carried out read-write operation;
(4) host computer passes to mobile phone memory again to the FAT district data after changing.
When computer has changed the file in the mobile phone memory, disconnect when connecting coming the more FAT table of new cell-phone end by the computer pop-up device.
Multi-functional mobile phone and host computer interconnecting method based on general USB chip is characterized in that may further comprise the steps:
Upper computer detection is inserted to USB device, obtains the equipment disposition and the port information of mobile phone end by USB interface;
Host computer operating system (OS) invocation facility drives, by camera, audio playing device, sound pick-up outfit and the wireless transmission receiving element transmission data of application program and mobile phone end;
View data in the mobile phone and recording data by USB interface synchronously, in batches, interrupt being transferred to host computer, host computer is handled this data by applying unit.
The applying unit processing audio played file of host computer is carried out sound playing by the synchronous transmission of USB to the mobile phone audio playing device.
General USB chip inside does not have MCU, by the MCU in the mobile phone base band chip it is carried out configuration and the operation that multiple function is used.Upper computer detection is to the mobile phone that is connected to its port, by obtaining the relevant information of equipment with the mobile phone firmware communication.Notify its operating system (OS) then, operating system is called driving according to the information that obtains, and host computer comes the memory space of the Udisk part in the managing mobile phone by the explorer of system; Host computer is managed camera, sound playing, recording and modem by application program.
The USB interface chip is supported low speed (1.5Mbps) (12Mbit/s) even high speed (480Mbps) transfer of data at full speed.Mainly be by interrupt and GPIO with the baseband chip communication.USB chip drives part mainly is register manipulation and the Interrupt Process part to chip in the mobile phone.
The present invention can bring into play the multiduty advantage of Universal USB interface on mobile phone, make mobile phone not only have Udisk Mobile Storage Function MSF commonly used; Simultaneously can make mobile phone can become PC camera, wireless Internet access modem, music player, recording playback equipment, the purposes that has expanded mobile phone greatly the peripheral hardware of mobile phone as computer.
Description of drawings
Below in conjunction with drawings and Examples the present invention is further described.
Fig. 1 is a hardware device connection layout of the present invention.
Fig. 2 is computer of the present invention and mobile communication flow chart;
Fig. 3 is the operational flowchart of cell phone system operation Udisk of the present invention.
Embodiment
As shown in Figure 1, the mobile phone end comprises the baseband chip that contains microprocessor, radio frequency unit comprises that wireless RF sends signal and wireless RF acknowledge(ment) signal, the sound control chip connects loud speaker and microphone, camera is connected to baseband chip by the Camera chip, flash memories is as the storage of mobile phone, memory space is big, comprise NAND, NOR and MMC, various flash memories such as SD card are used for the memory space of extended mobile phone, for the Udisk function that realizes mobile phone provides memory space, and the SDRAM random asccess memory is as the mobile phone buffer memory, various interim immediate access space is provided, can stores the data of the interim storage of USB transmission course needs, to improve the transmission speed of USB.
Mobile phone base band chip connects a general USB interface chip, and with after USB interface of computer links to each other, computer terminal detects USB device and inserts the USB interface chip, notifies host computer OS by standard cable.Host computer OS obtains the information of USB device by inquiry, is configured then to operate the communication of setting up between mobile phone and the computer.Wherein general USB interface chip can adopt the integrated circuit of ISP1183 model.
The Universal USB interface chip is supported usb protocol 2.0; Support (12Mbit/s) transfer of data at full speed; Have a plurality of configurable end points and 1 two-way control end points, inside has several K to share for all end points to the FIFO of tens K, and each end points can be configured to double-FIFO and improve data transmission bauds; Four kinds of data transfer modes with usb bus: control transmission, interruption transmission, bulk transfer and synchronous transmission; Have high speed DMA (Direct Memory Access) interface, support many structures dma operation of Complete autonomy.
Mobile phone is connected to after the host computer by USB interface, USB Host controller can detect this equipment automatically, and notice host computer OS carries out equipment query and configuration operation, because the USBDevice Class information of this equipment is described in interface class, its Interface Class is Mass-Storage, Audio Device, Communications Device etc., its Subclass is SCSI instruction etc., host computer OS can detect this equipment automatically and dispose USB device, the corresponding driving program is installed according to Query Information by the Windows system, driver installs, external device is in running status, and mobile phone can carry out transfer of data with computer.
Adopt USB as a kind of convenience, be connected the communication of mobile phone and computer with communication approach efficiently flexibly, be set to the peripheral hardware of computer, expanded the multiple application of mobile phone by the USB interface multi-functional mobile phone.Big capacity NAND FLASH and other storage card has cheaply enlarged the memory space of mobile phone, possesses and realizes the Udisk function on the mobile phone; Utilize on the mobile phone camera of high pixel to realize PC camera; Along with the increase of mobile network's networking speed, can be mobile phone as wireless modem.
As shown in Figure 2, the file system of host computer or application module send command information by operating system (OS) and USB interface (IF); Command information is sent to the USB interface of mobile phone by USB cable; USB interface chip reading command and decoding send message by chip drives to USB communication management thread in the mobile phone; The USB management thread is according to the instruction of host computer, by the SDRAM (Cache) of operating handset end and the Udisk of NAND FLASH driving operating handset; Obtain the file data that computer needs by operation camera driving, Music Clip driving and high-level business firmware, and undertaken alternately by USB interface and computer terminal.
As shown in Figure 3, the file among the cell phone system operation Udisk, by the interface function of calling mobile phone file system, interface function sends message to the file system thread.File system is carried out read-write operation according to the FAT table that has read in to the file among the Udisk when initialization.
Mobile phone usb protocol unit mainly is a firmware code of handling agreement aspects such as USB device is enumerated, endpoint configurations management, host-host protocol, scsi command.File management system comprises in the mobile phone: the MBR district to memory management, DBR district, FAT district and DATA district that the FAT file system is comprised are provided with; In the mobile phone of writing according to FAT16 the file among the Udisk is operated.
The present invention relies on the cell phone system platform development, and the cell phone system platform generally all has the operating system (OS) that comprises thread and message management.The present invention has used two threads, manages USB communication and FAT file system respectively.When host computer and mobile phone carried out communication, the information that general USB chip transmits according to host computer produced corresponding the interruption, and bottom layer driving sends message according to interrupting to the usb communication line journey, is handled accordingly by this thread; Mobile phone need be operated the file among the Udisk, and the interface function by file system sends message to the FAT file system, is handled accordingly by this thread.

Claims (9)

1. based on the multi-functional mobile phone of general USB chip, comprise baseband chip, FLASH and RAM memory, camera and control chip thereof, Mike, loud speaker and sound control chip, it is characterized in that: mobile phone further comprises as the peripheral hardware of computer:
Baseband chip comprises usb protocol unit, file management system unit and application module;
Connect the USB interface chip of baseband chip, comprise two-way control port and many structures of high speed DMA interface, have control transmission, bulk transfer, synchronous transmission and four kinds of transmission units of interruption transmission;
The camera, loud speaker and the control chip thereof that connect baseband chip receive the instruction of baseband chip application module, by USB interface chip and computer transmission data, as the peripheral hardware of computer.
2. the multi-functional mobile phone based on general USB chip according to claim 1 is characterized in that computer carries out read-write operation by the file system in explorer and the mobile phone base band chip to mobile phone memory.
3. based on the multi-functional mobile phone mobile memory method of general USB chip, it is characterized in that may further comprise the steps:
(1) driving that carries by operating system of host computer sends instruction through explorer;
(2) instruction conventional data line arrives mobile phone end Universal USB interface chip;
(3) scsi command is resolved and replied to mobile phone end usb protocol cell processing USB bulk-only host-host protocol and USB MassStorage quasi-protocol;
(4) mobile phone end file management system establishment memory data;
(5) carry out data read-write operation by usb communication line journey and FAT file management thread.
4. the multi-functional mobile phone mobile memory method based on general USB chip according to claim 3 is characterized in that described host computer is computer and the portable handheld device with USB Host controller.
5. according to claim 3 or 4 described multi-functional mobile phone mobile memory methods, it is characterized in that described mobile phone end USB communication mainly may further comprise the steps based on general USB chip:
(1) the usb protocol unit handler is enumerated and configuration operation;
(2) obtain mobile phone end MBR district, DBR district, FAT district data by scsi command;
(3) according to the FAT district data of mobile phone end the file in the mobile phone memory is carried out read-write operation;
(4) host computer passes to mobile phone memory again to the FAT district data after changing.
6. according to claim 3,4 or 5 described multi-functional mobile phone mobile memory methods based on general USB chip, it is characterized in that having changed the file in the mobile phone memory, disconnect when connecting and come the more FAT table of new cell-phone end by the computer pop-up device when computer.
7. based on the multi-functional mobile phone and the host computer interconnecting method of general USB chip, it is characterized in that may further comprise the steps:
Upper computer detection is inserted to USB device, obtains the equipment disposition and the port information of mobile phone end by USB interface;
Host computer operating system (OS) invocation facility drives, by camera, audio playing device, sound pick-up outfit and the wireless transmission receiving element transmission data of application program and mobile phone end;
8. multi-functional mobile phone and host computer interconnecting method based on general USB chip according to claim 7, it is characterized in that view data in the mobile phone and recording data by USB interface synchronously, in batches, interrupt being transferred to host computer, host computer is handled this data by applying unit.
9. according to claim 7 or 8 described multi-functional mobile phone and host computer interconnecting methods based on general USB chip, it is characterized in that the applying unit processing audio played file of host computer, carry out sound playing to the mobile phone audio playing device by the synchronous transmission of USB.
CNB2006100699670A 2006-11-05 2006-11-05 Multifunctional mobile phone based on general USB chip and its realizing method Expired - Fee Related CN100468981C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100699670A CN100468981C (en) 2006-11-05 2006-11-05 Multifunctional mobile phone based on general USB chip and its realizing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100699670A CN100468981C (en) 2006-11-05 2006-11-05 Multifunctional mobile phone based on general USB chip and its realizing method

Publications (2)

Publication Number Publication Date
CN1988701A true CN1988701A (en) 2007-06-27
CN100468981C CN100468981C (en) 2009-03-11

Family

ID=38185296

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100699670A Expired - Fee Related CN100468981C (en) 2006-11-05 2006-11-05 Multifunctional mobile phone based on general USB chip and its realizing method

Country Status (1)

Country Link
CN (1) CN100468981C (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101868049A (en) * 2010-06-03 2010-10-20 华为终端有限公司 Communication methods for host and wireless Internet access module and host communication module
CN101917395A (en) * 2010-06-24 2010-12-15 中兴通讯股份有限公司 General upgrading method, device and system
CN101938848A (en) * 2010-06-03 2011-01-05 华为终端有限公司 Host computer equipment wireless network access method and system
CN101287242B (en) * 2008-05-29 2011-01-19 德信无线通讯科技(北京)有限公司 Video method and system for mobile phone camera
CN101127992B (en) * 2007-09-20 2011-05-11 中兴通讯股份有限公司 Implementation method for concurrent execution of multiple services and mobile terminal using this method
CN102106727A (en) * 2010-12-23 2011-06-29 江苏鱼跃医疗设备股份有限公司 Electronic hemopiezometer device with wireless sensing and expert management system and method
CN101741972B (en) * 2009-10-15 2012-08-08 深圳桑菲消费通信有限公司 Dual-stroke key control system of mobile phone camera and identification method thereof
CN104408004A (en) * 2014-10-22 2015-03-11 成都西可科技有限公司 Mobile phone configuration data method based on USB (Universal Serial Bus) interface
CN104765704A (en) * 2015-03-17 2015-07-08 苏州佳世达电通有限公司 Movable communication device and electronic device
US9092157B2 (en) 2010-04-23 2015-07-28 Huawei Device Co., Ltd. Wireless internet-accessing module, host, communication method thereof, and data card
CN106095714A (en) * 2016-06-08 2016-11-09 芯启源电子科技有限公司 The storage device of USB data transmission and electronic equipment
CN106209740A (en) * 2015-05-07 2016-12-07 北京怡诚科训技术发展有限公司 The safe transmission method of data and device
CN112965688A (en) * 2021-03-31 2021-06-15 杭州国芯科技股份有限公司 Audio transmission method for USB sound card

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127992B (en) * 2007-09-20 2011-05-11 中兴通讯股份有限公司 Implementation method for concurrent execution of multiple services and mobile terminal using this method
CN101287242B (en) * 2008-05-29 2011-01-19 德信无线通讯科技(北京)有限公司 Video method and system for mobile phone camera
CN101741972B (en) * 2009-10-15 2012-08-08 深圳桑菲消费通信有限公司 Dual-stroke key control system of mobile phone camera and identification method thereof
US9110605B2 (en) 2010-04-23 2015-08-18 Huawei Device Co., Ltd. Wireless internet access module, communication method for host and wireless internet access module, and data card
US9092157B2 (en) 2010-04-23 2015-07-28 Huawei Device Co., Ltd. Wireless internet-accessing module, host, communication method thereof, and data card
US9146692B2 (en) 2010-04-23 2015-09-29 Huawei Device Co., Ltd. Wireless internet access module, communication method for host and wireless internet access module, and data card
CN101938848B (en) * 2010-06-03 2013-01-02 华为终端有限公司 Host computer equipment wireless network access method and system
CN101938848A (en) * 2010-06-03 2011-01-05 华为终端有限公司 Host computer equipment wireless network access method and system
CN101868049B (en) * 2010-06-03 2013-12-04 华为终端有限公司 Communication methods for host and wireless Internet access module and host communication module
CN101868049A (en) * 2010-06-03 2010-10-20 华为终端有限公司 Communication methods for host and wireless Internet access module and host communication module
CN101917395A (en) * 2010-06-24 2010-12-15 中兴通讯股份有限公司 General upgrading method, device and system
CN102106727A (en) * 2010-12-23 2011-06-29 江苏鱼跃医疗设备股份有限公司 Electronic hemopiezometer device with wireless sensing and expert management system and method
CN104408004A (en) * 2014-10-22 2015-03-11 成都西可科技有限公司 Mobile phone configuration data method based on USB (Universal Serial Bus) interface
CN104408004B (en) * 2014-10-22 2018-06-15 成都西可科技有限公司 USB interface-based the accuracy of mobile phone data method
CN104765704A (en) * 2015-03-17 2015-07-08 苏州佳世达电通有限公司 Movable communication device and electronic device
CN106209740A (en) * 2015-05-07 2016-12-07 北京怡诚科训技术发展有限公司 The safe transmission method of data and device
CN106209740B (en) * 2015-05-07 2021-09-03 北京怡诚科训技术发展有限公司 Method and device for safely transmitting data
CN106095714A (en) * 2016-06-08 2016-11-09 芯启源电子科技有限公司 The storage device of USB data transmission and electronic equipment
CN112965688A (en) * 2021-03-31 2021-06-15 杭州国芯科技股份有限公司 Audio transmission method for USB sound card

Also Published As

Publication number Publication date
CN100468981C (en) 2009-03-11

Similar Documents

Publication Publication Date Title
CN100468981C (en) Multifunctional mobile phone based on general USB chip and its realizing method
US7376781B2 (en) Virtual USB card reader with PCI express interface
US8510494B2 (en) USB 3.0 support in mobile platform with USB 2.0 interface
US8745299B2 (en) Combination non-volatile memory and input-output card with direct memory access
US7921244B2 (en) Data sharing and transfer systems and methods
US7496703B2 (en) Virtual IDE card reader with PCI express interface
WO2004077306A1 (en) Sdio controller
WO2015059654A1 (en) Universal serial bus (usb) hub for switching downstream ports between host mode and slave mode
JP2007518160A (en) Multi-module circuit card with direct memory access between modules
CN202434203U (en) Flash disk with OTG (on-the-go) function
US20120066422A1 (en) Method and system for transferring high-speed data within a portable device
CN102646088A (en) External bridge system
US20060168387A1 (en) [crad reader with pci express]
CN204496922U (en) There is the mobile storage means of OTG function
CN1367438B (en) Semiconductor storage method for supporting several interfaces and device
JP2007164500A (en) Data input/output device, data input/output method, data transfer method and computer program
CN1896982A (en) Cell-phone USB main system
CN115733549A (en) PCIE network card and switching method of interface modes thereof, electronic equipment and storage medium
EP2071762A1 (en) Modem
CN101155364A (en) Method for extending memory in mobile phone terminal
CN101094464A (en) Device and method for handset to manage files in U disk
CN1731427B (en) Multimedia data storage and communication device and judging method thereof
CN100378638C (en) External MS memory card interface switching device
CN207251926U (en) A kind of simple integration modules of wireless Wi Fi
CN207691128U (en) A kind of Multifunctional data line

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090311

Termination date: 20191105

CF01 Termination of patent right due to non-payment of annual fee