WO2012000240A1 - Procédé et dispositif de terminal pour télécharger des données - Google Patents

Procédé et dispositif de terminal pour télécharger des données Download PDF

Info

Publication number
WO2012000240A1
WO2012000240A1 PCT/CN2010/077163 CN2010077163W WO2012000240A1 WO 2012000240 A1 WO2012000240 A1 WO 2012000240A1 CN 2010077163 W CN2010077163 W CN 2010077163W WO 2012000240 A1 WO2012000240 A1 WO 2012000240A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
terminal device
cache
computer
application processor
Prior art date
Application number
PCT/CN2010/077163
Other languages
English (en)
Chinese (zh)
Inventor
曹宗凯
张新文
尹倩
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012000240A1 publication Critical patent/WO2012000240A1/fr

Links

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]

Definitions

  • the present invention relates to communication technologies, and in particular, to a method and a terminal device for downloading data.
  • 3G third generation mobile communication
  • the mobile terminal device usually needs to support two mobile network standards at the same time; driven by this demand, many mobile terminal device manufacturers have introduced mobile terminal devices including two wireless modules. Adding an Application Processor (AP) module to the two wireless modules can handle more complex applications.
  • AP Application Processor
  • USB Universal Serial Bus
  • a terminal device only has one USB port for downloading.
  • an analog switch In order to download multiple modules, an analog switch needs to be set in the terminal to switch the terminal device USB port connection to different wireless modules through program control. According to this method, after a wireless module is downloaded, it is necessary to restart the mobile phone to perform an analog open operation through an analog switch, connect the USB interface to other wireless modules, and then start downloading another wireless module;
  • the communication protocols corresponding to the wireless modules are different, and the USB devices of the different wireless modules correspond to the USB drivers on the computer side, which causes the computer to enumerate the USB devices multiple times.
  • This operation process is complicated. In the process of implementing the present invention, the inventors have found that the operation process when data downloading is performed on a terminal device including a plurality of wireless modules in the related art is complicated.
  • a main object of the present invention is to provide a method for downloading data and a terminal device to solve the problem that the operation process of data downloading for a terminal device including multiple wireless modules is complicated in the related art.
  • a method for downloading data includes: an application processor in a terminal device downloading data from a computer to a cache in the terminal device The wireless module in the terminal device downloads the data from the cache.
  • the terminal device includes a plurality of wireless modules, the computer designating one of the plurality of wireless modules; and the wireless module in the terminal device downloading the data from the cache includes: The designated wireless module downloads the data from the cache.
  • a terminal device includes one or more wireless modules and a cache, and further includes: a connecting device for connecting to a computer; an application processor, And downloading data from the computer to the cache, and transmitting the data in the cache to the wireless module.
  • the cache is a memory area reserved for receiving data in the application processor module.
  • the application processor is further configured to run a driver of a data port between the wireless module and the application processor.
  • the cache is used to receive data sent by the computer, and the wireless module downloads data from the cache, so the computer does not need to directly face the wireless module having various ports, thereby eliminating the need to enumerate each wireless multiple times.
  • the port of the module, so the operation process for data downloading is simplified for the computer.
  • FIG. 1 is a flowchart of a method for downloading data according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram showing a structure of a terminal device according to an embodiment of the present invention
  • FIG. 3 is a data download according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of an AP download agent function according to an embodiment of the present invention
  • FIG. 5 is a flow chart showing an example of a data downloading method in accordance with an embodiment of the present invention.
  • Step S12 The application processor in the terminal device downloads data from the computer to the cache in the terminal device.
  • the terminal device can be connected to the computer through a wired port such as a USB port or a serial port, and the connection can also use a wireless method such as Bluetooth or infrared.
  • Step S14 The wireless module in the terminal device downloads data from the cache.
  • the cache here may be a separate storage element in the terminal device, or may be a memory area i or reserved in the application processor for receiving data.
  • step S 14 may include the following steps: Step S 141: The computer specifies multiple wireless modules. a wireless module; Step S 142: The designated wireless module downloads data from the cache. In this way, the wireless module is specified by the computer, so that the user can selectively download the data for the wireless module.
  • the foregoing step S 142 may specifically be: the application processor runs a driver of the data port of the designated wireless module; the application processor sends the data in the cache to the designated wireless module. In this way, the computer does not need to run the driver of the data port of the wireless module, which simplifies the operation on the computer side.
  • the foregoing step S12 may specifically include the following steps: Step S121: The computer sends data to the terminal device; Step S122: The application processor passes The USB port saves the data to the cache, which is integrated into the application processor module. Since the application processor module is usually provided with a storage device, a memory space reserved in the application processor module can be used as a cache to simplify the circuit structure and reduce the cost.
  • the foregoing may further include the following operations before: the computer sends the download information to the terminal device, where the download information includes at least one of the following: an erase mode information of a flash (flash memory) in the application processor, to be downloaded.
  • the amount of data, wherein the Flash is used as a cache. This allows the user to select the erase mode of the flash and the amount of data to be downloaded.
  • the rate at which the data is transmitted to the terminal device can also be adjusted by the computer according to the buffered capacity. This avoids buffered data being overwritten by new data before the wireless module is downloaded due to rate mismatch.
  • the terminal device in the embodiment of the present invention is further described below.
  • the terminal device 20 in the embodiment of the present invention includes one or more wireless modules 21, and further includes a connection device 22 for connecting to a computer; and a cache 23, an application processor 24, and the cache 23 can be integrated in the application.
  • the connection device 22 can be a wired or wireless connection device.
  • the connection device 22 can be connected to the computer through a wired port such as a USB port or a serial port, and the connection can also be wireless, such as Bluetooth or infrared.
  • the application processor 24 is configured to download data from the computer into the cache 23 and to transmit the data in the cache 23 to the wireless module 21.
  • the cache 23 may be a separate storage element in the terminal device, or may be a memory area reserved by the application processor 24 for receiving data.
  • the application processor 24 is also used to run a driver for the data port between the wireless module 21 and the application processor 24.
  • the data port can be a USB port or a serial port or other data port.
  • the data to be downloaded is the data of the software version of the wireless module.
  • FIG. 3 is a schematic diagram of an example of a data downloading system in accordance with an embodiment of the present invention. As shown in FIG.
  • the AP download agent system download port connection mode the computer 110 is connected to the communication port of the AP module 122 in the terminal device 120, and the communication ports of the wireless module 121 and the wireless module 123 are also respectively communicated with the AP module 122.
  • the ports are connected.
  • 4 is a schematic diagram of an AP download agent function according to an embodiment of the present invention. As shown in Figure 4
  • the functions of the AP download agent include a hardware initialization and driver loading module 210, a download management module 220, a data buffer 230, a USB interrupt processing 240, and a debug information download progress display module 250.
  • the download management module further includes a communication port driver module 221, a wireless module download management module 222, and an AP download management module 223.
  • the hardware initialization and driver loading module 210 implements initialization of the terminal device AP processor core, program stack, memory, and the device driver loading of USB, liquid crystal display (LCD), keyboard, and the like.
  • the download management module 220 waits for the USB interrupt processing module 240 to receive the download command from the computer; after receiving the download command, there are the following two situations: 1. When the wireless module download command is received, the communication port driver module 221 first completes the communication port initialization, and then wirelessly downloads The management module 222 acquires version file data from the data buffer 230 and writes it to the wireless module Flash through the communication port. 2. When the AP module download command is received, the AP download management module 223 obtains the version file data from the data buffer 230 and writes it to the AP side Flash.
  • the wireless download management module outputs debug information and updates the download progress through the debug information download progress display module 250 during the download process.
  • the method for the AP to download the proxy is as shown in FIG. 5.
  • FIG. 5 is a flowchart of an example of a data downloading method according to an embodiment of the present invention.
  • the computer side process during the download process includes the following steps: Step 101: The terminal device is connected to the computer USB port to establish a physical connection with the computer. Step 102: Press and hold the upgrade button during the boot process to cause the terminal to enter the download upgrade mode, and the AP download agent is loaded into the RAM of the AP side to run. Step 103: The computer side downloading software determines whether the selected module is completely downloaded.
  • step 104 If yes, step 104 is performed; otherwise, step 105 is performed.
  • the download software can arbitrarily combine the selected modules for download.
  • the downloading process includes a process on the computer side and a process on the terminal device side.
  • the download process on the computer side includes steps 106 to 110, and the process on the terminal device side includes steps 111 to 4, and the entire download process is performed. Describe.
  • Step 106 If the computer has completed the version file data transmission, go to step 107; otherwise, perform step 4 to gather 108.
  • Step 107 After the computer completes the transmission of the version data file, wait for the terminal to return to the download completion instruction, and if the terminal download completion instruction is received, return to step 103; otherwise, continue to wait for the download completion instruction sent by the receiving terminal device.
  • Step 108 If the data that the computer has transmitted is larger than the size of the AP side buffer, and the rate control is not performed, go to step 109; otherwise, go to step 110.
  • Step 109 Control the speed at which the computer transmits data.
  • the data transmission by the computer to the terminal device and the writing of the Flash data on the AP side are performed synchronously, and there are two speed mismatch problems, so rate control is required; the large data size of the AP data buffer is generally smaller than the version.
  • the size of the file, if the computer data transfer speed is too fast, may cause the unprocessed useful data in the AP buffer to be overwritten.
  • Step 110 The computer initiates a data transmission to the terminal device AP side.
  • the terminal side process includes the following steps: Step 111: The AP download agent waits for the USB download command, and after receiving the command, performs step 112 to obtain the download information, otherwise, it continues to wait for the USB download command.
  • Step 112 Obtain download information, where the download information includes information such as a download module flag, a flash erase mode, and a version file size.
  • the download initialization is started.
  • the Flash driver drawing and file system interface need to be initialized; while the wireless module download needs to initialize the communication port; when the port type is USB, the AP agent needs to complete the USB host device (USB HOST) initialization, and control the wireless module to restart. Power on, complete the enumeration of the wireless module USB device, and then shake hands with the wireless module to enter the upgrade mode.
  • Step 115 Wait for enough data in the buffer.
  • step 116 If there is enough data in the buffer, execute step 116 to perform a version data write, otherwise continue to wait.
  • Step 116 Write a version data file once, and then perform step 113.
  • Downloading with the AP proxy has the following advantages: First, the download process is simple. After the mobile terminal device enters the upgrade mode, the version upgrade of all modules can be completed at one time. Second, during the download process, the computer only needs to communicate data through the USB port and the AP side of the terminal. Therefore, the communication protocol is simple and only one USB driver is required on the computer side. Finally, using the AP proxy for downloading, data transfer and Flash writes are performed in parallel, reducing download time. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices.
  • the computing device may be implemented by program code executable by the computing device so that they may be stored in the storage device by the computing device and, in some cases, may be executed in a different order than here.
  • the steps shown or described are either fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the scope of the present invention are intended to be included within the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

