CN101882110A - Method for downloading data and terminal equipment - Google Patents

Method for downloading data and terminal equipment Download PDF

Info

Publication number
CN101882110A
CN101882110A CN2010102199863A CN201010219986A CN101882110A CN 101882110 A CN101882110 A CN 101882110A CN 2010102199863 A CN2010102199863 A CN 2010102199863A CN 201010219986 A CN201010219986 A CN 201010219986A CN 101882110 A CN101882110 A CN 101882110A
Authority
CN
China
Prior art keywords
data
terminal device
buffer memory
application processor
wireless module
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.)
Pending
Application number
CN2010102199863A
Other languages
Chinese (zh)
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 CN2010102199863A priority Critical patent/CN101882110A/en
Priority to PCT/CN2010/077163 priority patent/WO2012000240A1/en
Publication of CN101882110A publication Critical patent/CN101882110A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The invention discloses a method and terminal equipment for downloading data for solving the problem of complex operation process for downloading the data by the terminal equipment comprising a plurality of wireless modules. The method comprises that: an application processor in the terminal equipment downloads the data from a computer to a cache in the terminal equipment; and a wireless module in the terminal equipment downloads the data from the cache.

Description

The method of data download and terminal device
Technical field
Invention relates to the communication technology, relates in particular to a kind of method and terminal device of data download.
Background technology
Along with the fast development of the fast development of mobile communication industry, particularly 3G (third generation mobile) networking, operator is also more and more for the demand of the mobile terminal device of supporting 3G network.Under the situation that current 3G network does not cover fully, mobile terminal device need be supported two kinds of mobile network's standards usually simultaneously; Under the promotion of this demand, a lot of mobile terminal device manufacturers have released the mobile terminal device that comprises two wireless modules.On the basis of two wireless modules, increase application processor AP module, can handle more complicated application.
Present most of terminal device all is to be connected with computing machine by USB (universal serial bus) (USB) when downloading.A common terminal device only leaves a USB port and uses for downloading, and in order to realize the download of multimode, need an analog switch be set in terminal, by programmed control the terminal device USB port is connected to switch on the different wireless modules.According to this method, after a wireless module has been downloaded, need restart mobile phone and start work by analog switch execution simulation, USB interface is connected on other wireless module, could begin the download of another wireless module; Simultaneously, owing to the different pairing communications protocol of wireless module there are differences, and the USB driving of the corresponding computer-side of different radio module USB device is different, causes computing machine need repeatedly enumerate each USB device, and this operating process is comparatively complicated.
In realizing process of the present invention, the inventor finds that according to prior art the operating process the when terminal device that comprises a plurality of wireless modules is carried out the data download is comparatively complicated.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of method and terminal device of data download, to solve in the prior art terminal device that comprises a plurality of wireless modules is carried out comparatively complicated problems of operating process that data download.
For addressing the above problem, according to an aspect of the present invention, provide a kind of method of data download, comprising: in the buffer memory of the application processor in the terminal device from the downloaded data to described terminal device; Wireless module in the described terminal device is downloaded described data from described buffer memory.
Further, described appointed wireless module is downloaded described data and comprised from described buffer memory: described application processor moves the driver of the FPDP of described appointed wireless module; Described application processor sends to described appointed wireless module with the data in the described buffer memory.
For addressing the above problem, according to a further aspect in the invention, provide a kind of terminal device, this terminal device comprises one or more wireless modules and buffer memory, and comprises: coupling arrangement is used to connect computing machine; Application processor is used for from described downloaded data to described buffer memory the described data in the described buffer memory being sent to described wireless module.
Further, described buffer memory is for receiving the region of memory that data are reserved in the described application processor module.
Further, described application processor also is used to move the driver of the FPDP between described wireless module and the described application processor.
According to technical scheme of the present invention, the data that adopt buffer memory to come receiving computer to send, and wireless module is a data download from this buffer memory, therefore computing machine need not the directly wireless module in the face of having various port, thereby need not repeatedly to enumerate the port of each wireless module, be simplified so for computing machine, carry out the operating process of data when downloading.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the process flow diagram according to the method for the data download of the embodiment of the invention;
Fig. 2 is the synoptic diagram according to the structure of the terminal device of the embodiment of the invention;
Fig. 3 is the synoptic diagram according to the data downloading system example in the embodiment of the invention;
Fig. 4 is the synoptic diagram according to the AP download agent program function of the embodiment of the invention;
Fig. 5 is the process flow diagram according to the data download method example in the embodiment of the invention.
Embodiment
Hereinafter will describe the present invention with reference to the accompanying drawings and in conjunction with the embodiments in detail.Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
Fig. 1 is the process flow diagram according to the method for the data download of the embodiment of the invention.As shown in Figure 1, the method for the data download of the embodiment of the invention mainly comprises the steps:
Step S12: in the buffer memory of the application processor in the terminal device from the downloaded data to terminal device.Terminal device can be to be connected with computing machine by wired modes such as USB port, serial ports, and this connection also can be adopted bluetooth, wireless mode such as infrared in addition.
Step S14: the data download from buffer memory of the wireless module in the terminal device.The buffer memory here can be a memory element independent in the terminal device, also can be for receiving the region of memory that data are reserved in the application processor.
From above-mentioned steps as can be seen, the data of coming receiving computer to send owing to the employing buffer memory in the present embodiment, and wireless module is a data download from this buffer memory, therefore computing machine need not the directly wireless module in the face of having various port, thereby need not repeatedly to enumerate the port of each wireless module, be simplified so for computing machine, carry out the operating process of data when downloading.
Terminal device in the present embodiment can comprise a plurality of wireless modules, and the wireless module among the step S14 is selected by computing machine, and particularly, step S14 can comprise the steps:
Step S141: computing machine is specified a wireless module in a plurality of wireless modules; Step S142: appointed wireless module data download from buffer memory.This mode is by computing machine specific radio module, can realize that like this carrying out data at wireless module selectively by the user downloads.
Above-mentioned step S142 specifically can be: application processor moves the driver of the FPDP of appointed wireless module; Application processor sends to appointed wireless module with the data in the buffer memory.Adopt this mode, need not the driver of the FPDP of computer run wireless module, thereby simplified the operation of computer-side.
Above-mentioned steps S12 specifically can comprise the steps:
Step S121: computing machine sends data to terminal device; Step S122: application processor is saved in data in the buffer memory by USB port, and this buffer memory is integrated in the application processor module.Because be provided with memory storage in the application processor module usually, thus can adopt a memory headroom of reserving in the application processor module as buffer memory, to simplify circuit structure and to reduce cost.
Can also comprise following operation before above-mentioned step S121: computing machine sends download message to terminal device, this download message comprises following at least a: the erasing mode information of the Flash in the application processor, data volume to be downloaded, wherein, described Flash is as buffer memory.Can select erasing mode and the data volume to be downloaded of Flash like this by the user.
When carrying out above-mentioned steps S14, can also send the speed of data to terminal device according to the capacity adjustment of buffer memory by computing machine.Can avoid like this not causing data in buffer before wireless module is downloaded, to be covered by new data owing to speed matches.
Below again the terminal device in the embodiment of the invention is explained.Fig. 2 is the synoptic diagram according to the structure of the terminal device of the embodiment of the invention.
As shown in Figure 2, the terminal device 20 in the embodiment of the invention comprises one or more wireless modules 21, also comprises coupling arrangement 22, is used to connect computing machine; And buffer memory 23, application processor 24, buffer memory 23 can be integrated in the application processor 24, as shown in Figure 2.Coupling arrangement 22 can be wired or wireless coupling arrangement.Application processor 24 is used for from the downloaded data to buffer memory 23, and the data in the buffer memory 23 are sent to wireless module 21.
Application processor 24 also is used to move the driver of the FPDP between wireless module 21 and the application processor 24.This FPDP can be USB port or serial ports or other FPDP.
Below further specify the present invention by a real example again.In this embodiment, data to be downloaded are the data of the software version of wireless module.As shown in Figure 3, Fig. 3 is the synoptic diagram according to the data downloading system example in the embodiment of the invention.
As shown in Figure 3, AP download agent system downloads port connected mode: the PORT COM of the AP module 122 in computing machine 110 and the terminal device 120 is connected, and the PORT COM of wireless module 121 and wireless module 123 also links to each other with the PORT COM of AP module 122 respectively.
Fig. 4 is the synoptic diagram according to the AP download agent program function of the embodiment of the invention.As shown in Figure 4, the function of AP download agent program comprises hardware initialization and drives load-on module 210, download management module 220, data buffer 230, USB Interrupt Process 240 and Debugging message download progress display module 250.Wherein, download management module comprises PORT COM driver module 221, wireless module download management module 222 and AP download management module 223 again.
Hardware initialization and drive the loading that load-on module 210 is realized device drives such as initialization such as terminal device AP processor cores, program stack, internal memory and USB, LCD LCD, keyboard.Download management module 220 waits for that USB interruption processing module 240 receives download command from computing machine; After receiving download command following two kinds of situations are arranged: when one, receiving the wireless module download command, at first PORT COM driver module 221 is finished the PORT COM initialization, wireless downloading administration module 222 230 obtains the version file data from the data buffer then, writes among the wireless module Flash by PORT COM again.When two, receiving AP module download command, AP download management module 223 is obtained the version file data from data buffer 230 and is write the AP side Flash.The wireless downloading administration module is exported Debugging message and is upgraded download progress by Debugging message download progress display module 250 in downloading process.
Correspondingly, the method for AP download agent as shown in Figure 5, Fig. 5 is the process flow diagram according to the data download method example in the embodiment of the invention.In Fig. 5, the sequence number of each step is marked on the right-hand member of figure, and aligns with the content of this step.The computer-side flow process may further comprise the steps in the downloading process:
Step 101: terminal device is connected on the computing machine USB port, sets up physical connection with computing machine.
Step 102: pin the upgrading key in the start process and make terminal enter the download and upgrade pattern, AP download agent program is loaded among the RAM of AP side and moves.
Step 103: the computer-side downloaded software judges whether the module choose is all downloaded and finishes, and the module that downloaded software can combination in any be chosen is downloaded.
Step 104: all modules are downloaded to finish and are then downloaded the flow process end, otherwise computing machine sends download message to the AP side, the download flow process of a module of beginning.
Step 105: if computing machine has been finished the version file data transmission, execution in step 109 waits for that terminal device sends download and finishes instruction; Otherwise execution in step 106 judges whether to carry out rate controlled.
Step 106: if the data that computing machine has transmitted greater than the size of AP side buffer zone, and were not carried out rate controlled, execution in step 107 is carried out rate controlled; Otherwise execution in step 108 is initiated a data transfer to the AP side.
Step 107: the speed to computing machine transmission data is controlled.
Computing machine carries out the writing synchronously of Flash data of data transmission and AP side and carries out to terminal device, two kinds of unmatched problems of speed can occur, therefore need carry out rate controlled; The size of AP data buffer is generally less than the size of version file, if the computer data transmission speed is too fast, may cause that untreated useful data is capped in the AP buffer zone.
The speed basic fixed that AP side Flash data write is assumed to S1, and the computer data transfer rate is made as S2; S2 compares with S1 with computer data speed, if S2 is greater than S1 then computing machine need increase suitable time-delay when each data transmission.
Step 108: computing machine is initiated a data transfer to terminal device AP side.
Step 109: after computing machine is finished the edition data file transfer, wait for that terminal is returned to download to finish instruction, receive that returning step 103 after the instruction judges whether that all modules have been downloaded and finish.
The end side flow process may further comprise the steps:
Step 105:AP download agent is waited for the USB download command, and the back execution in step 106 that receives orders is obtained download message, otherwise continues to wait for the USB download command.
Step 106: obtain download message, download message comprises information such as download module sign, Flash erasing mode and version file size; After getting access to download message, the beginning download initializes.For the download of AP module, need initialization Flash to drive picture and file system interface; Wireless module is downloaded then needs the initialization PORT COM; When port type was USB, the AP agency will finish USB main equipment (USB HOST) initialization, and the control wireless module re-powers, and finishes enumerating of wireless module USB device, and shaking hands with wireless module then makes wireless module enter upgrade mode.
Step 107: if version file all writes Flash or wireless module, execution in step 109 sends the respective modules download to computing machine and finishes instruction, otherwise in the execution in step 108 pending buffer districts enough data is arranged.
Step 108: execution in step 109 is carried out an edition data and is write if buffer zone has enough data, otherwise continues to wait for.
The size that has received useful data in the AP data buffer is made as M1, is formulated as follows: M1=A * n+B; A represents buffer size, and n represents the number of times that buffer zone repeats, and when buffer size was big or small less than version file, buffer zone needed to reuse; B represents poor between the data of current reception and the buffer zone start address; The size of data of supposing write-once Flash or wireless module is N, and the version file size that has write is M2, and then M1-M2 〉=N represents that buffer zone has enough data.
Step 109: carry out an edition data file and write, execution in step 107 then.
Using the AP agency to download has the following advantages: at first, downloading process is simple, and mobile terminal device enters the edition upgrading that just can once finish all modules after the upgrade mode; Secondly, computing machine only need carry out data communication by USB port and terminal AP side in the downloading process, so communications protocol is simple and computer-side only needs a kind of USB driver.At last, use the AP agency to download, data transmission and Flash write parallel carrying out, and have shortened download time.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, carry out by calculation element thereby they can be stored in the memory storage, and in some cases, can carry out step shown or that describe with the order that is different from herein, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
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 (10)

