WO2010135897A1 - 一种独占闪存组合设备空中固件升级方法及装置 - Google Patents

一种独占闪存组合设备空中固件升级方法及装置 Download PDF

Info

Publication number
WO2010135897A1
WO2010135897A1 PCT/CN2009/075868 CN2009075868W WO2010135897A1 WO 2010135897 A1 WO2010135897 A1 WO 2010135897A1 CN 2009075868 W CN2009075868 W CN 2009075868W WO 2010135897 A1 WO2010135897 A1 WO 2010135897A1
Authority
WO
WIPO (PCT)
Prior art keywords
upgrade
sub
controlled
module
controlled sub
Prior art date
Application number
PCT/CN2009/075868
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 中兴通讯股份有限公司
Publication of WO2010135897A1 publication Critical patent/WO2010135897A1/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Definitions

  • the present invention relates to a firmware over the air (FOTA) technology, and more particularly to a FOTA method and apparatus for a terminal exclusive flash (Flash) combination device.
  • FOTA firmware over the air
  • Flash terminal exclusive flash
  • the terminal With the development of mobile communication, especially the time division synchronous code division multiple access (TD-SCDMA) network, the terminal is no longer a communication tool for the single unit, and the existing terminal integrates multimedia, personal information management and entertainment functions, and has changed. It's as complicated as a personal computer. Moreover, as the cycle of terminal manufacturers launching new product functions is becoming shorter and shorter, the cycle for operators to launch new services will be shorter and shorter. Therefore, terminal manufacturers are required to provide users with convenient and efficient upgrade services.
  • TD-SCDMA time division synchronous code division multiple access
  • FOTA has received more and more attention as a method for remotely managing and updating firmware in terminal devices through the air interface, and with the continuous improvement of terminal functions, FOTA has become a key technology in device management (DM). And has been highly valued by the communications industry, and will therefore be increasingly used in mobile communications services.
  • DM device management
  • FOTA technology you can not only download the upgrade package, but also update the operating system of the terminal. In this way, the terminal manufacturer can send the upgrade package to the target user's terminal device through the mobile network, thereby upgrading the related firmware or system, which is convenient. Users also save money for terminal manufacturers.
  • Now mainstream FOTA technology solutions generally include three processes: terminal discovery, upgrade package download, and upgrade package installation.
  • the FOTA is only used for the upgrade operation of a single device that exclusively uses Flash in the terminal, and has not been applied to a more complicated combined device, such as the upgrade process of the wireless access device iHOME.
  • the iHOME is a combination device launched by China Mobile to meet the increasing demand of end-user network users.
  • the iHOME is mainly composed of two parts: a built-in TD module for wireless network access and a household device. Access to the wireless routing device. and also That is, existing FOTA technology cannot perform upgrade operations on complex combined devices. Summary of the invention
  • the main object of the present invention is to provide an exclusive flash combination device FOTA.
  • the technical solution of the present invention is implemented as follows:
  • the present invention provides an exclusive Flash combination device FOTA method, the method comprising: downloading and parsing an upgrade package of a combined device from a server, and determining a structure of the currently downloaded upgrade package;
  • the combined device includes: a primary control sub-device and a controlled sub-device;
  • the server downloads and parses the following: From the server downloading the upgrade package of the combined device to the master sub-device, the master sub-device parses the currently downloaded upgrade package.
  • the upgrade package includes a primary control sub-device upgrade differential packet and a controlled sub-device upgrade differential packet.
  • the operation procedure of the parallel upgrade mode with verification is specifically:
  • the master sub-device and the controlled sub-device After the master sub-device and the controlled sub-device receive the upgrade package and verify the success, the master sub-device and the controlled sub-device restart at the same time, enter the upgrade mode, and the master sub-device and the controlled sub-device are upgraded. If the upgrade of the device is successful, the upgrade process is complete. If the upgrade of the control device fails, the upgrade status of the device fails to be upgraded. The upgrade process ends.
  • the upgrade package only includes a primary control sub-device upgrade differential packet or a controlled sub-device upgrade differential packet;
  • the serial upgrade mode performs an upgrade operation on the combined device.
  • the operation procedure of the serial upgrade mode with verification is specifically:
  • the master sub-device or the controlled sub-device stores its own upgraded differential packet and then restarts into the upgrade mode.
  • the master sub-device upgrades the differential packet or the controlled sub-device upgrades the differential packet to check. If the verification succeeds, the subsequent upgrade is performed. Operate and report the upgrade result to the server, and then select an upgrade from the server to download the upgrade package of another sub-device that has not been upgraded.
  • the upgrade package includes a master sub-device upgrade differential packet, a controlled sub-device upgrade differential packet, and a controlled sub-device back-off differential packet; and the upgraded distribution with a rollback upgrade mode performs an upgrade on the combined device. operating.
  • the operation mode of the upgrade mode of the distribution band with the checkback is specifically as follows:
  • the controlled sub-device detects that the upgrade package includes the controlled sub-device back-off differential packet, and then upgrades the differential packet to the controlled sub-device.
  • the controlled sub-device rolls back the differential packet for verification. After the verification succeeds, the controlled sub-device performs the upgrade operation. If the upgrade of the controlled sub-device fails, the upgrade of the combined device fails and the upgrade process ends.
  • the master device is in the upgrade mode. If the master device is upgraded successfully, the device upgrade is successful. If the master device fails to be upgraded, the controlled device restarts into the rollback mode to perform the rollback operation. Failed, the upgrade process is over.
  • the upgrade package includes a master sub-device upgrade differential packet, a main control sub-device back-off differential packet, a controlled sub-device upgrade differential packet, and a controlled sub-device back-off differential packet;
  • the combined device performs an upgrade operation.
  • the operation mode of the upgrade mode of the distribution band with no checkback is specifically as follows:
  • the controlled sub-device detects whether the received upgrade package includes a controlled sub-device back-off differential packet, if there is no controlled sub-device back If the differential packet is returned, the upgrade of the combined device fails and the upgrade process ends. If the controlled sub-device falls back the differential packet, the master sub-device and the controlled sub-device restart at the same time, and enter the upgrade mode upgrade. After the upgrade is complete, the main control sub-device and the controlled sub-device are respectively restarted, and the main control sub-device is based on two The upgrade result of the sub-devices performs the corresponding operation.
  • the present invention also provides an exclusive Flash combination device FOTA device, the device comprising: a downloading and parsing module, configured to download and parse an upgrade package of the combined device from the server, determine a structure of the currently downloaded upgrade package, and perform an upgrade operation.
  • a downloading and parsing module configured to download and parse an upgrade package of the combined device from the server, determine a structure of the currently downloaded upgrade package, and perform an upgrade operation.
  • the combined device includes: a primary control sub-device and a controlled sub-device;
  • the downloading and parsing module is a DM Client module in the master sub-device;
  • the upgrade module is: a first Update Agent module in the main control sub-device and a second Update Agent module in the controlled sub-device;
  • the DM Client module is configured to download and parse the upgrade package of the combined device; verify the upgrade package of the control sub-device; receive the upgrade status of the combined device reported by the first Update Agent module, and report the upgrade status to the server;
  • the first Update Agent module is configured to select an upgrade mode corresponding to the combination device according to the analysis result of the upgrade package of the combination device, and perform an upgrade operation of the control sub-device; and receive a verification result of the upgrade package of the control sub-device, And reporting the upgrade result of the combined device to the DM Client module;
  • the second Update Agent module is configured to perform an upgrade operation of the controlled sub-device.
  • the master sub-device further includes a first Flash module, where the controlled sub-device further includes a second Flash module, where
  • the first Flash module is configured to store an upgrade package of the master sub-device
  • the second Flash module is configured to store an upgrade package of the controlled sub-device
  • the first Update Agent module is further used to upgrade the master sub-device Stored in the first Flash module.
  • the main control sub-device and the controlled sub-device each include an input/output I/O module, the transmission of the upgrade package for the controlled sub-device, and the information transmission of the main control sub-device and the controlled sub-device;
  • the first Update Agent module is further configured to: transmit the upgrade package of the controlled sub-device to the temporary storage in the DM Mgr module; query or receive the upgrade packet of the controlled sub-device, complete the detection, check or check result, The upgrade or rollback result of the controlled sub-device;
  • the second Update Agent module is further configured to report an upgrade packet receiving, detecting, or verifying result of the controlled sub-device, an upgrade or a rollback result of the controlled sub-device.
  • the controlled sub-device further includes a DM Mgr module, configured to temporarily store, verify, and detect an upgrade package of the controlled sub-device; and transmit the upgrade package of the controlled sub-device to the second Update Agent module;
  • the second Update Agent module is further configured to receive the verification and detection result of the upgrade package of the controlled sub-device of the DM Mgr module; receive the upgrade package of the controlled sub-device sent by the DM Mgr module, and receive the controlled sub-assembly
  • the upgrade package of the device is sent to the second Flash module.
  • the upgrade package and the upgrade process are performed by analyzing the upgrade package of the downloaded combination device and performing the upgrade operation according to the different upgrade structure of the upgrade package. Therefore, in the present invention, the upgrade package downloading and upgrading result reporting process in the FOTA method is the same as the prior art, and therefore, there is good compatibility with the existing server, thereby saving network resources.
  • FIG. 1 is a schematic structural view of a FOTA device of an exclusive flash combination device according to the present invention
  • FIG. 2 is a structural diagram of an upgrade package of the parallel upgrade mode of the present invention.
  • FIG. 3 is a structural diagram of an upgrade package of the serial upgrade mode of the present invention.
  • FIG. 4 is a structural diagram of an upgrade package of a step-by-step with a rollback upgrade mode according to the present invention
  • FIG. 5 is a structural diagram of an upgrade package without a verification upgrade mode according to the present invention
  • FIG. 6 is a schematic flowchart of a FOTA method implementation process of an exclusive flash combination device according to the present invention
  • FIG. 7 is a schematic flowchart of a FOTA upgrade implementation process in a parallel mode according to the present invention
  • FIG. 8 is a schematic diagram of a FOTA upgrade implementation process in a serial mode according to the present invention.
  • FIG. 9 is a schematic diagram of a FOTA upgrade implementation process of the step-by-step with the fallback of the present invention.
  • FIG. 10 is a schematic diagram of a FOTA upgrade implementation process without verification.
  • the basic idea of the present invention is as follows: A uniquely designed upgrade package and an upgrade process are proposed. The upgrade package of the downloaded combination device is parsed, and the upgrade device is upgraded according to different structures of the upgrade package. operating.
  • the combination device is composed of a master control device and a controlled child device;
  • the upgrade mode includes an upgrade mode with a checksum and an upgrade mode with no checksum, wherein the upgrade mode with a checksum is further divided into: Parallel upgrade mode, serial upgrade mode, and step-by-step upgrade with rollback.
  • the FOTA device of the present invention includes: a downloading and parsing module and an upgrade module; wherein the downloading and parsing module is configured to download and parse an upgrade package of the combined device from the server, and determine a structure of the currently downloaded upgrade package;
  • the upgrade module is used according to the specificity of the upgrade package.
  • the exclusive flash combination device is composed of a main control sub-device and a controlled sub-device.
  • the download and analysis module is mainly controlled.
  • the device management client (DM Client) module in the child device; the upgrade module is: a first update agent (Update Agent) module in the master control device and a second update agent module in the controlled child device.
  • the device further includes: a device management control (DM Mgr) module, a first flash module, a second flash module, and an input/output (I/O) module;
  • DM Mgr device management control
  • I/O input/output
  • the DM Client module used to establish a data connection with the server and download the entire combined device Level-package; parsing the upgrade package of the entire combination device, and verifying the upgrade package of the master sub-device; receiving the upgrade status of the entire combination device reported by the first Update Agent module, and reporting the upgrade status to the server; here, the data is established with the server Connect and download the upgrade package of the entire combination device.
  • the DM Client module receives the PUSH message from the server, or receives an upgrade selection menu message provided by the terminal to the user; and downloads the upgrade package of the entire combination device from the server, and sends the upgrade package to the first In the Update Agent module, the upgrade package of the entire combined device is temporarily stored at the same time;
  • the DM Mgr module is used to temporarily store and verify the controlled sub-device upgrade differential packet sent by the I/O module, or the controlled sub-device upgrade differential packet sent by the I/O module, and the controlled sub-device back-off differential packet. Or detecting whether the pre-stored upgrade package includes the controlled sub-device back-off differential packet, and sending the verification or detection result to the second Update Agent module; and transmitting the upgrade packet of the controlled sub-device to the second Update Agent module ;
  • the first Update Agent module is configured to select an upgrade mode corresponding to the entire combination device according to the analysis result of the upgrade package of the entire combination device, and perform an upgrade operation of the primary control device; and upgrade the primary control device obtained by parsing the DM Client module.
  • the package is stored in the first Flash module in the master sub-device, and the upgrade package of the controlled sub-device is transferred to the DM Mgr module for temporary storage; the upgrade packet of the controlled sub-device is received, the detection or the verification result is received.
  • the result of the upgrade or rollback of the controlled sub-device receiving the verification result of the upgrade package of the DM client module master sub-device, and reporting the upgrade result of the entire combination device to the DM client module;
  • the upgrade package of the master sub-device is stored in the first flash module in the main control sub-device, specifically: the first Update Agent module upgrades the difference sub-device, or the sub-device upgrade difference
  • the packet and the master sub-device back-off differential packet are transmitted to the first flash module for storage;
  • the second Update Agent module is configured to perform the upgrade operation of the controlled sub-device;
  • the upgrade packet receiving, detecting or verifying of the controlled sub-device is reported Result, upgrade or rollback result of the controlled sub-device; receiving the verification and detection result of the upgrade package of the controlled sub-device of the DM Mgr module; receiving the upgrade package of the controlled sub-device sent by the DM Mgr module and controlling the sub-device Upgrade package sent to second flash Module
  • the first Flash module is configured to store the master sub-device upgrade differential packet, or the storage main control sub-device upgrade differential packet and the main control sub-device back-off differential packet;
  • a second Flash module configured to store the controlled sub-device upgrade differential packet, or the storage controlled sub-device upgrade differential packet and the controlled sub-device back-off differential packet;
  • I/O module transmission of upgrade packages for controlled sub-devices, and information transmission of master sub-devices and controlled sub-devices;
  • the upgrade package of the controlled sub-device includes a controlled sub-device upgrade differential packet, or a controlled sub-device upgrade differential packet and a controlled sub-device back-off differential packet; the information includes: two sub-device related differential packets Checksum test results, upgrade results of two sub-devices, etc.
  • FIGS 2 to 5 are several different structural diagrams of the upgrade package of the present invention.
  • the upgrade package in Figure 2 consists of three parts: the header information, the master sub-device upgrade differential packet, and the controlled sub-device upgrade differential packet.
  • the upgrade package in Figure 3 is upgraded by the packet header information and the master sub-device.
  • the packet consists of or consists of the header information and the controlled sub-device upgrade differential packet;
  • the upgrade package in Figure 4 consists of the header information, the master sub-device upgrade differential packet, the controlled sub-device upgrade differential packet, and the controlled sub-device fallback difference.
  • the upgrade package in Figure 5 consists of the packet header information, the master sub-device upgrade differential packet, the master sub-device back-off differential packet, the controlled sub-device upgrade differential packet, and the controlled sub-device back-off differential packet;
  • the header information content may include information such as the size and integrity of the master sub-device and the controlled sub-device upgrade package.
  • FIG. 6 is a schematic flowchart of a FOTA method implementation process of an exclusive flash combination device according to the present invention. As shown in FIG. 6, the process includes the following steps:
  • Step 601 Download the upgrade package of the entire combination device from the server to the control sub-device; specifically: the server or the terminal user triggers the DM Client module in the master sub-device to establish a data connection with the server, and the DM Client module receives the PUSH message from the server. Or receiving an upgrade selection menu message provided by the terminal to the user; after the user accepts the download operation, the DM Client module Download and stage an upgrade package for the entire combined device.
  • Step 602 The master sub-device parses the upgrade package, and determines, according to the information in the parsed upgrade package, that the combination device performs the upgrade operations of steps 603a to 603d;
  • step 603a if the parsing upgrade package includes the master sub-device upgrade differential packet and the controlled sub-device upgrade differential packet, step 603a is performed; if the parsing upgrade package includes only the master sub-device upgrade differential packet or the controlled sub-device When the differential packet is upgraded, step 603b is performed; if the parsing upgrade package includes the master sub-device upgrade differential packet, the controlled sub-device upgrade differential packet, and the controlled sub-device back-off differential packet, step 603c is performed; When the upgrade package includes the master sub-device upgrade differential packet, the master sub-device back-off differential packet, the controlled sub-device upgrade differential packet, and the controlled sub-device back-off differential packet, step 603d is performed.
  • the temporary upgrade package is parsed by the DM Client module in the master sub-device, and sent to the first Update Agent module, and then the first Update Agent module selects the corresponding upgrade mode according to the analysis result to perform the subsequent upgrade operation. End the current processing flow;
  • Step 603b Perform an upgrade operation on the combined device by using a serial upgrade manner, and then end the current processing flow;
  • Step 603c Perform an upgrade operation on the combined device by using a step-by-step upgrade mode, and then end the current process flow; and then end the current process flow.
  • step 603a The process of the parallel upgrade mode described in step 603a is specifically as shown in FIG. 7, and includes the following steps:
  • Step 701 The master sub-device stores the master sub-device upgrade differential packet, and the controlled sub-device is upgraded.
  • the differential packet is transmitted to the controlled sub-device;
  • the first Update Agent module in the master sub-device stores the parsed master sub-device upgrade differential packet in the first Flash module, and the controlled sub-device upgrades the differential packet through the input between the two sub-devices/
  • the output (I/O) module is transmitted to the DM Mgr module in the controlled sub-device and temporarily stored in the DM Mgr module.
  • Step 702 The master sub-device and the controlled sub-device simultaneously verify the respective upgraded differential packets on the operating system (OS).
  • OS operating system
  • the DM Client module and the DM Mgr module simultaneously verify the differential package and the controlled sub-device upgrade differential packet of the temporary storage sub-control device, and send the verification result to the first Update Agent module and the first Two Update Agent modules;
  • the controlled sub-device upgrade differential packet is sent to the second Update Agent module, and the second Update Agent module transmits the controlled sub-device upgrade differential packet to Stored in the second Flash module for use in subsequent upgrades.
  • the verification of the upgrade package of the master sub-device or the controlled sub-device on the OS means that the master sub-device is affected or controlled on the application layer of the master sub-device or the controlled sub-device.
  • the upgrade package of the control sub-device is verified; the upgrade package of the control sub-device is: the main control sub-device upgrade differential packet, or the main control sub-device upgrade differential packet and the main control sub-device back-off differential packet;
  • the upgrade package of the controller device is: the controlled sub-device upgrade differential packet, or the controlled sub-device upgrade differential packet and the controlled sub-device back-off differential packet.
  • Step 703 After the controlled sub-device completes the verification, the verification result is reported to the main control sub-device, or the verification result of the controlled sub-device is queried after the main control device completes the verification;
  • the second Update Agent module periodically reports the verification result to the first Update Agent module, or the primary Update Agent module cyclically queries the second Update Agent after the verification is completed.
  • the result of the verification in the module until the end of the verification result or the query process ends.
  • the purpose of the cyclic reporting or the cyclic query is to avoid the result that the controlled sub-devices are not reported in a single time because the two sub-devices are relatively long in the verification or upgrade time; If the verification or upgrade time is relatively long, the primary sub-device query will not query the verification or upgrade result of the controlled sub-device.
  • Steps 704 ⁇ 705 The master sub-device confirms the check result of the two sub-devices. If both sub-devices are successfully verified, the two sub-devices are simultaneously restarted into the upgrade mode; if any of the two sub-devices fails to verify, The master sub-device reports to the server that the upgrade status of the entire combination device is an upgrade failure, and then step 708 is performed;
  • the first Update Agent module confirms the verification result of the two sub-devices. If the two sub-devices are successfully verified, the two sub-devices are simultaneously restarted into the upgrade mode, and then step 706 is performed, where the upgrade of the two sub-devices is performed. The process is performed by the first Update Agent module and the second Update Agent module. If the checksum of the two sub-devices fails, the first Update Agent module reports the upgrade status of the entire combination device to the upgrade through the DM Client module. .
  • Step 706 After the upgrade of the controlled sub-device is completed, the upgrade is completed, and the upgrade is completed after the upgrade is completed or the sub-device is upgraded.
  • the controlled sub-device is restarted, and the second Update Agent module periodically reports the upgrade completion message to the first Update Agent module or the first Update Agent module completes the upgrade process, and then triggers the main control sub-device.
  • the first Update Agent module cyclically queries whether the second Update Agent module completes the upgrade until the reporting or query process ends.
  • Step 707 After the master sub-device and the controlled sub-device are upgraded, the main control sub-device reports to the server that the upgrade of the entire combination device is successful.
  • the first Update Agent module completes the upgrade and confirms the second Update Agent module. After the block is upgraded, the first Update Agent module reports to the server through the DM Client module that the upgrade of the entire combination device is successful.
  • Step 708 The upgrade process ends.
  • Step 801 The upgraded package obtained by the main control sub-device upgrades the differential package only, and the main control sub-device stores the main control sub-device upgrade.
  • the differential package includes only the controlled sub-device upgrade differential packet, and the master sub-device transmits the controlled sub-device upgrade differential packet to the controlled sub-device; specifically: the parsing upgrade package includes only the main control When the sub-device upgrades the differential packet, the first Update Agent module stores the master sub-device upgrade differential packet in the first Flash module; when the parsed upgrade package includes only the controlled sub-device upgrade differential packet, the first Update Agent module The controlled sub-device upgrades the differential packet transmission to the DM Mgr module for temporary storage.
  • the parsed upgrade package includes only the controlled sub-device upgrade differential packet
  • the controlled sub-device upgrade differential packet is sent to the second Update Agent.
  • the module, the second Update Agent module transfers the controlled sub-device upgrade differential packet to the second Flash module for storage for subsequent upgrade.
  • Step 802 When the upgrade package includes only the master sub-device upgrade differential packet, the master sub-device restarts into the upgrade mode; when the upgrade package includes only the controlled sub-device upgrade differential packet, the controlled sub-device restarts into the upgrade mode.
  • Step 803 The master sub-device or the controlled sub-device entering the upgrade mode checks the master sub-device upgrade differential packet or the controlled sub-device upgrade differential packet on the OS.
  • the DM Client module or the DM Mgr module performs verification on the OS sub-device upgrade differential packet or the controlled sub-device upgrade differential packet on the OS.
  • Step 804 If the verification of the master sub-device or the controlled sub-device fails, step 807 is performed; if the verification of the master sub-device or the controlled sub-device is successful, the master sub-device or the controlled sub-device starts to upgrade, and then Perform step 805;
  • the step 807 is performed; if the DM Client module or the DM Mgr module successfully verifies the upgraded differential packet, the first Update Agent module And the second Update Agent module starts to perform the upgrade operation.
  • Step 805 If the above-mentioned master sub-device is upgraded, the main control sub-device is restarted after the upgrade is completed, and the upgrade result is reported to the server; if the above-mentioned controlled sub-device is upgraded, the controlled sub-device is restarted after the upgrade is completed, and the upgrade result is obtained. Reporting the upgrade result of the controlled sub-device to the master sub-device or the master sub-device, and then reporting the upgrade result to the server;
  • the first update agent module restarts, and the main control sub-device restarts, and the DM client module reports the upgrade result to the server; if the above-mentioned controlled sub-device upgrade, the second After the update agent module completes the upgrade operation, the controlled sub-device is restarted, and the upgrade result is reported to the first Update Agent module or the first Update Agent module queries the upgrade result of the second Update Agent module, and then the upgrade result is obtained by the DM Client module. Reported to the server.
  • Steps 806 ⁇ 807 Select an upgrade from the server again.
  • the upgrade package downloaded from the server only includes the upgrade package of another child device that has not been upgraded. Repeat steps 801 to 805 to complete the upgrade process of the entire combination device. ;
  • the version number of the entire combined device before the upgrade is VI
  • it should be an intermediate version of Vtmp that is: the first upgrade package downloaded completes the upgrade from VI to Vtmp, and the server also There is an upgrade package from Vtmp to V2 for another sub-device upgrade, so that the upgrade of the entire combination of the two sub-devices is completed.
  • Step 603c the step of stepping with the rollback upgrade mode is specifically as shown in FIG. 9, including the following Steps:
  • Step 901 The master sub-device stores the master sub-device upgrade differential packet, and transmits the controlled sub-device upgrade differential packet and the controlled sub-device back-off differential packet to the controlled sub-device;
  • the first Update Agent module stores the master sub-device upgrade differential packet in the first Flash module, and transmits the controlled sub-device upgrade differential packet and the controlled sub-device back-off differential packet to the controlled sub-device.
  • the DM Mgr module is temporarily stored.
  • the controlled sub-device upgrade differential packet is sent to the second Update Agent module, and the second Update Agent module transmits the controlled sub-device upgrade differential packet to Stored in the second Flash module for use in subsequent upgrades.
  • Step 902 The controlled sub-device detects whether the received upgrade packet contains the controlled sub-device fallback differential packet. If the controlled sub-device returns the differential packet, the main control sub-device is notified, and the main control sub-device reports the server. If the upgrade of the entire combination device fails, step 909 is performed; if the controlled sub-device is backed off, the step 903 is performed;
  • the DM Mgr module detects whether the upgraded package temporarily stored includes a controlled sub-device back-off differential packet. If the DM Mgr module does not detect the controlled sub-device back-off differential packet, the detection result is passed through the second Update Agent module. The upgrade to the first update agent module is performed by the DM client module. If the DM Mgr module detects that the controlled sub-device rolls back the differential packet, the subsequent operations are performed.
  • the purpose of detecting the upgrade package by the controlled sub-device is to: prevent the upgrade package of the controlled sub-device from being damaged during the transmission process.
  • Step 903 The controlled sub-device performs verification on the controlled sub-device upgrade differential packet and the controlled sub-device back-off differential packet on the OS. If the verification fails, step 909 is performed; if the verification succeeds, the step is performed. 904;
  • the DM Mgr module of the controlled sub-device performs verification on the controlled sub-device upgrade differential packet and the controlled sub-device back-off differential packet on the OS, and if the verification fails, the upgrade process ends; If the verification is successful, the subsequent operations are performed.
  • the master sub-device remains in the running state.
  • Step 904 The controlled sub-device performs an upgrade operation, and after the upgrade is completed, notifies the main control sub-device of the upgrade result, or the main control sub-device queries the upgraded result of the controlled sub-device;
  • the second Update Agent module sends the upgrade result to the Update Agent module after performing the upgrade operation, or the first Update Agent module queries the upgrade result of the second Update Agent module.
  • Step 905 The master sub-device determines the upgrade result of the controlled sub-device. If the upgrade fails, the upgrade of the entire combination device fails to be performed, and step 909 is performed; if the upgrade is successful, step 906 is performed;
  • the first Update Agent module determines the upgrade result sent by the second Update Agent module. If the upgrade fails, the upgrade of the entire combination device by the DM Client module is failed; if the upgrade is successful, the subsequent operations are performed.
  • Step 906 The master sub-device performs verification on the master sub-device upgrade differential packet on the OS. If the verification fails, step 909 is performed; if the verification is successful, step 907 is performed;
  • the DM client module of the master sub-device performs verification on the upgrade sub-package of the master sub-device on the OS. If the verification fails, the upgrade process ends. If the verification succeeds, the subsequent operations are performed.
  • Step 907 The master sub-device performs the upgrade operation. If the upgrade of the master sub-device is successful, the upgrade of the entire device is successfully performed, and step 909 is performed. If the upgrade of the master sub-device fails, the upgrade of the master sub-device fails. Notifying the controlled sub-device, performing step 908;
  • the first Update Agent module performs the upgrade operation. If the upgrade of the first Update Agent module is successful, the upgrade of the entire combination device by the DM Client module is successful, and the upgrade process ends. If the upgrade of the first Update Agent module fails, the first The Update Agent module notifies the second Update Agent module of the result of the upgrade failure, and performs subsequent operations. Here, during the execution of this step, the controlled sub-device remains in the running state.
  • Step 908 The controlled sub-device receives the result of the upgrade failure reported by the main control sub-device, restarts into the fallback mode, and uses the back-off differential packet to perform the rollback. After the rollback is completed, the main control sub-device or the main control sub-device is notified. The result of the rollback of the controlled sub-device, after which the master sub-device reports to the server that the upgrade of the entire combination device fails;
  • the second Update Agent module restarts the fallback mode after receiving the result of the upgrade failure reported by the first Update Agent module, and notifies the first Update Agent module or the first Update Agent module to query the second Update Agent module after the rollback is completed.
  • the DM Client module reports to the server that the upgrade of the entire combination device fails.
  • the fallback is a rollback to the pre-upgrade version.
  • the rollback since the upgraded differential packet and the back-off differential packet are designed in pairs, if the upgrade succeeds, the rollback must succeed; the controlled child device is returned. During the retreat, the master sub-device remains in the running state.
  • Step 909 The upgrade process ends.
  • the process of the upgrade mode without the check in step 603d is specifically as shown in FIG. 10, and includes the following steps:
  • Step 1001 The master sub-device stores the master sub-device upgrade differential packet and the main control sub-device back-off differential packet, and transmits the controlled sub-device upgrade differential packet and the controlled sub-device back-off differential packet to the controlled sub-device;
  • the first Update Agent module stores the master sub-device upgrade differential packet and the main control sub-device back-off differential packet in the first Flash module, and the controlled sub-device upgrade differential packet and the controlled sub-device back-off difference.
  • the packet is transmitted to the DM Mgr module in the controlled sub-device for temporary storage;
  • the controlled sub-device upgrade differential packet is sent to the second Update Agent module, and the second Update Agent module transmits the controlled sub-device upgrade differential packet to Stored in the second Flash module for use in subsequent upgrades.
  • Steps 1002 ⁇ 1003 The controlled sub-device detects whether the received upgrade package contains a controlled sub- The device rolls back the differential packet. If there is no controlled sub-device to roll back the differential packet, the master sub-device is notified, and the upgrade of the entire combined device fails to be reported by the master sub-device, and then step 1007 is performed; if the controlled sub-device is rolled back Differential packet, step 1004;
  • the DM Mgr module detects whether the upgraded package temporarily stored includes a controlled sub-device back-off differential packet. If the DM Mgr module does not detect the controlled sub-device back-off differential packet, the detection result is passed through the second Update Agent module. The upgrade to the first update agent module is performed by the DM client module. If the DM Mgr module detects that the controlled sub-device rolls back the differential packet, the subsequent operations are performed.
  • the purpose of detecting the upgrade package by the controlled sub-device is to: prevent the upgrade package of the controlled sub-device from being damaged during the transmission process.
  • Step 1004 After the controlled sub-device notifies the main control sub-device that the upgrade package is received, the main control sub-device receives the notification that the controlled sub-device upgrade package is received, and the main control sub-device and the controlled sub-device simultaneously restart to enter the upgrade mode upgrade. ;
  • the second Update Agent module sends the received result of the upgrade package to the first Update Agent module, and then the master sub-device and the controlled sub-device simultaneously restart to enter the upgrade mode upgrade.
  • Step 1005 After the upgrade is completed, the master sub-device and the controlled sub-device are respectively restarted, and the controlled sub-device reports the upgrade result to the main control sub-device.
  • the main control sub-device has four cases. If the upgrade of the master sub-device and the controlled sub-device is successful, go to step 1006e. If the upgrade of the master sub-device is successful and the upgrade of the controlled sub-device fails, go to step 1006f. If the upgrade of the controlled sub-device is successful, go to step 1006g; if both the master sub-device and the controlled sub-device fail to upgrade, go to step 1006h;
  • Step 1006e The master sub-device and the controlled sub-device delete their respective back-off differential packets, and then the main control sub-device reports the server to upgrade the entire combination device successfully, and then proceeds to step 1007; Specifically, when the first Update Agent module determines that both the first Update Agent module and the second Update Agent module are successfully upgraded, the first Update Agent module and the second Update Agent module delete respective back-off differential packets, and then are reported by the DM Client module. The entire combination of the server is successfully upgraded and the upgrade process ends.
  • Step 1006f The master sub-device notifies the controlled sub-device to delete the controlled sub-device to roll back the differential packet, and the main control sub-device restarts into the fallback mode, and uses the back-off differential packet to roll back. After the rollback is successful, the server is reported to the entire combined device. The upgrade fails, and then step 1007 is performed;
  • the primary control sub-device restarts into the fallback mode, and the first Update Agent module uses the back-off differential packet to perform the rollback. After the retraction is successful, the upgrade of the entire combined device fails to be reported by the DM client module. The upgrade process ends.
  • Step 1006g The master sub-device deletes the master sub-device back-off differential packet, and notifies the controlled sub-device to restart into the fallback mode, and uses the controlled sub-device to roll back the differential packet to perform rollback. After the rollback is completed, the master controller is reported. The device fails to upgrade the entire combined device of the server to the server. Step 1007 is performed.
  • the first Update Agent module determines that the first Update Agent module fails to be upgraded and the second Update Agent module succeeds
  • the first Update Agent module deletes the control sub-device back-off differential packet, and notifies the controlled sub-device to restart and enters the fallback.
  • the second Update Agent module uses the controlled sub-device to roll back the differential packet to roll back. After the rollback is completed, the first Update Agent module is reported, and the upgrade of the entire combination device fails.
  • Step 1006h The master sub-device and the controlled sub-device delete the respective back-off differential packets, and then the main control sub-device reports the server to upgrade the entire combination device, and then step 1007 is performed;
  • Step 1007 The upgrade process ends.