L'invention concerne un procédé et un dispositif de terminal pour télécharger des données permettant de résoudre un problème entraîné par la difficulté de la procédure d'exécution de téléchargement de données pour un dispositif de terminal comprenant de multiples modules sans fil dans une technologie concernée. Le procédé comprend les étapes suivantes : un processeur d'application du dispositif de terminal télécharge des données provenant d'un ordinateur dans un tampon du dispositif de terminal ; et des modules sans fil du dispositif de terminal téléchargent les données provenant du tampon. L'invention permet de simplifier la procédure d'exécution de téléchargement de données.
PCT/CN2010/077163 2010-06-30 2010-09-20 Procédé et dispositif de terminal pour télécharger des données WO2012000240A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010219986.3 2010-06-30
CN2010102199863A CN101882110A (zh) 2010-06-30 2010-06-30 下载数据的方法和终端设备

Publications (1)

Publication Number Publication Date
WO2012000240A1 true WO2012000240A1 (fr) 2012-01-05

Family

ID=43054127

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/077163 WO2012000240A1 (fr) 2010-06-30 2010-09-20 Procédé et dispositif de terminal pour télécharger des données

Country Status (2)

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

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049403B (zh) * 2013-01-11 2015-06-17 福建鑫诺通讯技术有限公司 嵌入式终端设备与手机进行通讯的方法
CN103530159A (zh) * 2013-10-21 2014-01-22 深圳市中兴物联科技有限公司 无线通信模块的升级方法和系统
CN105045634A (zh) * 2015-08-11 2015-11-11 上海优思通信科技有限公司 智能手机软件下载方法
CN105808364B (zh) * 2016-03-15 2019-08-02 广州视睿电子科技有限公司 融合PC系统和android系统的双系统通信方法和系统
CN114095954B (zh) * 2021-10-09 2024-02-06 福建新大陆通信科技股份有限公司 一种基于uart的无线通信模块升级方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2840188Y (zh) * 2005-06-08 2006-11-22 北京菁华资源科技有限公司 可与电脑互动的移动电话外存储模块
CN1896982A (zh) * 2005-07-15 2007-01-17 北京菁华资源科技有限公司 移动电话usb主系统
CN200983163Y (zh) * 2006-04-13 2007-11-28 徐佳晶 蓝牙手机遥控电脑的控制系统
CN101533377A (zh) * 2008-03-14 2009-09-16 浪潮乐金数字移动通信有限公司 一种通用usb对等数据传输线及传输方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2863812B1 (fr) * 2003-12-11 2006-03-31 Wavecom Terminal bi-mode d'acces a un premier reseau de radiocommunication et un deuxieme reseau de communication local
CN101247585B (zh) * 2007-02-13 2011-03-16 中兴通讯股份有限公司 一种基于ap架构的智能手机无线通讯模块的程序下载方法
CN101389092B (zh) * 2007-09-12 2011-09-21 中兴通讯股份有限公司 一种双模双待手机使用双线程下载的方法
CN101656949B (zh) * 2009-09-21 2012-09-05 中兴通讯股份有限公司 一种固件空中升级的方法及终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2840188Y (zh) * 2005-06-08 2006-11-22 北京菁华资源科技有限公司 可与电脑互动的移动电话外存储模块
CN1896982A (zh) * 2005-07-15 2007-01-17 北京菁华资源科技有限公司 移动电话usb主系统
CN200983163Y (zh) * 2006-04-13 2007-11-28 徐佳晶 蓝牙手机遥控电脑的控制系统
CN101533377A (zh) * 2008-03-14 2009-09-16 浪潮乐金数字移动通信有限公司 一种通用usb对等数据传输线及传输方法

