WO2013004175A1 - Procédé et appareil de mise à niveau logicielle pour dispositifs électroniques - Google Patents

Procédé et appareil de mise à niveau logicielle pour dispositifs électroniques Download PDF

Info

Publication number
WO2013004175A1
WO2013004175A1 PCT/CN2012/078110 CN2012078110W WO2013004175A1 WO 2013004175 A1 WO2013004175 A1 WO 2013004175A1 CN 2012078110 W CN2012078110 W CN 2012078110W WO 2013004175 A1 WO2013004175 A1 WO 2013004175A1
Authority
WO
WIPO (PCT)
Prior art keywords
program data
electronic device
port
program
data transmission
Prior art date
Application number
PCT/CN2012/078110
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 WO2013004175A1 publication Critical patent/WO2013004175A1/fr

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/50Service provisioning or reconfiguring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality

Definitions

  • the invention relates to a software upgrade method and device for an electronic device.
  • the application is submitted to the Chinese Patent Office on July 5, 2011, and the application number is CN 201110186864. 3.
  • the invention is entitled "A software upgrade method and device for an electronic device". Priority of the patent application, the entire contents of which is incorporated herein by reference.
  • TECHNICAL FIELD The present invention relates to a software upgrade method and apparatus for an electronic device, and belongs to the technical field of data transmission.
  • Embodiments of the present invention provide a software upgrade method and apparatus for an electronic device, which enable a user to complete a software upgrade of an electronic device by only one data transmission line, without having to master the operation knowledge of the upgrade program, and need not It is carried out under the condition of having a network, and has the characteristics of fast upgrade speed and easy operation.
  • An embodiment of the present invention provides a software upgrade method for an electronic device, including:
  • the program data marked in software storage stored in the storage space of the electronic device A connected through the port is transferred to the storage space of the electronic device B according to a predetermined control command and a predetermined communication protocol.
  • An embodiment of the present invention provides a software upgrade apparatus for an electronic device, including:
  • a program data transmission module configured to transmit program data marked in software storage stored in the storage space of the electronic device A connected through the port to the storage space of the electronic device B according to a predetermined control command and a predetermined communication protocol.
  • the electronic devices connected through the ports are The program data stored in the storage space is transmitted, so that the user only needs one data transmission line to complete the software upgrade of the electronic device, without having to master the operation knowledge of the upgrade program, and does not need to be carried out under the condition of having a network, and has an upgrade. Fast, easy to operate features.
  • FIG. 1 is a schematic flowchart of a software upgrade method of an electronic device according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a software upgrade apparatus of an electronic device according to an embodiment of the present invention.
  • Embodiments of the present invention provide a software upgrade method for an electronic device, including transmitting, according to a predetermined control command and a predetermined communication protocol, program data stored in a storage space of an electronic device A connected through a port as a software upgrade. Go to the storage space of the electronic device B.
  • the method can be applied to various types of electronic devices such as existing mobile phones, PDAs, MP3/4, digital cameras, tablets, etc., and the principle is to perform program data stored in a storage space between electronic devices connected by ports. Transmission, so that users can complete software upgrades to electronic devices through a data transmission line.
  • the following is a specific description of the mobile phone upgrade process in conjunction with the drawings of the specification. As shown in FIG. 1, the method includes:
  • Step 11 Connect the ports of mobile phone A and mobile phone B through the data transmission line.
  • the mobile phone B is not required to be powered on normally, or the FLASH is specially segmented. That is to say, this design scheme does not need to upgrade like a normal F0TA, requires the mobile phone to be fully booted, and does not upgrade like a T card.
  • the mobile phone needs a B00TL0ADER on the FLASH to support the mobile phone for code upgrade.
  • the phone B can be a completely empty FLASH.
  • Mobile phone A needs to be a mobile phone that can be turned on normally. In the process of losing, the code segment of the mobile phone A is sent to the mobile phone B, and the mobile phone B is overlaid on the FLASH of the mobile phone B.
  • Program data for other mobile phones to be upgraded is stored in the mobile phone A, and the mobile phone A can be turned on normally, and the upgrade mode is supported.
  • the current mobile phone mode can be selected as a software update mode through a specific menu option, because in this mode, the mobile phone A can not transfer all the content on the FLASH to the mobile phone B, the mobile phone A can no longer Run the application stored on the FLASH on the mobile phone A.
  • the mobile phone A will keep all applications closed (it can tell the network side that the mobile phone A has entered the shutdown state) and no longer input any corresponding buttons. Until the program data transmission is completed or failed, the mobile phone A can re-enter the normal usage mode by restarting or unplugging the battery.
  • the mobile phone B is used as the mobile phone to be upgraded, and may be a mobile phone that has previously upgraded the program data, or a bare metal that has not run any program data before.
  • a specific key operation of the mobile phone B (such as long pressing the power on key) enters the program data transmission process.
  • press the power button on the mobile phone B to trigger the hardware to boot, and the mobile phone B to power on the hardware.
  • the firmware of the mobile phone B is activated in the downloading and upgrading program of the CPU for the first time, when it is detected that the communication protocol is met. After the string is sent, it will enter the program download mode. Otherwise, the phone B will boot normally.
  • Step 12 The program data marked in the software upgrade stored in the storage space of the electronic device A connected through the port is transmitted to the storage space of the electronic device B according to the predetermined control command and the predetermined communication protocol.
  • the mobile phone A and the mobile phone B communicate with each other through a data transmission line and based on a serial communication protocol.
  • the specific upgrade method, through the serial port, or USB depends on the firmware upgrade of the mobile phone B in the CPU download upgrade program, if the download upgrade program, support serial port download, use the serial port to download, if you support USB download, you can use the USB download .
  • phone A stops responding to normal incoming calls, text messages, and other network operations.
  • Phone B stop responding to any buttons, charging, phone, SMS and other peripherals and network operations.
  • the mobile phone B upgrades the mobile phone B by fixing the downloading and upgrading program in the CPU.
  • the transmission process is equivalent to the mobile phone A emulating the storage space into the PC end, and the mobile phone B is equivalent to downloading the corresponding program data from the PC end through the download tool.
  • the storage medium of the storage space of the mobile phone A is divided into two parts: a program section and a user section, and the mobile phone A transfers the program data of the program section of the storage space to the storage space of the mobile phone B.
  • the software upgrade of the mobile phone B is completed, the battery of the mobile phone B is unplugged and then reinserted, and the power button is pressed for a long time.
  • the software of mobile phone B has been upgraded to the same version as mobile phone A.
  • the mobile phone A stops the program data transmission, and at this time, the battery of the mobile phone A can be unplugged and reinserted, and then turned on or eliminated. After that, the program data transmission is again performed on the mobile phone B.
  • the electronic device A and the electronic device B may be the same type of electronic device.
  • the device can recognize each other after connecting through the port, and the electronic device A transmits the upgrade program to the electronic device B.
  • the electronic device B can be installed and upgraded.
  • the predetermined control command is used to enable the electronic device A and the electronic device B to enter the upgrade mode, wherein the entering the upgrade mode may be that the user pops up the predetermined after the electronic device A and the electronic device B establish a connection through the port.
  • the control command enters the upgrade mode after being confirmed by the user, and can also automatically execute the predetermined control command to enter the upgrade mode.
  • the electronic device A sends the electronic device B the program data stored in the storage space and marked as software upgrade.
  • the device is transferred to the storage space of the electronic device B.
  • the electronic device B can directly run the upgrade, and may also prompt the user to perform data backup and complete the upgrade.
  • the existing smart phone program generally has the function of recording user information
  • the user's mobile phone is directly upgraded for other mobile phones, the user's information may also be transmitted to other mobile phones at the same time, resulting in the user.
  • the privacy of the leak. Therefore, the user's authority can be verified by prompting the user to input a password. If the entered password is the same as the pre-saved password, the user is allowed to perform software upgrade for other mobile phones, and triggers the program data transmission operation of the program data transmission module, if input The password is different from the pre-saved password, and the software upgrade request is rejected to ensure that the user's privacy is not obtained by other mobile phones.
  • the program data stored in the storage space between the electronic devices connected by the port is transmitted, so that the user only needs one data transmission line to complete the software upgrade of the electronic device, and no account upgrade is needed.
  • the operation knowledge of the program does not need to be carried out under the condition of having a network, and has the characteristics of fast upgrade speed and easy operation.
  • An embodiment of the present invention further provides a software upgrading apparatus for an electronic device, including a program data transmission module, configured to store in a storage space of the electronic device A connected through the port according to a predetermined control command and a predetermined communication protocol.
  • the program data marked as software upgrade is transferred to the storage space of the electronic device B.
  • the apparatus may further include: an authority determining module 21, configured to prompt the user to input a password, and if the input password is the same as the pre-saved password, determine that the user has the right to use the transmission program data, and The program data transfer operation of the trigger program data transfer module 22.
  • an authority determining module 21 configured to prompt the user to input a password, and if the input password is the same as the pre-saved password, determine that the user has the right to use the transmission program data, and The program data transfer operation of the trigger program data transfer module 22.
  • Both the authority determination module 21 and the program data transmission module 22 can be stored in the storage space of the electronic device as a program running in the electronic device, and can be started according to a specific operation, and the electronic device is turned off or automatically restarted after the execution is completed.
  • the corresponding program includes at least one of a system program or an application, and the corresponding port includes a charging port or a data transmission port.
  • the program data transmission module 22 further includes a program shutdown sub-module for transmitting the program data. Keeps all applications closed and does not respond to the status of any key input operations before or after failure.
  • the program data stored in the storage space between the electronic devices connected by the port is transmitted, so that the user only needs one data transmission line to complete the software upgrade of the electronic device, and no account upgrade is needed.
  • the operation knowledge of the program does not need to be carried out under the condition of having a network, and has the characteristics of fast upgrade speed and easy operation.
  • each module included is only divided according to functional logic, but is not limited to the foregoing division, as long as the corresponding function can be implemented;
  • the specific names are also for convenience of distinguishing from each other and are not intended to limit the scope of the present invention.
  • An embodiment of the present invention further provides an electronic device, where the electronic device may include the software upgrade device, where the software upgrade device may be a program or code stored in a memory of the electronic device, and executed by a processor of the electronic device.
  • the program transmits the program data stored in the electronic device memory and marked as software upgrade to the storage space of the upgraded electronic device, thereby implementing software upgrade of the upgraded electronic device.
  • the electronic device also includes a port, wherein the port can be a charging port and a data transmission port for connecting to the upgraded electronic device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Stored Programmes (AREA)

