WO2011006378A1 - 无线数据卡的升级方法和系统 - Google Patents

无线数据卡的升级方法和系统 Download PDF

Info

Publication number
WO2011006378A1
WO2011006378A1 PCT/CN2010/071667 CN2010071667W WO2011006378A1 WO 2011006378 A1 WO2011006378 A1 WO 2011006378A1 CN 2010071667 W CN2010071667 W CN 2010071667W WO 2011006378 A1 WO2011006378 A1 WO 2011006378A1
Authority
WO
WIPO (PCT)
Prior art keywords
upgrade
home gateway
wireless data
data card
upgrading
Prior art date
Application number
PCT/CN2010/071667
Other languages
English (en)
French (fr)
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 中兴通讯股份有限公司
Priority to US13/383,538 priority Critical patent/US20120117557A1/en
Priority to EP10799376.8A priority patent/EP2456257B1/en
Priority to ES10799376.8T priority patent/ES2649044T3/es
Publication of WO2011006378A1 publication Critical patent/WO2011006378A1/zh

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
    • H04W8/24Transfer of terminal data
    • H04W8/245Transfer of terminal data from a network towards a terminal

Definitions

  • the present invention relates to the field of communications, and in particular to a method and system for upgrading a wireless data card.
  • BACKGROUND OF THE INVENTION Fireware Over the Air (FOTA) download technology is a technology for remote wireless upgrade of firmware on a wireless terminal. This technology can automatically detect and modify wireless terminal defects and upgrade in a wireless state. firmware.
  • the most common application area of FOTA technology is in the field of wireless communication.
  • the technology that the home gateway uses FOTA technology for firmware upgrade currently only involves the upgrade of the home gateway itself.
  • wireless data is to be used.
  • Wireless communication such as voice access requires a wireless data card.
  • the methods for firmware upgrade in the related technologies include the following: 1.
  • a method for backup protection of new and old firmware in an upgrade the method includes: retaining the downloaded new firmware and the old firmware in the flash memory at the same time; After the firmware is judged correctly by the new firmware validity detection module, the main control program is loaded from the new firmware by the loading processing module. Otherwise, the main control program is loaded from the old firmware to switch between the new and old firmware.
  • a mobile terminal remote firmware upgrade method comprising: the application server prepares to transmit the firmware package to be downloaded to the OMA DM server; the OMA DM server establishes a connection with the mobile terminal, and downloads the firmware package to the mobile terminal. 4.
  • a method for changing logs in the FOTA development environment including generating a cumulative change log for intermediate binaries containing extractable binary images.
  • the log of the cumulative change can be recorded Record the changes between the intermediate binary and the previous iteration of the intermediate binary.
  • the cumulative change log can be stored in the intermediate binary file and can be retrieved later.
  • the cumulative change log can be analyzed to identify the data that has changed between the intermediate binary and the previous iteration of the intermediate binary.
  • the method for upgrading the wireless data card mainly includes: directly writing an upgrade program to the wireless data card; upgrading the wireless data card by downloading the upgrade package through the webpage; and downloading the upgrade package by the wireless data card to upgrade.
  • the present invention has been made in view of the problem that the wireless data card cannot be easily upgraded in the related art. Therefore, it is a primary object of the present invention to provide a method and system for upgrading a wireless data card to solve at least one of the above problems.
  • a method of upgrading a wireless data card includes: the home gateway downloads the upgrade data by using a firmware over-the-air downloading technology, wherein the upgrade data includes first upgrade data for upgrading the wireless data card; and the home gateway uses the first upgrade data.
  • the method further includes: the wireless data card notifying the home gateway of the successful result of the wireless data card upgrade. Further, after downloading the upgrade data, the method further includes: S1, a school-risk upgrade data; S2, if the school-risk is successful, performing an operation of upgrading the wireless data card; S3, if the school-risk fails, Download the upgrade data again and return to S l. Further, the upgrade data further includes second upgrade data for upgrading the home gateway. Further, after the wireless data card is upgraded, the method further includes: the home gateway upgrading itself by using the second upgrade data.
  • the upgrade of the home gateway itself includes: the home gateway restarts; the home gateway uses the second upgrade data to perform the upgrade; the home gateway feeds back the wireless data card and the result of the successful upgrade of the home gateway.
  • an upgrade system for a wireless data card is also provided.
  • the upgrade system of the wireless data card according to the present invention includes: a downloading unit, configured to download upgrade data by using a firmware over-the-air downloading technology, where the upgrade data includes first upgrade data for upgrading the wireless data card; Used to upgrade the wireless data card with the first upgrade data.
  • the above system further includes: a second upgrading unit, configured to upgrade the home gateway by using the second upgrade data in the upgrade data.
  • the above system further includes: a school-risk unit for upgrading data downloaded by the school-risk download unit.
  • the system further includes: a scheduling unit, configured to schedule the first upgrade unit, and schedule the second upgrade unit according to the operation result of the first upgrade unit.
  • FIG. 1 is a schematic structural diagram of a home gateway and a wireless data card according to an embodiment of the present invention
  • FIG. 2 is another schematic structural diagram of a home gateway and a wireless data card according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a method for upgrading a wireless data card according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of another method for upgrading a wireless data card according to an embodiment of the present invention
  • FIG. 5 is a flowchart of a method for upgrading a wireless data card according to a preferred embodiment of the present invention
  • FIG. 6 is another embodiment of the present invention.
  • FIG. 7 is a structural block diagram of a wireless data card upgrading system according to an embodiment of the present invention
  • FIG. 8 is a structural block diagram of a wireless data card upgrading system according to an embodiment of the present invention.
  • FIG. 1 is a schematic structural diagram of a home gateway. As shown in FIG. 1, the home gateway 2 does not have an integrated wireless data card 4, and the home gateway 2 connects to the wireless data card 4 through an interface to implement wireless data or voice communication functions.
  • the interface mode can be, but is not limited to, the USB interface mode.
  • FIG. 2 is a schematic diagram of another structure of the home gateway.
  • the home gateway 2 is integrated with a wireless data card 4, and the wireless data card 4 mainly implements wireless data or voice communication functions.
  • the interface mode can be, but is not limited to, the USB interface mode.
  • the configurations of the home gateway 2 and the wireless data card 4 shown in FIG. 1 are taken as an example. However, the configuration of the home gateway 2 and the wireless data card 4 shown in FIG. 2 may be used.
  • FIG. 3 is a schematic diagram of a method for upgrading a wireless data card according to the present invention. As shown in FIG. 3, the method includes the following steps: step 4: step S302-step 4 gathers S304.
  • step S302 the home gateway 2 downloads the upgrade data by using the FOTA download technology.
  • the upgrade data may be in any form, for example, may be in the form of an upgrade package, where the upgrade data includes wireless data card upgrade data.
  • Step S304 the home gateway 2 uses the wireless device.
  • the data card upgrade data upgrades the wireless data card 4.
  • indirectly upgrading the wireless data card through the home gateway can make the remote wireless upgrade of the wireless data card more convenient.
  • FIG. 4 is a schematic diagram of another method for upgrading a wireless data card according to the present invention. As shown in FIG. 4, the method includes the following steps: step 4: S402-step 4: S406.
  • Step S402 the home gateway 2 downloads the upgrade data by using the firmware over-the-air downloading technology, where the upgrade data includes the wireless data card upgrade data and the home gateway upgrade data.
  • Step S404 the home gateway 2 uses the wireless data card upgrade data to perform the wireless data card 4 Upgrade;
  • Step S406 the home gateway 2 upgrades itself using the home gateway upgrade data.
  • the wireless data card is indirectly upgraded through the home gateway, and the home gateway itself is also upgraded, which makes the remote wireless upgrade of the wireless data card more convenient.
  • the wireless data card upgrade method will be described in further detail. First, the staff is working on the FOTA server to deliver the upgrade package to the local home gateway. Of course, the home gateway can also apply for and download the upgrade package to the FOTA server at predetermined intervals according to its own settings.
  • the upgrade package is set as a whole package. After the home gateway downloads the upgrade package, it needs to be decomposed, and then it is divided into the upgrade package of the home gateway 2 and the upgrade package of the wireless data card 4. . After the upgrade package is downloaded, you can perform the upgrade directly. You can also verify the upgrade package first. After the verification is successful, perform the upgrade. Therefore, the upgrade mentioned in the embodiment of the present invention may be only upgrade, only check, check, and upgrade. In the specific implementation process, preferably, the upgrade is divided into only upgrade, checksum only, and upgrade.
  • the verification process is a general verification process in network transmission. It can use the current common verification method, such as parity check, to verify the downloaded upgrade package, that is, to determine whether the upgrade package meets the requirements, such as whether it is complete. Wait. If the school-risk is successful, restart the home gateway. Otherwise, you can exit the upgrade program, that is, the FOTA upgrade fails. You can also download the upgrade package from the FOTA server at the scheduled time and repeat the above steps. After restarting the home gateway, the operating system of the home gateway is initialized.
  • the wireless data card 4 is upgraded by using the upgrade package of the wireless data card 4, if the initialization is not completed, To exit the upgrade process.
  • the result of the successful upgrade is returned to the home gateway 2.
  • the home gateway 2 restarts the home gateway, and then the home gateway 2 starts to upgrade itself by using the upgrade package of the home gateway 2.
  • the process of upgrading the home gateway 2 by itself is controlled by the Linux operating system. After the home gateway 2 is restarted, the Linux is simultaneously started. When the Uboot phase is performed, the operation of upgrading the home gateway 2 is started. After the upgrade is completed, the upgrade will be completed.
  • the upgrade success or failure flag is written to the specified byte of Flash, that is, the feedback wireless data card 4 and the home gateway 2 are successfully upgraded, and then the home gateway 2 is restarted again.
  • the upgrade of the home gateway 2 enables the entire home gateway 2 to be upgraded.
  • the operating system of the home gateway 2 is entered to determine whether the byte is a success or a failure, and then the message is sent to the upgrade processing module, and the upgrade processing module parses the message to analyze whether the upgrade succeeds or fails.
  • the home gateway 2 then sends a message to the FOTA server in the case of networking.
  • the wireless data card 4 may be upgraded first, and then the home gateway 2 may be upgraded as described above;
  • the home gateway 2 is upgraded first, and then the wireless data card 4 is upgraded.
  • the home gateway 2 reads and writes the value in the corresponding register in the flash memory during the upgrade process, and determines the state change in the upgrade process according to the variables, and correspondingly Status to perform upgrade processing operations.
  • 5 is a flow chart of a method of upgrading a wireless data card in accordance with a preferred embodiment of the present invention. As shown in FIG.
  • the wireless data card upgrading method in the preferred embodiment of the present invention mainly includes the following steps (step M1 S502-step 4: S510):
  • the upgrade package of the wireless data card 4 is included, and after the download is completed, the home gateway 2 is restarted;
  • Step S506 Initializing the operating system of the home gateway 2
  • Step S508 The operating system of the home gateway 2 uses the upgrade package of the wireless data card 4 to start upgrading the wireless data card 4, if the upgrade is successful , proceeding to step S510, otherwise, determining that the upgrade process is lost Lose, exit the upgrade process or re-download the upgrade package
  • Step 4 S510 Home Gateway 2 restarts.
  • the wireless data card is upgraded by using the home gateway, and the wireless data card can be wirelessly upgraded conveniently and quickly.
  • 6 is a flow chart of a method for upgrading a wireless data card according to another preferred embodiment of the present invention. As shown in FIG.
  • the wireless data card upgrading method mainly includes the following steps (step 4: S602-step 4: S612): Step S602: The home gateway 2 downloads the upgrade package from the FOTA server. To the local, the upgrade package includes the upgrade package of the home gateway 2 and the upgrade package of the wireless data card 4. After the download is completed, the home gateway 2 is restarted; step S604: the school-risk upgrade package, if the school-risk is successful, the process proceeds to step S606.
  • Step S606 Initializing the operating system of the home gateway 2
  • Step S608 The operating system of the home gateway 2 uses the upgrade package of the wireless data card 4, Start to upgrade the wireless data card 4, if the upgrade is successful, proceed to step S610, otherwise, determine that the upgrade process fails, exit the upgrade process or re-download the upgrade package
  • step S610 the home gateway 2 is restarted, and the home gateway 2 is initialized
  • step S612 Gateway 2 uses the upgrade package of Home Gateway 2 to perform self-upgrade. If the upgrade is successful, the upgrade is successful and the upgrade is completed.
  • the judge upgrade process fails or re-download the upgrade package.
  • the home gateway 2 can be restarted, and the result of the successful upgrade of the wireless data card 4 and the home gateway 2 is fed back to the FOTA server.
  • the home gateway 2 and the wireless data card 4 have been upgraded to the new version.
  • the home gateway 2 may download the home gateway upgrade package, and only perform the above upgrade process for the home gateway 2 itself, or the home gateway 2 may also connect to other modules connected to the home gateway 2 or integrated into the home gateway 2. Other modules perform the upgrade as described above.
  • FIG. 7 is a structural block diagram of an upgrade system of a wireless data card according to an embodiment of the present invention.
  • the upgrade system of the wireless data card according to the embodiment of the present invention includes: a download unit 10 and a first upgrade unit 20.
  • the download unit 10 is configured to download upgrade data by using a firmware over-the-air downloading technology, where the upgrade data includes wireless data card upgrade data; the download unit preferably has a parsing function, and parsing the wireless data card upgrade data from the downloaded upgrade data;
  • the first upgrading unit 20 is connected to the download unit 10 for upgrading the wireless data card 4 by using the wireless data card upgrade data.
  • the home gateway can be used to upgrade the wireless data card, and the wireless data card can be quickly and wirelessly upgraded conveniently and quickly.
  • FIG. 8 is a structural block diagram of an upgrade system of a wireless data card according to another embodiment of the present invention. As shown in FIG.
  • the upgrade system of the wireless data card includes: a download unit 10, a first upgrade unit 20, and a second upgrade unit 30.
  • the download unit 10 is configured to download upgrade data by using a firmware over-the-air downloading technology, where the upgrade data includes wireless data card upgrade data and home gateway upgrade data.
  • the download unit preferably has a parsing function, and parses the wireless data from the downloaded upgrade data.
  • the gateway upgrades the data to upgrade the home gateway.
  • the wireless data card and the home gateway itself can be upgraded by using the home gateway, and the wireless data can be conveniently and quickly.
  • the above-mentioned embodiments of the present invention provide an upgrade scheme for a wireless data card, which solves the problem of inconvenient upgrade of the wireless data card, and can indirectly upgrade the wireless data card through the home gateway, and can also make the home gateway itself Get upgraded, you can also use other modules such as home gateway Upgrades make wireless data card upgrades more secure.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be integrated on a single computing device or distributed over a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or they may be Multiple modules or steps are made into 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.