Also Published As

Publication number Publication date
CN101882110A (zh) 2010-11-10

Similar Documents

Publication Publication Date Title
JP6266615B2 (ja) データトンネルを用いるインタフェースを介した複数のプロトコルデータ要素の送信
JP2007048262A (ja) マルチメディアプロセッサが備えられた装置のマルチメディアプログラムダウンロード制御システム及び方法
US20160036937A1 (en) Memory system allowing host to easily transmit and receive data
JP4995737B2 (ja) 移動デバイスの起動手順を初期化するための方法及びデバイス
KR102482670B1 (ko) 무선 통신 시스템에서 데이터를 송수신하는 전자 장치 및 이를 위한 방법
JP5836873B2 (ja) メモリデバイス及びその無線通信制御方法
WO2015051647A1 (fr) Procédé et système de mise à niveau de microprogrammes, ordinateur supérieur et module optique
WO2012000240A1 (fr) Procédé et dispositif de terminal pour télécharger des données
WO2011130974A1 (fr) Procédé et système pour le téléchargement de fichiers
US8150459B2 (en) Information apparatus and controlling method thereof
US9086843B2 (en) Audio controller
TW200939025A (en) Providing a high-speed connection between a memory medium of a mobile device and an external device
WO2010130130A1 (fr) Procédé et dispositif terminal de commande de fonction de transmission de données de port de bus série universel
CN109189705B (zh) 一种usb扩展方法、装置、设备、存储介质及系统
US7945919B2 (en) Information processing apparatus and device controller driving/controlling method
US8166225B2 (en) USB interface data transmission device and USB interface data communication system
US8166105B2 (en) Portable terminal, server, and method for realizing function of portable terminal using network
JP2004070910A (ja) 携帯電話を周辺装置として使う携帯型端末機
JP2009099092A (ja) 携帯型情報端末
US20130198548A1 (en) Apparatus and method for saving power of usb device
WO2020122024A1 (fr) Carte d'interface de réseau, ordinateur, procédé de réécriture d'informations de circuit et programme
US10165612B2 (en) Wireless connecting method, computer, and non-transitory computer-readable storage medium
JP5648678B2 (ja) 無線通信装置、および機能切換方法
CN111008029B (zh) 一种Zynq处理器的远程升级系统和方法
WO2012151908A1 (fr) Procédé et appareil de traitement de commande

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10853943

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10853943

Country of ref document: EP

Kind code of ref document: A1