Landscapes

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

Description

一种独占闪存组 殳备空中固件升级方法及装置 技术领域
本发明涉及空中固件升级(FOTA, Firmware Over The Air )技术, 尤 其涉及一种终端独占闪存(Flash )组合设备 FOTA方法及装置。 背景技术
随着移动通信尤其是时分同步码分多址(TD-SCDMA ) 网络的发展, 终端已不再是筒单的通讯工具, 现有的终端集成了多媒体、 个人信息管理 和娱乐等功能, 已变得与个人计算机一样复杂。 并且, 由于终端制造商推 出新的产品功能的周期越来越短, 运营商推出新业务的周期也将越来越短, 因此, 需要终端制造商能给用户提供筒便、 有效的升级服务。
目前, FOTA作为通过空中接口远程管理、 更新终端设备中固件的方法 已受到越来越多的关注, 并且随着终端功能的不断完善, FOTA已成为设备 管理(DM, Device Management ) 中的关键技术, 并得到了通信产业的高 度重视, 因而也将越来越多地应用于移动通信业务中。
利用 FOTA技术不仅可以下载升级包, 也可以更新终端的操作系统, 这样, 终端制造商就能通过移动网络将升级包发送到目标用户的终端设备 上, 从而对相关固件或系统进行升级, 不但方便了用户, 也为终端制造商 节约了成本。 现在主流的 FOTA技术方案一般包含终端发现、 升级包下载、 升级包安装三个流程。 现有技术中, FOTA仅用于终端中独占 Flash的单设 备的升级操作,还未应用于较复杂的组合式设备,如:无线接入设备 iHOME 的升级过程中。 这里, 所述 iHOME为中国移动推出的用以满足日益增加的 终端产品网络用户需求的组合设备, iHOME主要由两部分组成, 分别为: 用于无线网络接入的内置 TD模块和用于家用设备接入的无线路由设备。也 就是说, 现有 FOTA技术无法对复杂的组合式设备执行升级操作。 发明内容
有鉴于此, 本发明的主要目的在于提供一种独占 Flash组合设备 FOTA 为达到上述目的, 本发明的技术方案是这样实现的:
本发明提供了一种独占 Flash组合设备 FOTA方法, 该方法包括: 从服务器下载并解析组合设备的升级包, 确定当前下载升级包的结构; 作。
其中, 所述组合设备包括: 主控子设备和受控子设备;
相应的, 从服务器下载并解析为: 从服务器下载组合设备的升级包到 主控子设备, 由主控子设备对当前下载的升级包进行解析。
其中, 所述升级包包括主控子设备升级差分包和受控子设备升级差分 包;
其中, 所述带校验的并行的升级方式操作流程具体为:
主控子设备和受控子设备接收到各自的升级包并校验成功后, 主控子 设备和受控子设备同时重启, 进入升级模式, 主控子设备和受控子设备均 完成升级后, 主控子设备向服务器上报组合设备升级成功, 升级过程结束; 主控子设备和受控子设备中任意一个的升级包校验失败时, 组合设备的升 级状态为升级失败, 升级过程结束。
本发明中, 所述升级包仅包括主控子设备升级差分包或受控子设备升 级差分包; 验的串行的升级方式对所述组合设备执行升级操作。
其中, 所述带校验的串行的升级方式操作流程具体为:
主控子设备或受控子设备存储自身的升级差分包后重启进入升级模 式, 对主控子设备升级差分包或受控子设备升级差分包进行校验, 如果校 验成功, 则执行后续升级操作并向服务器上报升级结果, 之后再从服务器 上选择一次升级, 下载未升级的另一子设备的升级包完成升级操作。
本发明中, 所述升级包包括主控子设备升级差分包、 受控子设备升级 差分包和受控子设备回退差分包; 验的分布带回退的升级方式对所述组合设备执行升级操作。
其中 , 所述带校验的分布带回退的升级方式操作流程具体为: 受控子设备检测所接收的升级包中含有受控子设备回退差分包后对受 控子设备升级差分包和受控子设备回退差分包进行校验, 校验成功后, 受 控子设备执行升级操作, 如果受控子设备升级失败, 则组合设备升级失败, 升级过程结束; 如果受控子设备升级成功, 则主控子设备进入升级模式, 如果主控子设备升级成功, 则组合设备升级成功; 如果主控子设备升级失 败, 则受控子设备重启进入回退模式执行回退操作, 组合设备升级失败, 升级过程结束。
本发明中, 所述升级包包括主控子设备升级差分包、 主控子设备回退 差分包、 受控子设备升级差分包和受控子设备回退差分包; 校验的升级方式对所述组合设备执行升级操作。
其中, 所述不带校验的分布带回退的升级方式操作流程具体为: 受控子设备检测所接收的升级包中是否含有受控子设备回退差分包, 如果没有受控子设备回退差分包, 则组合设备升级失败, 升级过程结束; 如果含有受控子设备回退差分包, 则主控子设备与受控子设备同时重启, 进入升级模式升级, 升级完成后主控子设备与受控子设备分别重启, 主控 子设备根据两个子设备的升级结果执行对应的操作。
本发明还提供了一种独占 Flash组合设备 FOTA装置, 该装置包括: 下载及解析模块, 用于从服务器下载并解析组合设备的升级包, 确定 当前下载升级包的结构; 合设备执行升级操作。
其中, 所述组合设备包括: 主控子设备和受控子设备;
相应的, 所述下载及解析模块为主控子设备中的 DM Client模块; 所述升级模块为: 主控子设备中的第一 Update Agent模块和受控子设 备中的第二 Update Agent模块;
其中, 所述 DM Client模块, 用于下载并解析组合设备的升级包; 校验 主控子设备的升级包; 接收第一 Update Agent模块上报的组合设备的升级 状态, 并上报给服务器;
所述第一 Update Agent模块, 用于根据组合设备的升级包的解析结果 选择组合设备对应的升级方式, 并执行主控子设备的升级操作; 接收主控 子设备的升级包的校验结果, 并向 DM Client模块上报组合设备的升级结 果;
所述第二 Update Agent模块, 用于执行受控子设备的升级操作。
其中, 所述主控子设备还包括第一 Flash模块; 所述受控子设备还包括 第二 Flash模块; 其中,
所述第一 Flash模块, 用于存储主控子设备的升级包;
所述第二 Flash模块, 用于存储受控子设备的升级包;
相应的, 所述第一 Update Agent模块, 还用于将主控子设备的升级包 存储于第一 Flash模块中。
其中, 所述主控子设备和受控子设备中均包括输入 /输出 I/O模块, 用 于受控子设备的升级包的传输、 以及主控子设备和受控子设备的信息传输; 相应的, 所述第一 Update Agent模块, 还用于将受控子设备的升级包 传输到 DM Mgr模块中暂存; 查询或接收受控子设备的升级包接收完毕、 检测或校验结果、 受控子设备的升级或回退结果;
所述第二 Update Agent模块, 还用于上报受控子设备的升级包接收、 检测或校验结果、 受控子设备的升级或回退结果。
其中, 所述受控子设备中还包括 DM Mgr模块, 用于暂存、 校验和检 测受控子设备的升级包; 将受控子设备的升级包传输给第二 Update Agent 模块;
相应的, 所述第二 Update Agent模块, 还用于接收 DM Mgr模块受控 子设备的升级包的校验、 检测结果; 接收 DM Mgr模块发送的受控子设备 的升级包并将受控子设备的升级包发送给第二 Flash模块。 的升级包和升级流程, 通过解析已下载的组合设备的升级包, 根据升级包 的不同结构采用对应的升级方式, 对所述组合设备执行升级操作。 因此, 本发明中, FOTA方法中升级包下载和升级结果上报过程与现有技术相 同, 因此, 与现有服务器之间有良好的兼容性, 进而节省了网络资源。 附图说明
图 1为本发明独占 Flash组合设备 FOTA装置结构示意图;
图 2为本发明并行升级方式的升级包结构图;
图 3为本发明串行升级方式的升级包结构图;
图 4为本发明分步带回退升级方式的升级包结构图; 图 5为本发明不带校验升级方式的升级包结构图;
图 6为本发明独占 Flash组合设备 FOTA方法实现流程示意图; 图 7为本发明并行方式的 FOTA升级实现流程示意图;
图 8为本发明串行方式的 FOTA升级实现流程示意图;
图 9为本发明分步带回退的 FOTA升级实现流程示意图;
图 10为本发明不带校验的 FOTA升级实现流程示意图。 具体实施方式 本发明的基本思想是: 提出了独特设计的升级包和升级流程, 通过解 析已下载的组合设备的升级包, 根据升级包的不同结构采用对应的升级方 式对所述组合设备执行升级操作。
这里, 所述组合设备由主控子设备和受控子设备组成; 所述升级方式 包括带校验的升级方式和不带校验的升级方式, 其中, 带校验的升级方式 又分为: 并行的升级方式、 串行的升级方式和分步带回退的升级方式。
下面结合附图及具体实施例对本发明作进一步详细说明。
本发明的独占 Flash组合设备 FOTA装置包括:下载及解析模块和升级 模块; 其中, 所述下载及解析模块, 用于从服务器下载并解析组合设备的 升级包, 确定当前下载升级包的结构; 所述升级模块, 用于根据升级包的 具体的, 如图 1所示, 该独占 Flash组合设备由主控子设备和受控子设 备两部分组成, 相应的, 所述下载及解析模块为主控子设备中的设备管理 客户端 (DM Client )模块; 所述升级模块为: 主控子设备中的第一升级代 理(Update Agent )模块和受控子设备中的第二 Update Agent模块。
该装置还包括: 设备管理控制 (DM Mgr )模块、 第一 Flash模块、 第 二 Flash模块和输入 /输出 ( I/O )模块等; 其中,
DM Client模块, 用于与服务器建立数据连接并下载整个组合设备的升 级包; 解析整个组合设备的升级包, 并校验主控子设备的升级包; 接收第 一 Update Agent模块上报的整个组合设备的升级状态, 并上报给服务器; 这里, 所述与服务器建立数据连接并下载整个组合设备的升级包, 具 体的, DM Client模块接收来自服务器的 PUSH消息, 或接收终端提供给用 户的升级选择菜单消息; 并从服务器下载整个组合设备的升级包, 发送到 第一 Update Agent模块中, 同时暂存整个组合设备的升级包;
DM Mgr模块,用于暂存和校验 I/O模块发送的受控子设备升级差分包、 或 I/O模块发送的受控子设备升级差分包、 以及受控子设备回退差分包,或 检测所暂存的升级包中是否含有受控子设备回退差分包, 并把校验或检测 结果发送给第二 Update Agent模块; 将受控子设备的升级包传输给第二 Update Agent模块;
第一 Update Agent模块, 用于根据整个组合设备的升级包的解析结果 选择整个组合设备对应的升级方式,并执行主控子设备的升级操作;将 DM Client模块解析所得的主控子设备的升级包存储于主控子设备中的第一 Flash模块中, 将受控子设备的升级包传输到 DM Mgr模块中暂存; 查询或 接收受控子设备的升级包接收完毕、 检测或校验结果、 受控子设备的升级 或回退结果; 接收 DM Client模块主控子设备的升级包的校验结果, 并向 DM Client模块上报整个组合设备的升级结果;
这里,所述将主控子设备的升级包存储于主控子设备中的第一 Flash模 块中, 具体为: 第一 Update Agent模块将主控子设备升级差分包、 或主控 子设备升级差分包和主控子设备回退差分包传输到第一 Flash模块中存储; 第二 Update Agent模块, 用于执行受控子设备的升级操作; 上报受控 子设备的升级包接收、 检测或校验结果、 受控子设备的升级或回退结果; 接收 DM Mgr模块受控子设备的升级包的校验、 检测结果; 接收 DM Mgr 模块发送的受控子设备的升级包并将受控子设备的升级包发送给第二 Flash 模块;
第一 Flash模块, 用于存储主控子设备升级差分包、 或存储主控子设备 升级差分包和主控子设备回退差分包;
第二 Flash模块, 用于存储受控子设备升级差分包、 或存储受控子设备 升级差分包和受控子设备回退差分包;
I/O模块, 用于受控子设备的升级包的传输、 以及主控子设备和受控子 设备的信息传输;
这里, 所述受控子设备的升级包包括受控子设备升级差分包、 或受控 子设备升级差分包和受控子设备回退差分包; 所述信息包括: 两个子设备 相关差分包的校验和检测结果、 两个子设备的升级结果等。
图 2 ~ 5为本发明升级包的几种不同结构图。 如图所示, 图 2中的升级 包由包头信息、 主控子设备升级差分包和受控子设备升级差分包三部分组 成; 图 3 中的升级包由包头信息和主控子设备升级差分包组成、 或由包头 信息和受控子设备升级差分包组成; 图 4 中的升级包由包头信息、 主控子 设备升级差分包、 受控子设备升级差分包和受控子设备回退差分包组成; 图 5 中的升级包由包头信息、 主控子设备升级差分包、 主控子设备回退差 分包、 受控子设备升级差分包和受控子设备回退差分包组成;
这里, 所述包头信息内容可包括主控子设备和受控子设备升级包的大 小、 完整性等信息。
图 6为本发明独占 Flash组合设备 FOTA方法实现流程示意图, 如图 6 所示, 该流程包括以下步骤:
步骤 601 : 从服务器下载整个组合设备的升级包到主控子设备; 具体为:服务器或终端用户触发主控子设备中的 DM Client模块与服务 器建立数据连接, DM Client模块接收来自服务器的 PUSH消息、 或接收终 端提供给用户的升级选择菜单消息; 用户接受下载操作后, DM Client模块 下载和暂存整个组合设备的升级包。
步骤 602: 主控子设备解析升级包, 并根据解析的升级包中的信息确定 组合设备执行步骤 603a ~ 603d的升级操作;
具体的, 如果解析所得升级包包括主控子设备升级差分包和受控子设 备升级差分包时, 则执行步骤 603a; 如果解析所得升级包仅包括主控子设 备升级差分包或受控子设备升级差分包时, 则执行步骤 603b; 如果解析所 得升级包包括主控子设备升级差分包、 受控子设备升级差分包和受控子设 备回退差分包时, 则执行步骤 603c; 如果解析所得升级包包括主控子设备 升级差分包、 主控子设备回退差分包、 受控子设备升级差分包和受控子设 备回退差分包时, 则执行步骤 603d。
这里, 具体由主控子设备中的 DM Client模块解析暂存的升级包, 并发 送给第一 Update Agent模块, 再由第一 Update Agent模块根据解析结果选 择对应的升级方式执行后续的升级操作。 结束当前处理流程;
步骤 603b: 采用串行的升级方式对所述组合设备执行升级操作, 之后 结束当前处理流程;
步骤 603c:采用分步带回退的升级方式对所述组合设备执行升级操作, 之后结束当前处理流程; 之后结束当前处理流程。
其中, 步骤 603a所述并行的升级方式流程具体如图 7所示, 包括以下 步骤:
步骤 701 : 主控子设备存储主控子设备升级差分包, 并将受控子设备升 级差分包传输给受控子设备;
具体为: 主控子设备中的第一 Update Agent模块将解析所得的主控子 设备升级差分包存储于第一 Flash模块中,并将受控子设备升级差分包通过 两子设备间的输入 /输出 ( I/O )模块传输给受控子设备中的 DM Mgr模块, 且暂存在 DM Mgr模块中。
步骤 702: 主控子设备和受控子设备同时在操作系统(OS )之上分别 对各自的升级差分包进行校验;
具体为: DM Client模块与 DM Mgr模块同时对各自暂存的主控子设备 升级差分包和受控子设备升级差分包进行校验, 并将校验结果分别发送到 第一 Update Agent模块和第二 Update Agent模块;
这里, DM Mgr模块完成对受控子设备升级差分包的校验后,将受控子 设备升级差分包发送到第二 Update Agent模块, 第二 Update Agent模块将 受控子设备升级差分包传输到第二 Flash模块中存储, 以备后续升级使用。
本发明中,所述在 OS之上对主控子设备或受控子设备的升级包进行校 验, 是指在主控子设备或受控子设备的应用层上对主控子设备或受控子设 备的升级包进行校验; 所述主控子设备的升级包为: 主控子设备升级差分 包、 或主控子设备升级差分包和主控子设备回退差分包; 所述受控子设备 的升级包为: 受控子设备升级差分包、 或受控子设备升级差分包和受控子 设备回退差分包。
步骤 703: 受控子设备完成校验后向主控子设备上报校验结果, 或主控 子设备完成校验后查询受控子设备的校验结果;
具体为: 受控子设备完成校验后由第二 Update Agent模块循环向第一 Update Agent模块上报校验结果, 或主控子设备完成校验后由第一 Update Agent模块循环查询第二 Update Agent模块中的校验结果,直至校验结果的 上报或查询过程结束。 本发明中, 所述循环上报或循环查询的目的是为了避免由于两个子设 子设备校验或升级时间相对较长, 则未收到受控子设备单次上报的结果; 若受控子设备校验或升级时间相对较长, 则主控子设备单次查询将查询不 到受控子设备的校验或升级结果。
步骤 704 ~ 705: 主控子设备确认两个子设备的校验结果, 如果两个子 设备均校验成功, 则两个子设备同时重启进入升级模式; 如果两个子设备 中任一子设备校验失败, 则主控子设备向服务器上报整个组合设备的升级 状态为升级失败, 之后执行步骤 708;
具体为: 第一 Update Agent模块确认两个子设备的校验结果, 如果两 个子设备均校验成功, 则两个子设备同时重启进入升级模式, 之后执行步 骤 706, 这里, 所述两个子设备的升级过程由第一 Update Agent模块和第二 Update Agent模块完成; 如果两个子设备中任一子设备校验失败, 则第一 Update Agent模块通过 DM Client模块向服务器上报整个组合设备的升级状 态为升级失败。
步骤 706: 受控子设备升级完成后重启, 向主控子设备上报升级完成消 息或主控子设备升级完成后重启, 查询受控子设备是否完成升级;
具体为: 第二 Update Agent模块完成升级过程后触发受控子设备重启, 第二 Update Agent模块循环向第一 Update Agent模块上报升级完成消息或 第一 Update Agent模块完成升级过程后触发主控子设备重启, 第一 Update Agent模块循环查询第二 Update Agent模块是否完成升级,直至上报或查询 过程结束。
步骤 707: 主控子设备和受控子设备均完成升级后, 主控子设备向服务 器上报整个组合设备升级成功;
具体为: 第一 Update Agent模块完成升级并确认第二 Update Agent模 块完成升级后,第一 Update Agent模块通过 DM Client模块向服务器上报整 个组合设备升级成功。
这里, 由于升级前对主控子设备升级差分包和受控子设备升级差分包 进行了校验且校验已成功, 而且主控子设备和受控子设备同时进行升级, 则只要两个子设备升级完成即证明两个子设备已升级成功。
步骤 708: 升级过程结束。
步骤 603b所述串行的升级方式流程具体如图 8所示, 包括以下步骤: 步骤 801 : 解析所得的升级包仅包括主控子设备升级差分包时, 主控子 设备存储主控子设备升级差分包; 解析所得的升级包仅包括受控子设备升 级差分包时, 主控子设备将受控子设备升级差分包传输给受控子设备; 具体为: 解析所得的升级包仅包括主控子设备升级差分包时, 第一 Update Agent模块将主控子设备升级差分包存储于第一 Flash模块中; 解析 所得的升级包仅包括受控子设备升级差分包时, 第一 Update Agent模块将 受控子设备升级差分包传输给 DM Mgr模块暂存。
这里, 如果解析所得的升级包仅包括受控子设备升级差分包时, DM Mgr模块完成对受控子设备升级差分包的校验后, 将受控子设备升级差分 包发送到第二 Update Agent模块, 第二 Update Agent模块将受控子设备升 级差分包传输到第二 Flash模块中存储, 以备后续升级使用。
步骤 802: 升级包中仅包括主控子设备升级差分包时, 主控子设备重启 进入升级模式; 升级包中仅包括受控子设备升级差分包时, 受控子设备重 启进入升级模式。
步骤 803: 进入升级模式的主控子设备或受控子设备在 OS之上对主控 子设备升级差分包或受控子设备升级差分包进行校验;
具体为: DM Client模块或 DM Mgr模块在 OS之上对主控子设备升级 差分包或受控子设备升级差分包进行校验。 步骤 804: 如果主控子设备或受控子设备校验失败, 则执行步骤 807; 如果主控子设备或受控子设备校验成功, 则主控子设备或受控子设备开始 升级, 之后执行步骤 805;
具体为:如果 DM Client模块或 DM Mgr模块对各自的升级差分包校验 失败, 则执行步骤 807; 如果 DM Client模块或 DM Mgr模块对各自的升级 差分包校验成功, 则第一 Update Agent模块和第二 Update Agent模块开始 执行升级操作。
步骤 805:如果上述为主控子设备升级,则主控子设备升级完成后重启, 向服务器上报升级结果; 如果上述为受控子设备升级, 则受控子设备升级 完成后重启, 将升级结果上报给主控子设备或主控子设备查询受控子设备 的升级结果, 之后主控子设备将所得的升级结果上报给服务器;
具体为: 如果上述为主控子设备升级, 则第一 Update Agent模块完成 升级操作后主控子设备重启, 由 DM Client模块向服务器上报升级结果; 如 果上述为受控子设备升级, 则第二 Update Agent模块完成升级操作后受控 子设备重启, 将升级结果上报给第一 Update Agent模块或由第一 Update Agent模块查询第二 Update Agent模块的升级结果, 之后由 DM Client模块 将所得的升级结果上报给服务器。
步骤 806 ~ 807: 再从服务器上选择一次升级, 此次从服务器下载的升 级包仅包括还未升级的另一子设备的升级包, 重复步骤 801到步骤 805 , 最 终整个组合设备的升级过程结束;
这里, 如果所述整个组合设备升级前的版本号为 VI , 则在任一个子设 备升级之后应为一中间版本 Vtmp, 即: 下载的第一个升级包完成从 VI到 Vtmp的升级, 服务器上还有一个从 Vtmp升级到 V2的升级包供另一个子 设备升级使用, 这样, 最终完成对两个子设备组成的整个组合设备的升级。
步骤 603c所述分步带回退的升级方式流程具体如图 9所示, 包括以下 步骤:
步骤 901 : 主控子设备存储主控子设备升级差分包, 并将受控子设备升 级差分包和受控子设备回退差分包传输给受控子设备;
具体为: 第一 Update Agent模块将主控子设备升级差分包存储于第一 Flash模块中, 并将受控子设备升级差分包和受控子设备回退差分包传输给 受控子设备中的 DM Mgr模块暂存。
这里, DM Mgr模块完成对受控子设备升级差分包的校验后,将受控子 设备升级差分包发送到第二 Update Agent模块, 第二 Update Agent模块将 受控子设备升级差分包传输到第二 Flash模块中存储, 以备后续升级使用。
步骤 902:受控子设备检测所接收的升级包中是否含有受控子设备回退 差分包, 如果没有受控子设备回退差分包, 则通知主控子设备, 由主控子 设备上报服务器整个组合设备的升级失败,执行步骤 909; 如果含有受控子 设备回退差分包, 则执行步骤 903;
具体为: DM Mgr模块检测所暂存的升级包中是否含有受控子设备回退 差分包, 如果 DM Mgr模块未检测到受控子设备回退差分包, 将检测结果 经第二 Update Agent模块发送到第一 Update Agent模块, 再由 DM Client 模块上报服务器整个组合设备的升级失败; 如果 DM Mgr模块检测到受控 子设备回退差分包, 则执行后续操作。
这里, 所述受控子设备对升级包进行检测的目的在于: 避免受控子设 备的升级包在传输过程中损坏。
步骤 903: 受控子设备在 OS之上对受控子设备升级差分包和受控子设 备回退差分包进行校验, 如果校验失败, 则执行步骤 909; 如果校验成功, 则执行步骤 904;
具体为:受控子设备的 DM Mgr模块在 OS之上对受控子设备升级差分 包和受控子设备回退差分包进行校验, 如果校验失败, 则结束升级过程; 如果校验成功, 则执行后续操作。
这里, 在本步骤执行过程中, 主控子设备仍然保持运行状态。
步骤 904: 受控子设备执行升级操作, 升级完成后通知主控子设备升级 结果, 或主控子设备查询受控子设备的升级结果;
具体为: 第二 Update Agent模块执行完升级操作后将升级结果发送给 Update Agent模块,或由第一 Update Agent模块查询第二 Update Agent模块 的升级结果。
步骤 905: 主控子设备判断受控子设备的升级结果, 如果升级失败, 则 上报服务器整个组合设备升级失败, 执行步骤 909; 如果升级成功, 则执行 步骤 906;
具体为: 第一 Update Agent模块判断第二 Update Agent模块所发送的 升级结果,如果升级失败, 则由 DM Client模块上报服务器这整个组合设备 升级失败; 如果升级成功, 则执行后续操作。
步骤 906: 主控子设备在 OS之上对主控子设备升级差分包进行校验, 如果校验失败, 则执行步骤 909; 如果校验成功, 则执行步骤 907;
具体为: 主控子设备的 DM Client模块在 OS之上对主控子设备升级差 分包进行校验, 如果校验失败, 则升级过程结束; 如果校验成功, 则执行 后续操作。
步骤 907: 主控子设备执行升级操作, 如果主控子设备升级成功, 则上 报服务器整个组合设备升级成功,执行步骤 909;如果主控子设备升级失败, 则将主控子设备升级失败的结果通知受控子设备, 执行步骤 908;
具体为: 第一 Update Agent模块执行升级操作,如果第一 Update Agent 模块升级成功, 则由 DM Client模块上报服务器整个组合设备升级成功,升 级过程结束; 如果第一 Update Agent模块升级失败, 则第一 Update Agent 模块将升级失败的结果通知第二 Update Agent模块, 执行后续操作。 这里, 在本步骤执行过程中, 受控子设备仍然保持运行状态。
步骤 908: 受控子设备收到主控子设备反馈的升级失败的结果, 重启进 入回退模式, 利用回退差分包进行回退, 回退完成后通知主控子设备或主 控子设备查询受控子设备的回退结果, 之后主控子设备向服务器上报整个 组合设备升级失败;
具体为: 第二 Update Agent模块收到第一 Update Agent模块反馈的升 级失败的结果后重启进入回退模式, 回退完成后通知第一 Update Agent模 块或第一 Update Agent模块查询第二 Update Agent模块的回退结果, 之后 由 DM Client模块向服务器上报整个组合设备升级失败。
这里, 所述回退为回退到升级前的版本, 此外, 由于升级差分包和回 退差分包是成对设计的, 如果升级能成功, 则回退一定能成功; 在受控子 设备回退过程中, 主控子设备一直保持运行状态。
步骤 909: 升级过程结束。
步骤 603d所述不带校验的升级方式流程具体如图 10所示, 包括以下 步骤:
步骤 1001 : 主控子设备存储主控子设备升级差分包和主控子设备回退 差分包, 并将受控子设备升级差分包和受控子设备回退差分包传输给受控 子设备;
具体为: 第一 Update Agent模块将主控子设备升级差分包和主控子设 备回退差分包存储于第一 Flash模块中,并将受控子设备升级差分包和受控 子设备回退差分包传输给受控子设备中的 DM Mgr模块暂存;
这里, DM Mgr模块完成对受控子设备升级差分包的校验后,将受控子 设备升级差分包发送到第二 Update Agent模块, 第二 Update Agent模块将 受控子设备升级差分包传输到第二 Flash模块中存储, 以备后续升级使用。
步骤 1002 ~ 1003: 受控子设备检测所接收的升级包中是否含有受控子 设备回退差分包, 如果没有受控子设备回退差分包, 则通知主控子设备, 由主控子设备上报服务器整个组合设备升级失败, 之后执行步骤 1007; 如 果含有受控子设备回退差分包, 则执行步骤 1004;
具体为: DM Mgr模块检测所暂存的升级包中是否含有受控子设备回退 差分包, 如果 DM Mgr模块未检测到受控子设备回退差分包, 将检测结果 经第二 Update Agent模块发送到第一 Update Agent模块, 再由 DM Client 模块上报服务器整个组合设备的升级失败; 如果 DM Mgr模块检测到受控 子设备回退差分包, 则执行后续操作。
这里, 所述受控子设备对升级包进行检测的目的在于: 避免受控子设 备的升级包在传输过程中损坏。
步骤 1004: 受控子设备通知主控子设备升级包接收完毕, 主控子设备 收到受控子设备升级包接收完毕的通知后, 主控子设备与受控子设备同时 重启进入升级模式升级;
具体为: 第二 Update Agent模块将升级包接收完毕的结果发送到第一 Update Agent模块,之后主控子设备与受控子设备同时重启进入升级模式升 级。
步骤 1005: 升级完成后主控子设备与受控子设备分别重启, 受控子设 备将升级结果上报给主控子设备, 主控子设备根据两个子设备的升级结果, 对出现的四种情况执行对应的操作: 如果主控子设备和受控子设备均升级 成功,则执行步骤 1006e;如果主控子设备升级成功,受控子设备升级失败, 则执行步骤 1006f; 如果主控子设备升级失败, 受控子设备升级成功, 则执 行步骤 1006g ; 如果主控子设备和受控子设备均升级失败, 则执行步骤 1006h;
步骤 1006e: 主控子设备和受控子设备删除各自的回退差分包, 之后主 控子设备上报服务器整个组合设备升级成功, 之后执行步骤 1007; 具体为: 第一 Update Agent模块确定第一 Update Agent模块和第二 Update Agent模块均升级成功时, 第一 Update Agent模块和第二 Update Agent模块删除各自的回退差分包, 之后由 DM Client模块上报服务器整个 组合设备升级成功, 升级过程结束。
步骤 1006f: 主控子设备通知受控子设备删除受控子设备回退差分包, 主控子设备重启进入回退模式, 利用回退差分包进行回退, 回退成功后上 报服务器整个组合设备升级失败, 之后执行步骤 1007;
具体为: 第一 Update Agent模块确定第一 Update Agent模块升级成功 而第二 Update Agent模块失败时, 主控子设备重启进入回退模式, 第一 Update Agent模块利用回退差分包进行回退, 回退成功后由 DM Client模块 上报服务器整个组合设备升级失败, 升级过程结束。
步骤 1006g: 主控子设备删除主控子设备回退差分包, 并通知受控子设 备重启进入回退模式, 利用受控子设备回退差分包进行回退, 回退完成后 上报主控子设备, 主控子设备上报服务器整个组合设备升级失败, 之后执 行步骤 1007;
具体为: 第一 Update Agent模块确定第一 Update Agent模块升级失败 而第二 Update Agent模块成功时, 第一 Update Agent模块删除主控子设备 回退差分包, 并通知受控子设备重启进入回退模式, 第二 Update Agent模 块利用受控子设备回退差分包进行回退,回退完成后上报第一 Update Agent 模块,由 DM Client模块上报服务器整个组合设备升级失败,升级过程结束。
步骤 1006h: 主控子设备和受控子设备删除各自的回退差分包,之后主 控子设备上报服务器整个组合设备升级失败, 之后执行步骤 1007;
具体为: 第一 Update Agent模块确定第一 Update Agent模块和第二 Update Agent模块均升级失败时, 由 DM Client模块上报服务器整个组合设 备升级失败, 升级过程结束。 步骤 1007: 升级过程结束。
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围, 凡在本发明的精神和原则之内所作的任何修改、 等同替换和改进 等, 均应包含在本发明的保护范围之内。