Description

无线数据卡的升级方法和系统 技术领域 本发明涉及通信领域, 具体而言, 涉及一种无线数据卡的升级方法和系 统。 背景技术 固件空中 ( Fireware Over the Air, 简称为 FOTA ) 下载技术是对无线终 端上的固件进行远程无线升级的一种技术, 利用这种技术可以自动探测、 修 改无线终端缺陷, 在无线状态下升级固件。
FOTA技术最常见的应用领域是无线通信领域, 具体而言, 家庭网关利 用 FOTA技术进行固件升级的技术目前只涉及到家庭网关本身的升级, 而对 于无线家庭网关来说, 如果要进行无线的数据和语音接入等无线通信, 需要 无线数据卡才能实现。 目前, 相关技术中的固件升级的方法包括以下几种: 一、新旧固件在升级中进行备份保护的方法, 该方法包括: 将下载后的 新固件与旧固件同时保留在闪存 Flash 中; 当新固件经过新固件有效性检测 模块判断正确后, 通过加载处理模块从新固件中加载主控程序, 否则, 从旧 固件中加载主控程序, 实现新旧固件的切换。 二、 在移动通信系统中空中更新移动终端的固件的方法, 该方法包括: 接收更新文件的大小信息; 根据大小信息选择用于存储更新文件的下载存储 器; 将更新文件下载并存储到选择的下载存储器中, 并使用存储的更新文件 来更新固件。 因此, 可使用 FOTA功能根据可用存储容量将更新文件选择性 地存储在内部存储器和外部存储器中。 三、 一种移动终端远程固件升级方法, 包括: 应用月艮务器准备将待下载 的固件包下传到 OMA DM服务器; OMA DM服务器与移动终端建立连接, 将固件包下载到移动终端。 四、 用于更改 FOTA 开发环境中的日志的方法, 包括为包含可提取的 二进制图像的中间二进制文件生成累计变化日志。 该累计变化的日志可以记 录中间二进制文件与中间二进制文件早先的迭代之间的变化。 累计变化日志 可以存储在中间二进制文件中, 后面的过程中可以取回。 同时, 可以分析累 计变化日志, 识别中间二进制文件与中间二进制文件早先的迭代之间发生的 变化的数据。 具体地, 无线数据卡的升级方法主要包括: 向无线数据卡中直接写入升 级程序; 通过网页下载升级包对无线数据卡进行升级; 无线数据卡自身下载 升级包进行升级。 但是, 以上方法的缺点在于, 需要通过各种辅助手段进行 升级, 因此无法便捷、 迅速地升级无线数据卡。 发明内容 针对相关技术中无法便捷地升级无线数据卡的问题而提出本发明, 为 此, 本发明的主要目的在于提供一种无线数据卡的升级方法及系统, 以解决 上述问题至少之一。 才艮据本发明的一个方面, 提供了一种无线数据卡的升级方法。 才艮据本发明的无线数据卡的升级方法包括:家庭网关通过固件空中下载 技术下载升级数据, 其中, 升级数据中包括用于升级无线数据卡的第一升级 数据; 家庭网关使用第一升级数据对无线数据卡进行升级。 进一步地, 对无线数据卡进行升级之后, 上述方法还包括: 无线数据卡 将无线数据卡升级成功的结果通知家庭网关。 进一步地, 下载升级数据之后, 上述方法还包括: S 1 , 校-险升级数据; S2, 如果校-险成功, 则进行对无线数据卡进行升级的操作; S3 , 如果校 -险失 败, 则再次下载升级数据, 并返回到 S l。 进一步地, 升级数据中还包括用于升级家庭网关的第二升级数据。 进一步地, 在对无线数据卡进行升级之后, 上述方法还包括: 家庭网关 使用第二升级数据对自身进行升级。 进一步地, 对家庭网关自身进行升级包括: 家庭网关重新启动; 家庭网 关使用第二升级数据进行升级; 家庭网关反馈无线数据卡以及家庭网关升级 成功的结果。 才艮据本发明的另一个方面, 还提供了一种无线数据卡的升级系统。 根据本发明的无线数据卡的升级系统, 包括: 下载单元, 用于通过固件 空中下载技术下载升级数据, 其中, 升级数据中包括用于升级无线数据卡的 第一升级数据; 第一升级单元, 用于利用第一升级数据对无线数据卡进行升 级。 进一步地, 上述系统还包括: 第二升级单元, 用于利用升级数据中的第 二升级数据升级家庭网关。 进一步地, 上述系统还包括: 校-险单元, 用于校-险下载单元下载的升级 数据。 进一步地, 上述系统还包括: 调度单元, 用于调度第一升级单元, 并才艮 据第一升级单元的操作结果调度第二升级单元。 通过本发明的上述技术方案,可以解决目前无法便捷地升级无线数据卡 的问题, 并且可以实现多模块的升级过程, 通过网络中的家庭网关, 在无线 状态下便捷地升级无线数据卡, 使得无线数据卡不仅可以自身升级, 还可以 利用家庭网关等其它模块升级, 使得无线数据卡的升级具有更高的安全性。 本发明的其它特征和优点将在随后的说明书中阐述, 并且, 部分地从说 明书中变得显而易见, 或者通过实施本发明而了解。 本发明的目的和其他优 点可通过在所写的说明书、 权利要求书、 以及附图中所特别指出的结构来实 现和获得。 附图说明 此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中: 图 1为才艮据本发明实施例的家庭网关与无线数据卡的结构示意图; 图 2 为才艮据本发明实施例的家庭网关与无线数据卡的另一种结构示意 图; 图 3为本发明实施例的无线数据卡的升级方法的示意图; 图 4为本发明实施例的无线数据卡的另一升级方法的示意图; 图 5为才艮据本发明优选实施例的无线数据卡升级方法的流程图; 图 6为才艮据本发明另一优选实施例的无线数据卡升级方法的流程图; 图 7为根据本发明实施例的无线数据卡升级系统的结构框图; 图 8为根据本发明实施例的无线数据卡升级系统的结构框图。 具体实施方式 需要说明的是, 在不冲突的情况下, 本申请中的实施例及实施例中的特 征可以相互组合。 下面将参考附图并结合实施例来详细说明本发明。 方法实施例 才艮据本发明实施例 ,首先提供了一种无线数据卡升级方法。在该方法中 , 涉及到家庭网关和无线数据卡。 图 1是家庭网关的结构示意图, 如图 1所示, 家庭网关 2中没有集成无 线数据卡 4 , 家庭网关 2通过接口连接无线数据卡 4 , 实现无线数据或语音 通信功能。 接口方式可以但不局限于 USB接口方式。 图 2是家庭网关的另一结构示意图, 如图 2所示, 家庭网关 2中集成有 无线数据卡 4 , 无线数据卡 4主要实现无线数据或语音通信功能。 接口方式 可以但不局限于 USB接口方式。 在以下说明中,均以图 1所示的家庭网关 2和无线数据卡 4的结构为例, 但是, 也可以将用于图 2所示的家庭网关 2和无线数据卡 4的结构。 图 3为本发明的无线数据卡升级方法的示意图, 如图 3所示, 该方法包 括以下步 4聚 (步 4聚 S302-步 4聚 S304 )。 步骤 S302, 家庭网关 2通过 FOTA下载技术下载升级数据, 升级数据 可以为任何形式, 例如, 可以是升级包的形式, 其中, 升级数据中包括无线 数据卡升级数据; 步骤 S304, 家庭网关 2使用无线数据卡升级数据对无线数 据卡 4进行升级。 釆用该方法, 通过家庭网关, 间接升级无线数据卡, 可以使无线数据卡 的远程无线升级更加方便。 图 4为本发明的无线数据卡的另一升级方法的示意图, 如图 4所示, 该 方法包括以下步 4聚 (步 4聚 S402-步 4聚 S406 )。 步骤 S402, 家庭网关 2通过固件空中下载技术下载升级数据, 其中, 升级数据中包括无线数据卡升级数据和家庭网关升级数据; 步骤 S404, 家庭 网关 2使用无线数据卡升级数据对无线数据卡 4进行升级; 步骤 S406, 家庭 网关 2使用家庭网关升级数据对自身进行升级。 釆用该方法, 通过家庭网关, 间接升级无线数据卡, 并且对家庭网关自 身也进行升级, 可以使无线数据卡的远程无线升级更加方便。 下面, 进一步详细说明无线数据卡升级方法。 首先, 由工作人员在 FOTA服务器端进行操作, 将升级包下发到本地的 家庭网关, 当然, 也可以由家庭网关根据自身的设置, 以预定时间间隔向 FOTA服务器申请并下载升级包, 升级包包括两部分内容, 一部分是家庭网 关 2升级包, 另一部分是无线数据卡 4的升级包。 而在 艮务器端, 升级包被 设置为一个整体的包, 家庭网关下载到升级包后, 需要对其进行分解, 再将 其分为家庭网关 2的升级包和无线数据卡 4的升级包。 升级包下载完成后, 可以直接进行升级操作, 也可以先对升级包进行校 验, 在校验成功后再进行升级操作。 因此, 在本发明实施例中提到的升级, 可以是仅升级、 仅校验、 校验并升级, 具体实施过程中, 优选地, 由于升级 分为仅升级、 仅校验和校验并升级, 所以可以通过在闪存(Flash ) 中设置相 应字节的操作标志来区分使用什么升级操作。 校验过程为网络传输中通用的校验过程, 可以釆用目前通用的校验方 法, 例如奇偶校验等, 对下载的升级包进行校验, 即, 判断升级包是否符合 要求, 例如是否完整等。 如果校-险成功, 则重新启动家庭网关, 否则, 可以 退出升级程序, 也就是 FOTA升级失败, 也可以在预定时刻从 FOTA服务器 再下载升级包, 重复上面的步骤。 重新启动家庭网关后, 对家庭网关的操作系统进行初始化, 初始化完成 后, 使用无线数据卡 4的升级包升级无线数据卡 4 , 如果初始化未完成, 可 以退出升级的程序。 无线数据卡 4升级成功后, 向家庭网关 2返回升级成功 的结果。 家庭网关 2接收到无线数据卡 4升级成功的结果后, 重启家庭网关, 随后, 家庭网关 2利用家庭网关 2的升级包开始对自身进行升级。 优选地, 家庭网关 2对自身进行升级的过程可以由 Linux操作系统进行 控制, 家庭网关 2重启后 Linux同时启动, 在进行到 Uboot阶段时, 开始进 行升级家庭网关 2的操作, 升级完成后, 将升级成功或失败的标志写到 Flash 的指定字节, 即, 反馈无线数据卡 4以及家庭网关 2升级成功的结果, 之后, 再次重启家庭网关 2。 家庭网关 2的升级可以使整个家庭网关 2都实现升级。 优选地, 再次重启家庭网关 2后, 进入家庭网关 2的操作系统, 判断该 字节是成功还是失败, 继而向升级处理模块发消息, 升级处理模块收到该消 息后解析出升级成功还是失败, 之后家庭网关 2在联网的情况下将消息发到 FOTA月艮务器。 实施过程中,家庭网关 2的升级过程与无线数据卡 4的升级过程的次序 并没有预定的要求, 可以如上所述, 先对无线数据卡 4进行升级, 再对家庭 网关 2进行升级; 也可以先对家庭网关 2进行升级, 再对无线数据卡 4进行 升级。 具体实施过程中 ,优选地 ,家庭网关 2在升级的过程中会对闪存( Flash ) 中相应的寄存器中的值进行读写操作, 根据这些变量来判断升级过程中的状 态变化, 并 居相应的状态来进行升级处理操作。 图 5为根据本发明优选实施例的无线数据卡升级方法的流程图。 如图 5 所示, 居本发明优选实施例的无线数据卡升级方法主要包括以下步骤 (步 Ml S502-步 4聚 S510 ): 步骤 S502: 家庭网关 2从 FOTA服务器下载升级包到本地, 升级包中 包括无线数据卡 4的升级包, 下载完毕后, 家庭网关 2重新启动; 步骤 S 504: 校 -险升级包, 如果校-险成功, 进入步骤 S 506, 如果校 -险失 败, 判断升级过程失败, 退出升级过程或重新下载升级包; 步骤 S506: 初始化家庭网关 2的操作系统; 步骤 S508: 家庭网关 2的操作系统使用无线数据卡 4的升级包, 开始 升级无线数据卡 4 , 如果升级成功, 进入步骤 S510, 否则, 判断升级过程失 败, 退出升级过程或重新下载升级包; 步 4聚 S510: 家庭网关 2重新启动。 通过上述实施例提供的无线数据卡的升级方法, 利用家庭网关, 对无线 数据卡进行升级, 可以方便快捷地对无线数据卡进行远程无线升级。 图 6为才艮据本发明另一优选实施例的无线数据卡升级方法的流程图。如 图 6所示, 才艮据本发明另一优选实施例的无线数据卡升级方法主要包括以下 步骤 (步 4聚 S602-步 4聚 S612 ): 步骤 S602: 家庭网关 2从 FOTA服务器下载升级包到本地, 升级包中 包括家庭网关 2的升级包和无线数据卡 4的升级包, 下载完毕后, 家庭网关 2重新启动; 步骤 S604: 校 -险升级包, 如果校-险成功, 进入步骤 S606, 如果校 -险失 败, 判断升级过程失败, 退出升级过程或重新下载升级包; 步骤 S606: 初始化家庭网关 2的操作系统; 步骤 S608: 家庭网关 2的操作系统使用无线数据卡 4的升级包, 开始 升级无线数据卡 4 , 如果升级成功, 进入步骤 S610, 否则, 判断升级过程失 败, 退出升级过程或重新下载升级包; 步骤 S610: 家庭网关 2重新启动, 并且家庭网关 2初始化; 步骤 S612: 家庭网关 2使用家庭网关 2的升级包, 进行自升级, 如果 自升级成功, 则升级成功, 结束升级, 退出升级过程; 否则, 判断升级过程 失败或重新下载升级包。 优选地, 结束升级之后, 可以再重启家庭网关 2 , 并将无线数据卡 4以 及家庭网关 2升级成功的结果反馈 FOTA服务器。 此时, 家庭网关 2和无线 数据卡 4已升级为新版本。 在具体实施过程中, 家庭网关 2可以下载家庭网关升级包, 只对家庭网 关 2 自身进行如上升级过程, 或者家庭网关 2也可以对连接到家庭网关 2的 其它模块或集成到家庭网关 2中的其它模块进行如上所述的升级。 通过上述实施例提供的无线数据卡的升级方法, 利用家庭网关, 对无线 数据卡和家庭网关自身进行升级, 可以方便快捷地对无线数据卡进行远程无 线升级, 并且可以对家庭网关自身升级, 还可以利用家庭网关等其它模块升 级, 使得无线数据卡的升级具有更高的安全性。 系统实施例 根据本发明实施例, 还提供了一种无线数据卡的升级系统。 图 7为根据本发明实施例的无线数据卡的升级系统的结构框图。 如图 7 所示, 才艮据本发明实施例的无线数据卡的升级系统, 包括: 下载单元 10 和 第一升级单元 20。 其中, 下载单元 10, 用于通过固件空中下载技术下载升 级数据, 升级数据中包括无线数据卡升级数据; 该下载单元优选地具有解析 功能, 从下载的升级数据中解析出无线数据卡升级数据; 第一升级单元 20 , 连接下载单元 10, 用于利用无线数据卡升级数据升级无线数据卡 4。 通过上述实施例提供的无线数据卡的升级系统,利用下载单元和第一升 级单元, 可以达到利用家庭网关, 进而对无线数据卡进行升级, 可以方便快 捷地对无线数据卡进行远程无线升级的效果。 图 8为才艮据本发明另一实施例的无线数据卡的升级系统的结构框图。如 图 8所示, 才艮据本发明实施例的无线数据卡的升级系统包括: 下载单元 10、 第一升级单元 20和第二升级单元 30。 其中, 下载单元 10 , 用于通过固件空中下载技术下载升级数据, 升级数据中 包括无线数据卡升级数据和家庭网关升级数据; 该下载单元优选地具有解析 功能,从下载的升级数据中解析出无线数据卡升级数据和家庭网关升级数据; 第一升级单元 20 , 连接下载单元 10 , 用于利用无线数据卡升级数据升级无 线数据卡 4; 第二升级单元 30 , 连接下载单元 10 , 用于利用家庭网关升级数 据升级家庭网关。 通过上述实施例提供的无线数据卡的升级系统, 使用下载单元、 第一升 级单元和第二升级单元, 可以达到利用家庭网关对无线数据卡和家庭网关自 身进行升级, 可以方便快捷地对无线数据卡进行远程无线升级的效果。 综上所述, 通过本发明的上述实施例, 提供的无线数据卡的升级方案, 解决了无线数据卡升级不便的问题, 可以通过家庭网关对无线数据卡进行间 接升级, 也可以使家庭网关自身得到升级, 还可以利用家庭网关等其它模块 升级, 使得无线数据卡的升级具有更高的安全性。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可 以用通用的计算装置来实现, 它们可以集成在单个的计算装置上, 或者分布 在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程 序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 或 者将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制 作成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软 件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的 ^"神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。