1. the method for a data download is characterized in that, comprising:
In the buffer memory of application processor in the terminal device from the downloaded data to described terminal device;
Wireless module in the described terminal device is downloaded described data from described buffer memory.
2. method according to claim 1 is characterized in that described terminal device comprises a plurality of wireless modules; Described wireless module is the wireless module that described computing machine is selected from described a plurality of wireless modules.
3. method according to claim 2 is characterized in that, described appointed wireless module is downloaded described data and comprised from described buffer memory:
Described application processor moves the driver of the FPDP of described appointed wireless module;
Described application processor sends to described appointed wireless module with the data in the described buffer memory.
4. method according to claim 1 is characterized in that, comprises in the buffer memory of the application processor in the terminal device from the downloaded data to described terminal device:
Described computing machine sends data to described terminal device;
Described application processor is saved in described data in the described buffer memory, described buffer memory
Be a region of memory of reserving for the reception data in the described application processor module.
5. method according to claim 4, it is characterized in that, described computing machine also comprised before described terminal device sends data: described computing machine sends download message to described terminal device, described download message comprises following at least a: the erasing mode information of the Flash in the described application processor, data volume to be downloaded.
6. according to each described method in the claim 1 to 5, it is characterized in that, when the wireless module in the described terminal device is downloaded described data from described buffer memory, also comprise:
Described computing machine sends the speed of described data to described terminal device according to the capacity adjustment of described buffer memory.
7. a terminal device comprises one or more wireless modules and buffer memory, it is characterized in that also comprising:
Coupling arrangement is used to connect computing machine;
Application processor is used for from described downloaded data to described buffer memory the described data in the described buffer memory being sent to described wireless module.
8. terminal device according to claim 7 is characterized in that, described buffer memory is for receiving the region of memory that data are reserved in the described application processor module.
9. according to claim 7 or 8 described terminal devices, it is characterized in that described application processor also is used to move the driver of the FPDP between described wireless module and the described application processor.
10. terminal device according to claim 9 is characterized in that, described FPDP is USB port or serial ports.
CN2010102199863A 2010-06-30 2010-06-30 Method for downloading data and terminal equipment Pending CN101882110A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2010102199863A CN101882110A (en) 2010-06-30 2010-06-30 Method for downloading data and terminal equipment
PCT/CN2010/077163 WO2012000240A1 (en) 2010-06-30 2010-09-20 Method and terminal device for downloading data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102199863A CN101882110A (en) 2010-06-30 2010-06-30 Method for downloading data and terminal equipment