Claims

权利要求书
1、 一种独占闪存 Flash组合设备空中固件升级 FOTA方法, 其特征在 于, 该方法包括:
从 务器下载并解析组合设备的升级包, 确定当前下载升级包的结构; 作。
2、 根据权利要求 1所述的独占 Flash组合设备 FOTA方法, 其特征在 于, 所述组合设备包括: 主控子设备和受控子设备;
相应的, 从服务器下载并解析为: 从服务器下载组合设备的升级包到 主控子设备, 由主控子设备对当前下载的升级包进行解析。
3、 根据权利要求 2所述的独占 Flash组合设备 FOTA方法, 其特征在 于, 所述升级包包括主控子设备升级差分包和受控子设备升级差分包;
4、 根据权利要求 3所述的独占 Flash组合设备 FOTA方法, 其特征在 于, 所述带校验的并行的升级方式操作流程具体为:
主控子设备和受控子设备接收到各自的升级包并校验成功后, 主控子 设备和受控子设备同时重启, 进入升级模式, 主控子设备和受控子设备均 完成升级后, 主控子设备向服务器上报组合设备升级成功, 升级过程结束; 主控子设备和受控子设备中任意一个的升级包校验失败时, 组合设备的升 级状态为升级失败, 升级过程结束。
5、 根据权利要求 2所述的独占 Flash组合设备 FOTA方法, 其特征在 于, 所述升级包仅包括主控子设备升级差分包或受控子设备升级差分包; 验的串行的升级方式对所述组合设备执行升级操作。
6、 根据权利要求 5所述的独占 Flash组合设备 FOTA方法, 其特征在 于, 所述带校验的串行的升级方式操作流程具体为:
主控子设备或受控子设备存储自身的升级差分包后重启进入升级模 式, 对主控子设备升级差分包或受控子设备升级差分包进行校验, 如果校 验成功, 则执行后续升级操作并向服务器上报升级结果, 之后再从服务器 上选择一次升级, 下载未升级的另一子设备的升级包完成升级操作。
7、 根据权利要求 2所述的独占 Flash组合设备 FOTA方法, 其特征在 于, 所述升级包包括主控子设备升级差分包、 受控子设备升级差分包和受 控子设备回退差分包; 验的分布带回退的升级方式对所述组合设备执行升级操作。
8、 根据权利要求 7所述的独占 Flash组合设备 FOTA方法, 其特征在 于 , 所述带校验的分布带回退的升级方式操作流程具体为:
受控子设备检测所接收的升级包中含有受控子设备回退差分包后对受 控子设备升级差分包和受控子设备回退差分包进行校验, 校验成功后, 受 控子设备执行升级操作, 如果受控子设备升级失败, 则组合设备升级失败, 升级过程结束; 如果受控子设备升级成功, 则主控子设备进入升级模式, 如果主控子设备升级成功, 则组合设备升级成功; 如果主控子设备升级失 败, 则受控子设备重启进入回退模式执行回退操作, 组合设备升级失败, 升级过程结束。
9、 根据权利要求 2所述的独占 Flash组合设备 FOTA方法, 其特征在 于, 所述升级包包括主控子设备升级差分包、 主控子设备回退差分包、 受 控子设备升级差分包和受控子设备回退差分包; 校验的升级方式对所述组合设备执行升级操作。
10、根据权利要求 9所述的独占 Flash组合设备 FOTA方法, 其特征在 于, 所述不带校验的分布带回退的升级方式操作流程具体为:
受控子设备检测所接收的升级包中是否含有受控子设备回退差分包, 如果没有受控子设备回退差分包, 则组合设备升级失败, 升级过程结束; 如果含有受控子设备回退差分包, 则主控子设备与受控子设备同时重启, 进入升级模式升级, 升级完成后主控子设备与受控子设备分别重启, 主控 子设备根据两个子设备的升级结果执行对应的操作。
11、 一种独占 Flash组合设备 FOTA装置, 其特征在于, 该装置包括: 下载及解析模块, 用于从服务器下载并解析组合设备的升级包, 确定 当前下载升级包的结构; 合设备执行升级操作。
12、 根据权利要求 11所述的独占 Flash组合设备 FOTA装置, 其特征 在于, 所述组合设备包括: 主控子设备和受控子设备;
相应的, 所述下载及解析模块为主控子设备中的设备管理客户端 DM Client模块;
所述升级模块为: 主控子设备中的第一升级代理 Update Agent模块和 受控子设备中的第二 Update Agent模块;
其中, 所述 DM Client模块, 用于下载并解析组合设备的升级包; 校验 主控子设备的升级包; 接收第一 Update Agent模块上报的组合设备的升级 状态, 并上报给服务器;
所述第一 Update Agent模块, 用于根据组合设备的升级包的解析结果 选择组合设备对应的升级方式, 并执行主控子设备的升级操作; 接收主控 子设备的升级包的校验结果, 并向 DM Client模块上报组合设备的升级结 果; 所述第二 Update Agent模块, 用于执行受控子设备的升级操作。
13、 根据权利要求 11或 12所述的独占 Flash组合设备 FOTA装置, 其 特征在于, 所述主控子设备还包括第一 Flash模块; 所述受控子设备还包括 第二 Flash模块; 其中,
所述第一 Flash模块, 用于存储主控子设备的升级包;
所述第二 Flash模块, 用于存储受控子设备的升级包;
相应的, 所述第一 Update Agent模块, 还用于将主控子设备的升级包 存储于第一 Flash模块中。
14、 根据权利要求 13所述的独占 Flash组合设备 FOTA装置, 其特征 在于, 所述主控子设备和受控子设备中均包括输入 /输出 I/O模块, 用于受 控子设备的升级包的传输、 以及主控子设备和受控子设备的信息传输; 相应的, 所述第一 Update Agent模块, 还用于将受控子设备的升级包 传输到设备管理控制 DM Mgr模块中暂存; 查询或接收受控子设备的升级 包接收完毕、 检测或校验结果、 受控子设备的升级或回退结果;
所述第二 Update Agent模块, 还用于上报受控子设备的升级包接收、 检测或校验结果、 受控子设备的升级或回退结果。
15、 根据权利要求 14所述的独占 Flash组合设备 FOTA装置, 其特征 在于, 所述受控子设备中还包括 DM Mgr模块, 用于暂存、 校验和检测受 控子设备的升级包; 将受控子设备的升级包传输给第二 Update Agent模块; 相应的, 所述第二 Update Agent模块, 还用于接收 DM Mgr模块受控子设 备的升级包的校验、 检测结果; 接收 DM Mgr模块发送的受控子设备的升 级包并将受控子设备的升级包发送给第二 Flash模块。
PCT/CN2009/075868 2009-05-26 2009-12-23 一种独占闪存组合设备空中固件升级方法及装置 WO2010135897A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910085633.6 2009-05-26
CN 200910085633 CN101593119B (zh) 2009-05-26 2009-05-26 一种独占闪存组合设备空中固件升级方法及装置