Claims

权 利 要 求 书 一种无线数据卡的升级方法, 其特征在于, 包括:
家庭网关通过固件空中下载技术下载升级数据, 其中, 所述升级数 据中包括用于升级无线数据卡的第一升级数据;
所述家庭网关使用所述第一升级数据对所述无线数据卡进行升级。 才艮据权利要求 1所述的方法, 其特征在于, 对所述无线数据卡进行升级 之后, 所述方法还包括:
所述无线数据卡将所述无线数据卡升级成功的结果通知所述家庭 网关。 才艮据权利要求 2所述的方法, 其特征在于, 下载所述升级数据之后, 所 述方法还包括:
51 , 校 -险所述升级数据;
52, 如果校-险成功, 则进行对所述无线数据卡进行升级的操作;
53 , 如果校-险失败, 则再次下载所述升级数据, 并返回到 S l。 根据权利要求 1所述的方法, 其特征在于, 所述升级数据中还包括用于 升级所述家庭网关的第二升级数据。 才艮据权利要求 4所述的方法, 其特征在于, 在对所述无线数据卡进行升 级之后, 所述方法还包括:
所述家庭网关使用所述第二升级数据对自身进行升级。 根据权利要求 5所述的方法, 其特征在于, 对所述家庭网关自身进行升 级包括:
所述家庭网关重新启动;
所述家庭网关使用所述第二升级数据进行升级;
所述家庭网关反馈所述无线数据卡以及所述家庭网关升级成功的 结果。
7. —种无线数据卡的升级系统, 其特征在于, 包括:
下载单元, 用于通过固件空中下载技术下载升级数据, 其中, 所述 升级数据中包括用于升级无线数据卡的第一升级数据;
第一升级单元,用于利用所述第一升级数据对所述无线数据卡进行 升级。
8. 根据权利要求 7所述的系统, 其特征在于, 所述系统还包括:
第二升级单元,用于利用所述升级数据中的第二升级数据升级家庭 网关。
9. 根据权利要求 8所述的系统, 其特征在于, 所述系统还包括:
校-险单元, 用于校 -险所述下载单元下载的所述升级数据。
10. 根据权利要求 8或 9所述的系统, 其特征在于, 还包括:
调度单元, 用于调度所述第一升级单元, 并根据所述第一升级单元 的操作结果调度所述第二升级单元。
PCT/CN2010/071667 2009-07-13 2010-04-09 无线数据卡的升级方法和系统 WO2011006378A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US13/383,538 US20120117557A1 (en) 2009-07-13 2010-04-09 Method and system for upgrading wireless data card
EP10799376.8A EP2456257B1 (en) 2009-07-13 2010-04-09 Method and system for upgrading wireless data card
ES10799376.8T ES2649044T3 (es) 2009-07-13 2010-04-09 Método y sistema para mejorar tarjeta de datos inalámbrica

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNA2009101589703A CN101610499A (zh) 2009-07-13 2009-07-13 无线数据卡的升级方法和系统
CN200910158970.3 2009-07-13