Publications (1)

Publication Number Publication Date
CN101882110A true CN101882110A (en) 2010-11-10

Family

ID=43054127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102199863A Pending CN101882110A (en) 2010-06-30 2010-06-30 Method for downloading data and terminal equipment

Country Status (2)

Country Link
CN (1) CN101882110A (en)
WO (1) WO2012000240A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049403A (en) * 2013-01-11 2013-04-17 福建鑫诺通讯技术有限公司 Method for communication between embedded terminal device and cell phone
CN103530159A (en) * 2013-10-21 2014-01-22 深圳市中兴物联科技有限公司 Upgrading method and system of wireless communication module
CN105045634A (en) * 2015-08-11 2015-11-11 上海优思通信科技有限公司 Smartphone software download method
CN105808364A (en) * 2016-03-15 2016-07-27 广州视睿电子科技有限公司 Dual-system communication method and system fusing PC system and android system
CN114095954A (en) * 2021-10-09 2022-02-25 福建新大陆通信科技股份有限公司 UART-based wireless communication module upgrading method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247585A (en) * 2007-02-13 2008-08-20 中兴通讯股份有限公司 Program downloading method of intelligent mobile phone wireless communication module based on AP structure
EP1692894B1 (en) * 2003-12-11 2008-10-22 Wavecom Dual-mode terminal access to a first radiocommunications network and to a second local communications network
CN101389092A (en) * 2007-09-12 2009-03-18 中兴通讯股份有限公司 Downloading method using double threads of double mode double standby mobile phone
CN101656949A (en) * 2009-09-21 2010-02-24 中兴通讯股份有限公司 Method and terminals for aerial upgrade of firmware

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2840188Y (en) * 2005-06-08 2006-11-22 北京菁华资源科技有限公司 Mobile telephone external storage module capable of interacting with computer
CN1896982A (en) * 2005-07-15 2007-01-17 北京菁华资源科技有限公司 Cell-phone USB main system
CN200983163Y (en) * 2006-04-13 2007-11-28 徐佳晶 Control system of Bluetooth mobile phone for remote control of computer
CN101533377A (en) * 2008-03-14 2009-09-16 浪潮乐金数字移动通信有限公司 Universal USB peer data transmission line and transmission method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1692894B1 (en) * 2003-12-11 2008-10-22 Wavecom Dual-mode terminal access to a first radiocommunications network and to a second local communications network
CN101247585A (en) * 2007-02-13 2008-08-20 中兴通讯股份有限公司 Program downloading method of intelligent mobile phone wireless communication module based on AP structure
CN101389092A (en) * 2007-09-12 2009-03-18 中兴通讯股份有限公司 Downloading method using double threads of double mode double standby mobile phone
CN101656949A (en) * 2009-09-21 2010-02-24 中兴通讯股份有限公司 Method and terminals for aerial upgrade of firmware

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049403A (en) * 2013-01-11 2013-04-17 福建鑫诺通讯技术有限公司 Method for communication between embedded terminal device and cell phone
CN103049403B (en) * 2013-01-11 2015-06-17 福建鑫诺通讯技术有限公司 Method for communication between embedded terminal device and cell phone
CN103530159A (en) * 2013-10-21 2014-01-22 深圳市中兴物联科技有限公司 Upgrading method and system of wireless communication module
CN105045634A (en) * 2015-08-11 2015-11-11 上海优思通信科技有限公司 Smartphone software download method
CN105808364A (en) * 2016-03-15 2016-07-27 广州视睿电子科技有限公司 Dual-system communication method and system fusing PC system and android system
CN114095954A (en) * 2021-10-09 2022-02-25 福建新大陆通信科技股份有限公司 UART-based wireless communication module upgrading method
CN114095954B (en) * 2021-10-09 2024-02-06 福建新大陆通信科技股份有限公司 UART-based wireless communication module upgrading method