Abstract

L'invention porte sur un procédé et un appareil de mise à niveau logicielle pour dispositifs électroniques, le procédé consistant à : conformément à une instruction de commande prédéterminée et à un protocole de communication prédéterminé, transmettre les données de programme qui sont marquées comme étant des données de mise à niveau logicielle et sont stockées dans l'espace de stockage d'un dispositif électronique A à l'espace de stockage d'un dispositif électronique B, le dispositif électronique A étant connecté au dispositif électronique B par un port. Par transmission des données de programme stockées dans l'espace de stockage entre les dispositifs électroniques qui sont connectés par le port, la présente invention permet à un utilisateur de mettre en œuvre une mise à niveau logicielle pour des dispositifs électroniques en utilisant une seule ligne de transmission de données, sans connaissance du fonctionnement du programme de mise à niveau ni utilisation d'un réseau, possédant de ce fait les caractéristiques d'une grande vitesse de mise à niveau et d'une utilisation aisée.
PCT/CN2012/078110 2011-07-05 2012-07-03 Procédé et appareil de mise à niveau logicielle pour dispositifs électroniques WO2013004175A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110186864.3 2011-07-05
CN2011101868643A CN102231758A (zh) 2011-07-05 2011-07-05 一种电子设备的软件升级方法及装置