Publications (1)

Publication Number Publication Date
WO2011006378A1 true WO2011006378A1 (zh) 2011-01-20

Family

ID=41484032

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/071667 WO2011006378A1 (zh) 2009-07-13 2010-04-09 无线数据卡的升级方法和系统

Country Status (5)

Country Link
US (1) US20120117557A1 (zh)
EP (1) EP2456257B1 (zh)
CN (1) CN101610499A (zh)
ES (1) ES2649044T3 (zh)
WO (1) WO2011006378A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8856536B2 (en) 2011-12-15 2014-10-07 GM Global Technology Operations LLC Method and apparatus for secure firmware download using diagnostic link connector (DLC) and OnStar system
US8966248B2 (en) 2012-04-06 2015-02-24 GM Global Technology Operations LLC Secure software file transfer systems and methods for vehicle control modules

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751353A (zh) * 2009-12-24 2010-06-23 深圳华为通信技术有限公司 数据卡升级方法及装置
CN102143614B (zh) * 2010-07-01 2014-02-26 华为终端有限公司 升级方法和家庭网关设备
US9128796B2 (en) * 2012-08-31 2015-09-08 Cellco Partnership Enabling a wireless device to act as a relay for upgrading an accessory coupled to the wireless device
CN103095497A (zh) * 2013-01-11 2013-05-08 厦门亿联网络技术股份有限公司 一种voip话机的恢复模式升级方法
US9400642B2 (en) * 2013-08-29 2016-07-26 Mckesson Financial Holdings Self-updating application agent
US9412207B2 (en) * 2013-09-17 2016-08-09 Sony Corporation Electronic device, time setting method, time setting system and program
KR20170033336A (ko) 2014-07-10 2017-03-24 삼성전자주식회사 전자 장치의 데이터 기록 방법 및 그 전자 장치
CN105072044B (zh) * 2015-07-28 2018-01-16 上海斐讯数据通信技术有限公司 利用路由器引导系统远程恢复路由器的系统及方法
CN105094911B (zh) * 2015-08-03 2018-12-07 深圳市广和通无线通信软件有限公司 无线通信模块的一键升级方法及一键升级工具
CN105743714A (zh) * 2016-04-18 2016-07-06 上海斐讯数据通信技术有限公司 一种无线配置系统及方法
CN109840106A (zh) * 2017-11-28 2019-06-04 深圳市优必选科技有限公司 一种嵌入式系统中固件的升级方法、系统及终端设备
KR102374828B1 (ko) 2017-12-06 2022-03-17 삼성전자주식회사 커버 장치의 식별 정보에 기반하여 외부 전자 장치로부터 획득된 데이터를 커버 장치로 전송하는 전자 장치 및 제어 방법
CN109901866A (zh) * 2017-12-07 2019-06-18 航天科工惯性技术有限公司 用于多模块系统的在线升级方法及旋转导向系统
CN108337121A (zh) * 2018-02-05 2018-07-27 深圳市中兴物联科技有限公司 车载诊断系统和用于车载诊断系统的升级方法
CN111083001B (zh) * 2018-10-18 2021-09-21 杭州海康威视数字技术股份有限公司 一种固件异常检测方法及装置
US20220308855A1 (en) * 2020-09-18 2022-09-29 Arris Enterprises Llc Enhancing firmware upgrades in electronic devices included in a network

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1949718A (zh) * 2005-10-14 2007-04-18 摩托罗拉公司 固件空中传输供应方法
CN101141729A (zh) * 2006-09-07 2008-03-12 三星电子株式会社 移动终端的固件更新方法及使用该方法的移动终端
CN101478424A (zh) * 2008-12-18 2009-07-08 深圳华为通信技术有限公司 局域网侧设备软件升级数据的分发方法、设备和系统