Also Published As

Publication number Publication date
WO2012000240A1 (en) 2012-01-05

Similar Documents

Publication Publication Date Title
CN101110039B (en) Terminal unit self-installing and self-starting system and method thereof
CN101673202B (en) Program writing method and system, pre-writing device and writing device
US9195485B1 (en) Method and apparatus for concurrently maintaining queues for multiple virtual machines
CN103077058B (en) Method and device for installing application program
US10937020B2 (en) Wearable device with near-field communication function and near-field communication control system
EP3258737B1 (en) Mobile terminal, power supply adapter, and upgrading method thereof
CN102880495A (en) Mobile terminal and software upgrading method for same
US20140337829A1 (en) Information processing apparatus, electronic control unit, information processing method, and program
KR20130003863A (en) System for performing remote control using remote device driver and method for performing the same
CN101882110A (en) Method for downloading data and terminal equipment
CN102770850A (en) A token for communicating with a host device, corresponding communication system and method
CN104239097A (en) Method and system for upgrading fitting by virtue of mobile terminal, and mobile terminal
CN104111844A (en) Method and system for installing application programs into mobile terminals
CN103092648A (en) Method and system of mirror image upgrade and user device and personal computer
EP1843556A1 (en) A mobile terminal and boot method thereof
CN116431546B (en) Parameter configuration method, electronic device, storage medium, and program product
KR20040013356A (en) Portable terminal using a mobile phone as a peripheral device
CN115576627A (en) Middleware configuration management method, device, equipment, storage medium and operating machine
WO2022183667A1 (en) Method and apparatus for modifying refurbishment package, and terminal device and storage medium
CN101998691A (en) Method, system and device for data transmission
JP2003316681A (en) On-vehicle communication system
CN106919524B (en) Downloading method and device
CN104123145A (en) Electronic device and control program loading method
KR100630871B1 (en) User terminal, method for upgrading software of user terminal and recording medium
KR100917193B1 (en) Device for sharing input means of mobile phone and computer and thereof method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20101110