Publications (1)

Publication Number Publication Date
WO2013004175A1 true WO2013004175A1 (fr) 2013-01-10

Family

ID=44844290

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/078110 WO2013004175A1 (fr) 2011-07-05 2012-07-03 Procédé et appareil de mise à niveau logicielle pour dispositifs électroniques

Country Status (2)

Country Link
CN (1) CN102231758A (fr)
WO (1) WO2013004175A1 (fr)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102231758A (zh) * 2011-07-05 2011-11-02 华为终端有限公司 一种电子设备的软件升级方法及装置
CN103517448B (zh) * 2012-07-16 2016-12-21 Tcl集团股份有限公司 一种基于WiFi Direct的软件升级方法及系统
CN104657161A (zh) * 2013-11-21 2015-05-27 中兴通讯股份有限公司 移动终端固件更新方法及装置
CN105208200A (zh) * 2015-08-25 2015-12-30 维沃移动通信有限公司 移动终端的系统升级方法及其移动终端

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101135976A (zh) * 2006-08-30 2008-03-05 扬智科技股份有限公司 软件更新方法及系统
CN101303684A (zh) * 2007-05-08 2008-11-12 中兴通讯股份有限公司 一种供多种移动终端升级软件版本的方法
CN101325513A (zh) * 2007-11-26 2008-12-17 华为技术有限公司 一种软件升级的方法、设备和系统
CN102231758A (zh) * 2011-07-05 2011-11-02 华为终端有限公司 一种电子设备的软件升级方法及装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6401239B1 (en) * 1999-03-22 2002-06-04 B.I.S. Advanced Software Systems Ltd. System and method for quick downloading of electronic files
CN101196822B (zh) * 2007-07-02 2012-01-04 深圳创维-Rgb电子有限公司 一种代码升级装置、代码升级方法及系统
CN101500330A (zh) * 2008-02-02 2009-08-05 德信智能手机技术(北京)有限公司 一种快速安全的更新智能手机操作系统的工具
CN101753787A (zh) * 2008-12-22 2010-06-23 康佳集团股份有限公司 一种机顶盒的对机升级软件的方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101135976A (zh) * 2006-08-30 2008-03-05 扬智科技股份有限公司 软件更新方法及系统
CN101303684A (zh) * 2007-05-08 2008-11-12 中兴通讯股份有限公司 一种供多种移动终端升级软件版本的方法
CN101325513A (zh) * 2007-11-26 2008-12-17 华为技术有限公司 一种软件升级的方法、设备和系统
CN102231758A (zh) * 2011-07-05 2011-11-02 华为终端有限公司 一种电子设备的软件升级方法及装置