Publications (1)

Publication Number Publication Date
WO2010135897A1 true WO2010135897A1 (zh) 2010-12-02

Family

ID=41407789

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/075868 WO2010135897A1 (zh) 2009-05-26 2009-12-23 一种独占闪存组合设备空中固件升级方法及装置

Country Status (2)

Country Link
CN (1) CN101593119B (zh)
WO (1) WO2010135897A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107402795A (zh) * 2017-08-04 2017-11-28 北京煜邦电力技术股份有限公司 一种固件升级方法和系统
CN114019843A (zh) * 2021-10-12 2022-02-08 浙江中控技术股份有限公司 一种基于fpga实现hart通信的用户空间i/o框架

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101593119B (zh) * 2009-05-26 2013-07-03 中兴通讯股份有限公司 一种独占闪存组合设备空中固件升级方法及装置
CN101916200B (zh) * 2010-08-03 2015-08-26 中兴通讯股份有限公司 终端升级的方法、终端升级回退的方法和升级管理中心
CN103150193A (zh) * 2013-04-10 2013-06-12 天津三星光电子有限公司 一种移动终端的软件升级方法
CN106325892A (zh) * 2015-06-15 2017-01-11 中兴通讯股份有限公司 差分回退升级方法及装置
CN105897863A (zh) * 2016-03-28 2016-08-24 努比亚技术有限公司 移动终端版本升级回退方法及装置
CN109905256A (zh) * 2017-12-07 2019-06-18 阿里巴巴集团控股有限公司 一种固件更新方法和装置
CN108667908B (zh) * 2018-04-13 2021-04-06 广州虎牙信息科技有限公司 客户端交互时的信息反馈方法、装置、设备及存储介质
CN110337038B (zh) * 2019-07-09 2021-05-11 深圳市友华通信技术有限公司 融合网关设备的升级方法
CN111506326A (zh) * 2020-04-07 2020-08-07 Oppo(重庆)智能科技有限公司 终端设备的升级方法、装置、设备及存储介质
CN115729573A (zh) * 2021-09-01 2023-03-03 富联精密电子(天津)有限公司 固件升级方法、装置、芯片及计算机存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1991761A (zh) * 2005-12-30 2007-07-04 北京华旗资讯数码科技有限公司 一种固件程序在线升级的方法及硬件设备
CN101105756A (zh) * 2007-08-21 2008-01-16 中兴通讯股份有限公司 多核终端的固件升级方法
CN101399852A (zh) * 2007-09-26 2009-04-01 中兴通讯股份有限公司 通过网络接口实现无线接入盒升级的方法
CN101593119A (zh) * 2009-05-26 2009-12-02 中兴通讯股份有限公司 一种独占闪存组合设备空中固件升级方法及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1830256B1 (en) * 2006-03-01 2014-08-13 Axis AB Method and system for upgrading a plurality of devices
CN101383847A (zh) * 2008-08-25 2009-03-11 中兴通讯股份有限公司 一种无线数据终端的固件升级方法及装置
CN101420431B (zh) * 2008-11-28 2012-07-04 中兴通讯股份有限公司 Fota服务器、终端及其软件版本的处理方法和系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1991761A (zh) * 2005-12-30 2007-07-04 北京华旗资讯数码科技有限公司 一种固件程序在线升级的方法及硬件设备
CN101105756A (zh) * 2007-08-21 2008-01-16 中兴通讯股份有限公司 多核终端的固件升级方法
CN101399852A (zh) * 2007-09-26 2009-04-01 中兴通讯股份有限公司 通过网络接口实现无线接入盒升级的方法
CN101593119A (zh) * 2009-05-26 2009-12-02 中兴通讯股份有限公司 一种独占闪存组合设备空中固件升级方法及装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107402795A (zh) * 2017-08-04 2017-11-28 北京煜邦电力技术股份有限公司 一种固件升级方法和系统
CN114019843A (zh) * 2021-10-12 2022-02-08 浙江中控技术股份有限公司 一种基于fpga实现hart通信的用户空间i/o框架
CN114019843B (zh) * 2021-10-12 2023-11-28 浙江中控技术股份有限公司 一种基于fpga实现hart通信的用户空间i/o框架