Family Cites Families (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6587684B1 (en) * 1998-07-28 2003-07-01 Bell Atlantic Nynex Mobile Digital wireless telephone system for downloading software to a digital telephone using wireless data link protocol
US6708045B1 (en) * 2000-04-07 2004-03-16 Mobicom, Inc. Easily reconfigured and upgraded radio card and wireless terminal
US20030182414A1 (en) * 2003-05-13 2003-09-25 O'neill Patrick J. System and method for updating and distributing information
US6920615B1 (en) * 2000-11-29 2005-07-19 Verizon Corporate Services Group Inc. Method and system for service-enablement gateway and its service portal
US8200988B2 (en) * 2001-08-03 2012-06-12 Intel Corporation Firmware security key upgrade algorithm
KR100482004B1 (ko) * 2002-07-27 2005-04-13 삼성전자주식회사 냉장고시스템 및 그 업그레이드방법
US6836657B2 (en) * 2002-11-12 2004-12-28 Innopath Software, Inc. Upgrading of electronic files including automatic recovery from failures and errors occurring during the upgrade
US20040117785A1 (en) * 2002-12-13 2004-06-17 Samsung Electronics Co., Ltd. Component download manager for a wireless mobile station and method of operation
US7480907B1 (en) * 2003-01-09 2009-01-20 Hewlett-Packard Development Company, L.P. Mobile services network for update of firmware/software in mobile handsets
US6941453B2 (en) * 2003-02-11 2005-09-06 Bitfone Corporation System and method for determining if a device needs to be updated and locating and invoking an update agent to update the firmware or software in the device
TWI256587B (en) * 2003-10-31 2006-06-11 Asustek Comp Inc Firmware upgrading method and system executing same
US8171468B2 (en) * 2003-12-22 2012-05-01 Telefonaktiebolaget Lm Ericsson (Publ) Downloading and upgrading terminal software over the air of a wireless device
DE602004013120T2 (de) * 2004-03-10 2009-05-14 Sony Ericsson Mobile Communications Ab Automatisierter Datensicherungsspeicher in Firmware-Aufwertungen
ATE427015T1 (de) * 2004-08-05 2009-04-15 Sony Ericsson Mobile Comm Ab Softwareaktualisierung in einem tragbaren funkkommunikationsgerat
US20060136710A1 (en) * 2004-12-22 2006-06-22 Kenji Oka Allowing or disallowing firmware upgrade based on comparison of firmware-related bits
US20060209857A1 (en) * 2005-03-15 2006-09-21 Bellsouth Intellectual Property Corporation Broadband home applications gateway/residential gateway systems, methods and computer program products
AU2006325783B2 (en) * 2005-12-14 2011-09-08 Welch Allyn, Inc. Medical device wireless adapter
US7823020B2 (en) * 2006-08-30 2010-10-26 International Business Machines Corporation System and method for applying a destructive firmware update in a non-destructive manner
US20080244558A1 (en) * 2007-03-28 2008-10-02 Motorola, Inc. Content downloading in a radio communication network
US8474050B2 (en) * 2007-04-13 2013-06-25 At&T Intellectual Property I, L.P. System and apparatus for transferring data between communication elements
JP2009053730A (ja) * 2007-08-23 2009-03-12 Seiko Epson Corp ソフトウェアアップデート用プログラム
TWI363298B (en) * 2008-02-29 2012-05-01 Hon Hai Prec Ind Co Ltd Communication device and firmware update method thereof
CA2719794C (en) * 2008-03-28 2020-10-27 Celltrust Corporation Systems and methods for secure short messaging service and multimedia messaging service
WO2009156302A1 (en) * 2008-06-23 2009-12-30 Nxp B.V. Electronic device and method of software or firmware updating of an electronic device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1949718A (zh) * 2005-10-14 2007-04-18 摩托罗拉公司 固件空中传输供应方法
CN101141729A (zh) * 2006-09-07 2008-03-12 三星电子株式会社 移动终端的固件更新方法及使用该方法的移动终端
CN101478424A (zh) * 2008-12-18 2009-07-08 深圳华为通信技术有限公司 局域网侧设备软件升级数据的分发方法、设备和系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8856536B2 (en) 2011-12-15 2014-10-07 GM Global Technology Operations LLC Method and apparatus for secure firmware download using diagnostic link connector (DLC) and OnStar system
US8966248B2 (en) 2012-04-06 2015-02-24 GM Global Technology Operations LLC Secure software file transfer systems and methods for vehicle control modules

Also Published As

Publication number Publication date
ES2649044T3 (es) 2018-01-09
CN101610499A (zh) 2009-12-23
EP2456257A4 (en) 2015-06-03
US20120117557A1 (en) 2012-05-10
EP2456257B1 (en) 2017-10-11
EP2456257A1 (en) 2012-05-23

Similar Documents

Publication Publication Date Title
WO2011006378A1 (zh) 无线数据卡的升级方法和系统
US8539471B2 (en) Updating firmware of an electronic device
WO2017067448A1 (zh) 一种无线固件升级方法、系统及计算机存储介质
CN100416500C (zh) 用于根据初始软件和软件升级包来生成升级软件的方法和设备
CN101778376A (zh) 一种实现固件无线更新的方法及装置
CN107179909A (zh) 软件升级方法、装置及计算机可读存储介质
CN102667716A (zh) 使用固件更新应用程序更新部件的固件的方法及装置
CN104199706A (zh) 一种eMMC的固件升级方法及其设备
CN106612192A (zh) 设备的升级方法、装置和系统
CN101904105A (zh) 在更新期间使用高效的块备份和块恢复的移动手持送受话器
CN101695162A (zh) 一种移动终端空中固件升级方法及装置
CN102004657B (zh) 一种电子设备及其升级方法
CN111813428A (zh) 终端固件的升级方法、装置、电子设备及存储介质
WO2011088701A1 (zh) 一种跨平台版本在线升级的方法及装置
WO2010135897A1 (zh) 一种独占闪存组合设备空中固件升级方法及装置
WO2010081323A1 (zh) 一种单板应用版本的实现方法及系统
CN111309354A (zh) 联网设备的ota升级方法及装置
WO2011153771A1 (zh) 一种m2m终端远程升级的系统和方法
CN110569053A (zh) 电子设备中应用芯片的升级方法及电子设备
CN112416411B (zh) 升级方法及装置、设备端、服务器、计算机可读介质
CN112433739B (zh) 一种固件升级方法
WO2015154578A1 (zh) 单板的boot程序远程升级方法、装置及系统
WO2012097570A1 (zh) 实现软件版本同步的方法及装置
CN112433769A (zh) 一种bmc启动方法、装置、计算机设备及存储介质
CN102169445A (zh) 一种BootRom的安全升级方法

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

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 13383538

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2010799376

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2010799376

Country of ref document: EP