Also Published As

Publication number Publication date
CN102231758A (zh) 2011-11-02

Similar Documents

Publication Publication Date Title
CN102232304B (zh) 一种移动通信终端间进行系统升级的方法、系统及终端
CN101578609B (zh) 安全启动计算设备
WO2017071207A1 (fr) Procédé d'installation d'application, appareil correspondant, et système d'installation d'application
CN101452435B (zh) 一种usb端口模式切换方法及终端
CN102830984B (zh) 固件更新的方法、芯片以及通信终端
WO2019037724A1 (fr) Procédé de mise à niveau d'application de terminal mobile, dispositif de stockage et terminal mobile
US20130031631A1 (en) Detection of unauthorized device access or modifications
JP5873571B2 (ja) アプリケーション・データを処理するための方法及び計算ノード
CN106020875B (zh) 嵌入式终端的固件更新管理方法和装置
WO2019062635A1 (fr) Procédé et dispositif de mise à jour
CN110457894B (zh) root权限的分配方法、装置、存储介质及终端设备
EP2825956B1 (fr) Procédé, appareil et système de récupération d'un système d'exploitation sur un dispositif de communication portable
KR20130119377A (ko) 셧다운 후에 무선 디바이스의 위치를 결정하기 위한 장치 및 방법
CN109375937A (zh) 系统升级方法、装置、终端设备及存储介质
KR20200140555A (ko) 전자 장치 및 전자 장치의 듀얼 스탠바이 모드 및 싱글 스탠바이 모드의 전환 방법
CN108090345B (zh) linux系统外部命令执行方法及装置
CN104572564A (zh) 一种实现android移动设备与USB OTG主机通讯的方法
CN103309712A (zh) 一种手机软件升级方法及其系统
WO2024078218A1 (fr) Procédé de démarrage de système et dispositif électronique
WO2013004175A1 (fr) Procédé et appareil de mise à niveau logicielle pour dispositifs électroniques
WO2023124328A1 (fr) Module de communication sans fil et son procédé de récupération de fonction, dispositif électronique et support de stockage
US9734307B2 (en) User terminal interworking with peripheral device and method for preventing leakage of information using the same
CN103577204A (zh) 用于移动设备的软件升级方法及软件升级系统
CN111610995B (zh) 一种设备固件升级方法、装置、电子设备和存储介质
WO2015081678A1 (fr) Procédé et appareil de chargement d'interface utilisateur et terminal mince

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: 12808046

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: 12808046

Country of ref document: EP

Kind code of ref document: A1