Also Published As

Publication number Publication date
CN101593119A (zh) 2009-12-02
CN101593119B (zh) 2013-07-03

Similar Documents

Publication Publication Date Title
WO2010135897A1 (zh) 一种独占闪存组合设备空中固件升级方法及装置
WO2021083244A1 (zh) 一种mesh网络设备的多设备批量固件升级的方法
CN100385862C (zh) 一种对光网络单元onu进行版本升级的方法
WO2017067448A1 (zh) 一种无线固件升级方法、系统及计算机存储介质
WO2016090846A1 (zh) 一种网络版本升级的方法及装置
WO2015051647A1 (zh) 一种固件的升级方法和系统、上位机和光模块
WO2011006378A1 (zh) 无线数据卡的升级方法和系统
WO2011006328A1 (zh) 设备固件升级系统及方法、设备管理服务器及移动终端
CN105224362A (zh) 上位机对下位机进行程序升级的方法及系统
CN102185754B (zh) 交换机系统中板卡的升级方法
WO2011137793A1 (zh) 实现zigbee设备远程升级的方法、装置及网络系统
WO2011156998A1 (zh) 一种实现设备自动配置的系统及方法
CN103685487A (zh) 无线通信网络中的子节点升级方法
CN102098590A (zh) 光网络单元固件版本自动升级方法及系统
CN110855496B (zh) 一种基于sig mesh的ota升级方法
CN106886438A (zh) 基于fpga的系统远程更新方法
WO2011137640A1 (zh) 文件传输方法、文件发送装置和文件接收装置
CN101605189A (zh) 智能平台管理控制器的在线升级系统和方法
WO2012016409A1 (zh) 终端升级的方法、终端升级回退的方法和升级管理中心
WO2018010597A1 (zh) 应用于智能设备的无线下载安装方法及系统
CN112383908A (zh) 一种蓝牙设备的升级方法及系统
CN102970359A (zh) 一种基于主从设备的远程升级方法和装置
CN101056209A (zh) 一种无线终端映像文件维护方法及设备
CN101695027A (zh) 一种分布式通信系统软件升级方法、装置和网络设备
CN103634398A (zh) 一种基于most网络的软件升级方法

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

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

Country of ref document: EP

Kind code of ref document: A1