WO2022095199A1 - 一种嵌入式设备的差分升级方法及相关组件 - Google Patents

一种嵌入式设备的差分升级方法及相关组件 Download PDF

Info

Publication number
WO2022095199A1
WO2022095199A1 PCT/CN2020/134831 CN2020134831W WO2022095199A1 WO 2022095199 A1 WO2022095199 A1 WO 2022095199A1 CN 2020134831 W CN2020134831 W CN 2020134831W WO 2022095199 A1 WO2022095199 A1 WO 2022095199A1
Authority
WO
WIPO (PCT)
Prior art keywords
version
upgrade
firmware
difference
embedded device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2020/134831
Other languages
English (en)
French (fr)
Inventor
刘向伦
陆楷文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Inc
Original Assignee
Goertek Inc
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 Goertek Inc filed Critical Goertek Inc
Publication of WO2022095199A1 publication Critical patent/WO2022095199A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/658Incremental updates; Differential updates
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Definitions

  • the present application relates to the technical field of embedded systems, and in particular, to a differential upgrade method, apparatus, system, electronic device and storage medium for embedded devices.
  • Embedded devices are application-centric, and through modern computer technology, the software and hardware are tailored to suit specific application environments. Embedded devices have been used in daily life, and they can be flexibly controlled in terms of function, cost, size, power consumption, reliability, etc., such as smartphones, wearable devices, wireless headsets, speakers, set-top boxes, and vehicle-mounted devices of embedded devices.
  • the differential upgrade means that the device downloads the upgrade package content according to the difference between the current firmware data and the firmware data to be upgraded in the upgrade package, and then only covers the difference in the local old version of the device.
  • the current differential upgrade method of embedded devices cannot meet the problem that there are multiple old versions on the market that need to be quickly upgraded.
  • the user's current embedded device version number is V3. If you want to upgrade to V6, you can only upgrade to V6 version by version, that is, V3 is first upgraded to V4, then upgraded to V5, and finally upgraded to In the V6 version, this method is cumbersome, and it will also result in a waste of cost and resources, and the user experience will be degraded.
  • the purpose of the present application is to provide a differential upgrade method for an embedded device, which can realize that the embedded device can be upgraded from the current firmware version to the specified upgrade firmware version only by performing a differential upgrade once.
  • the user's upgrade operation can also be optimized, that is, there is no need for the user to request to download the version difference table corresponding to other firmware versions, and only based on the version difference set, any firmware version can be differentially upgraded to the specified upgrade firmware version. Its specific plan is as follows:
  • the present application discloses a differential upgrade method for an embedded device, including:
  • the version difference set sent by the upgrade server; the version difference set stores the difference information between each firmware version;
  • the firmware data sent by the upgrade server is received, and the firmware data of the difference location is updated according to the firmware data.
  • determine the version difference information corresponding to the current firmware version of the embedded device and the specified upgrade firmware version according to the version difference set, and confirm the difference position according to the difference information including:
  • the position of the specific element value in the version difference information is confirmed, and the position is determined as the difference position.
  • the method before determining the version difference information corresponding to the current firmware version of the embedded device and the specified upgrade firmware version according to the version difference set, and confirming the difference position according to the version difference information, the method further includes:
  • the step of determining the version difference information corresponding to the current firmware version of the embedded device and the specified upgrade firmware version according to the version difference set, and confirming the difference position according to the version difference information is performed.
  • the upgrade server before obtaining the version difference set sent by the upgrade server, it also includes:
  • the step of obtaining the version difference set sent by the upgrade server is performed.
  • the method further includes:
  • a differential upgrade device for embedded equipment including:
  • an acquisition module for acquiring the version difference set sent by the upgrade server;
  • the version difference set stores the difference information between each firmware version;
  • a determining module configured to determine the version difference information corresponding to the current firmware version of the embedded device and the specified upgrade firmware version according to the version difference set, and confirm the difference position according to the version difference information
  • a sending module configured to send a download request of firmware data to the upgrade server according to the difference position
  • a receiving module configured to receive firmware data sent by the upgrade server, and update the firmware data of the difference location according to the firmware data.
  • the determining module includes:
  • a first determining unit configured to confirm the version difference information corresponding to the current firmware version of the embedded device and the designated upgrade firmware from the Bit-map table corresponding to the version difference set;
  • the second determining unit is configured to confirm the location of the specific element value in the version difference information, and determine the location as the difference location.
  • the present application discloses a differential upgrade system for embedded devices, including:
  • the embedded device is used to implement the steps of the above-mentioned differential upgrade method for the embedded device when executing the embedded device program.
  • an electronic device comprising:
  • Memory for storing embedded device programs
  • the processor is configured to implement the steps of the above-mentioned differential upgrade method for the embedded device when executing the embedded device program.
  • the present application discloses a storage medium, on which an embedded device program is stored, and when the embedded device program is executed by a processor, the steps of the above-mentioned differential upgrade method for an embedded device are implemented.
  • the present application provides a differential upgrade method for an embedded device, including: acquiring a version difference set sent by an upgrade server; the version difference set stores difference information between firmware versions; determining an embedded device according to the version difference set The version difference information corresponding to the current firmware version and the specified upgrade firmware version, and confirm the difference position according to the difference information; send a download request of firmware data to the upgrade server according to the difference position; receive the firmware sent by the upgrade server data, and update the firmware data of the difference location according to the firmware data.
  • the present application determines the version difference information corresponding to the current firmware version of the embedded device and the specified upgrade firmware version according to the version difference set, and then determines the difference position according to the version difference information, and updates the firmware data of the difference position. Since the difference information corresponding to the current firmware version and the specified upgrade firmware version is stored in the version difference set, the embedded device can be upgraded from the current firmware version to the specified upgrade firmware version by only performing a differential upgrade according to the version difference set. Also, because the version difference set stores the difference information between each firmware version and the specified upgrade firmware version, the user can directly upgrade any firmware version to the latest version according to the version difference set, which can optimize the user's upgrade operation without requiring the user to download other firmware.
  • the version difference table corresponding to the firmware version can realize the upgrade of any firmware version, avoiding the need to upgrade to the specified upgrade firmware version version by version in the related technology, and the tedious upgrade process. It saves resources and costs, and effectively reduces the complexity of version management. Improve the upgrade efficiency and improve the user experience.
  • the present application also provides a differential upgrade apparatus for embedded devices, a differential upgrade system for embedded devices, an electronic device and a storage medium, which have the above beneficial effects and will not be repeated here.
  • FIG. 1 is a flowchart of a differential upgrade method for an embedded device provided by an embodiment of the present application
  • FIG. 2 is a flowchart of making a differential upgrade package according to an embodiment of the present application
  • FIG. 3 is an explanatory diagram of a generation principle of a version difference table provided by an embodiment of the present application.
  • FIG. 4 is a style diagram of a differential upgrade package provided by an embodiment of the present application.
  • full upgrade means that the device downloads all the upgrade package contents and completely covers the old local version of the device.
  • the full upgrade can ensure that all new firmware data are downloaded completely and accurately, but the problem is that as the firmware data of embedded devices becomes larger and larger, the full upgrade takes too long, resulting in a degraded user experience.
  • the current differential upgrade of embedded devices makes up for the shortcomings of the full upgrade method, but also has the disadvantage of cumbersome upgrade methods and waste of cost and resources. That is, users want to upgrade to a specified firmware version based on the current embedded device version. Need to upgrade step by step.
  • this embodiment provides a differential upgrade method for an embedded device, which can realize that the embedded device can be upgraded from a current firmware version to a specified upgrade firmware version only by performing a differential upgrade once. It can also optimize the user's upgrade operation, that is, there is no need for the user to request to download the version difference table corresponding to other firmware versions. Only according to the version difference set, any firmware version can be directly differentially upgraded to the specified upgrade firmware version at one time.
  • the specified upgrade firmware version in this embodiment generally refers to the latest firmware version.
  • FIG. 1 is a flowchart of a differential upgrade method for an embedded device provided by an embodiment of the present application, which specifically includes:
  • the execution body of this embodiment is an embedded device.
  • this embodiment does not limit the timing for the embedded device to obtain the version difference set, that is, does not limit the timing for the differential upgrade of the embedded device.
  • the embedded device may actively send a differential upgrade command to obtain the version difference set, or it may be received. When the latest firmware push message delivered by the upgrade server is reached, the version difference collection is obtained.
  • This embodiment does not limit the specific content of the differential upgrade instruction, which may include the current firmware version information of the embedded device and the specified upgrade firmware version information, or other contents.
  • This embodiment does not limit the storage form of the version difference set, which may be stored in the form of a version difference table, or may be stored in other forms, which may be set according to actual conditions. It can be understood that the difference information between the firmware versions is stored in the version difference set.
  • the differential upgrade can be performed according to the difference information of the corresponding version in the version difference set.
  • the latest firmware version is V4
  • the current firmware version of the embedded device may be V1 to V4
  • the version difference set stores the difference information between version V1 and version V4, which is recorded as V1-V4, and correspondingly, there are also V2-V4 , V3-V4.
  • any firmware version can be differentially upgraded to the specified upgrade firmware version.
  • the method may further include: receiving a push of the latest firmware issued by the upgrade server message; determine whether the version number of the current firmware version of the embedded device is smaller than the version number of the latest firmware; if it is smaller, execute the step of obtaining the version difference set sent by the upgrade server. That is, when the embedded device receives the push message of the latest firmware sent by the upgrade server, it determines whether the current embedded device firmware version is less than the version number of the latest firmware. When the current firmware version of the embedded device is less than the latest firmware version number, the Differential upgrade, and perform the get version difference set operation. It can automatically upgrade to the latest firmware version to improve the upgrade efficiency.
  • the version difference set stores the difference information between each firmware version.
  • the version difference information corresponding to the current firmware version and the specified upgrade firmware version from the version difference set, and Confirm the difference location based on the version difference information.
  • This embodiment does not limit the specific content of the version difference information, which may include the difference position, the element value corresponding to the difference position, or one or more of them, which can be set according to the actual situation.
  • the specific manner of determining the version difference information corresponding to the current firmware version and the specified upgrade firmware version is determined according to the storage method of the difference information in the version difference set, which is not limited in this embodiment.
  • the version difference information corresponding to the current firmware version of the embedded device and the specified upgrade firmware version is determined according to the version difference set, and Confirming the difference position according to the difference information may include: confirming the version difference information corresponding to the current firmware version of the embedded device and the specified upgrade firmware from the Bit-map table corresponding to the version difference set; confirming the location of the specific element value in the version difference information, and Identify the location as the difference location. That is, the version difference set stores the difference information in the form of a Bit-map table, where the Bit-map refers to marking a value corresponding to an element with one bit.
  • version difference set in this embodiment different firmware versions are compared, and the data stored in the corresponding positions are different, and are marked as specific element values.
  • This embodiment does not limit the size of the specific element value, which may be 1 or other values, and the user may set it according to the actual situation.
  • This embodiment also does not limit the unit size of the comparison between versions, which may be in units of N bits for comparison in sequence, or may be in units of megabytes for comparison in sequence, which may be limited according to actual conditions.
  • V1, V2, V3, V4, V5 the latest firmware version
  • V6 the latest firmware version
  • the firmware data of the latest version V6 and the firmware data of the old version to support the upgrade are currently 5 released versions (V1, V2, V3, V4, V5) that need to be upgraded, and the latest firmware version is V6.
  • the version difference table, the differential upgrade package information header and the firmware data corresponding to the specified upgrade firmware version are used as a complete differential upgrade package for different versions of embedded devices to perform differential upgrades according to the differential upgrade package.
  • the differential upgrade package is composed of a differential upgrade information header, a version difference table, and firmware data of a specified upgrade version.
  • the version number to be upgraded is recorded in the information header of the differential upgrade package, that is, data such as the version number and version size of the specified upgrade firmware, as well as the verification information of the version difference set and the verification information of the firmware data corresponding to the specified upgrade firmware version.
  • FIG. 2 is a flow chart of making a differential upgrade package
  • FIG. 3 is a flow chart of making a differential upgrade package
  • FIG. 3 is an explanatory diagram of the generation principle of the version difference table. Among them, the light color indicates that there is no difference in the corresponding position of the version data, and the dark color indicates that the corresponding position of the version data is different. Reference may be made to FIG. 4 for the style of the differential upgrade package in this embodiment.
  • the differential upgrade is that the embedded device downloads the firmware data according to the difference between the current firmware version data and the specified upgrade firmware version, that is, according to the difference between the current firmware version data and the specified upgrade firmware version, the firmware data is sent to the upgrade server.
  • the download request that is, the difference position, has a one-to-one correspondence with the firmware data requested to be downloaded.
  • S104 Receive the firmware data sent by the upgrade server, and update the firmware data at the difference location according to the firmware data.
  • the upgrade server When the upgrade server receives the firmware data download request sent by the embedded device, it sends the firmware data at the difference location to the embedded device, and the embedded device receives the firmware data and overwrites the current firmware data at the difference location, and receives and completes the overwriting in sequence until All difference locations are overwritten, and the differential upgrade is completed to the specified upgrade firmware version.
  • the method may further include: storing version information of the updated firmware version. That is, after the firmware data corresponding to all the difference positions are overwritten, the current firmware version is updated to the specified upgraded firmware version, and the updated firmware version information is stored, which can improve the user's upgrade experience.
  • the present embodiment determines the version difference information corresponding to the current firmware version of the embedded device and the specified upgrade firmware version according to the version difference set, and then determines the version difference information to determine the difference position, and updates the firmware data of the difference position. It can realize that the embedded device can be upgraded from the current firmware version to the specified upgrade firmware version by only one differential upgrade. Further, the user's upgrade operation can also be optimized, that is, there is no need for the user to request to download the version difference table corresponding to other firmware versions, and only based on the version difference set, any firmware version can be differentially upgraded to the specified upgrade firmware version, effectively reducing cost resources. And version management complexity, shorten upgrade time, improve upgrade efficiency, and improve user upgrade experience.
  • this embodiment provides a differential upgrade method for an embedded device.
  • FIG. 5 is a schematic diagram of another embedded device provided by the embodiment of the application.
  • Flow chart of the differential upgrade method including:
  • the obtained version difference set is verified according to the verification information in the differential upgrade package information header.
  • This embodiment does not limit the verification algorithm, which can be selected according to the actual situation. It can be understood that when the version difference set is stored in the form of a table, it is recorded as a version difference table, and together with the information header of the differential upgrade package and the firmware data corresponding to the specified upgrade firmware version, it is used as a complete differential upgrade package for the embedding of different versions.
  • the type device performs the differential upgrade according to the differential upgrade package. Verifying the version difference table can ensure the credibility of the version difference set and improve the success rate and security of the differential upgrade.
  • this embodiment checks the version difference set according to the check information in the information header of the differential upgrade package. After the check is passed, it indicates that the download of the specified upgrade firmware version difference can be requested according to the version difference set.
  • the firmware data of the location is used to update the current firmware data of the difference location, which can ensure the credibility of the version difference set, improve the security of the differential upgrade, and improve the customer experience.
  • differential upgrade apparatus for an embedded device provided by an embodiment of the present application.
  • the differential upgrade apparatus for an embedded device described below and the differential upgrade method for an embedded device described above can be referred to each other correspondingly, and the relevant modules are set 6 is a schematic structural diagram of a differential upgrade apparatus for an embedded device provided by an embodiment of the present application, including:
  • the obtaining module 601 is used for obtaining the version difference set sent by the upgrade server; the version difference set stores the difference information between each firmware version;
  • a determination module 602 configured to determine the version difference information corresponding to the current firmware version of the embedded device and the specified upgrade firmware version according to the version difference set, and confirm the difference position according to the version difference information;
  • a sending module 603, configured to send a download request of firmware data to the upgrade server according to the difference position
  • the receiving module 604 is configured to receive the firmware data sent by the upgrade server, and update the firmware data of the difference location according to the firmware data.
  • the determining module 602 includes:
  • the first determination unit is used to confirm the version difference information corresponding to the current firmware version of the embedded device and the specified upgrade firmware from the Bit-map table corresponding to the version difference set;
  • the second determining unit is configured to confirm the location of the specific element value in the version difference information, and determine the location as the difference location.
  • it also includes:
  • the information header download module is used to send a download request of the information header of the differential upgrade package to the upgrade server;
  • the information header receiving module is used to receive the information header of the differential upgrade package sent by the upgrade server;
  • the verification module is used to verify the version difference set according to the verification information in the information header of the differential upgrade package.
  • it also includes:
  • the push message receiving module is used to receive the push message of the latest firmware issued by the upgrade server;
  • the judgment module is used to judge whether the version number of the current firmware version of the embedded device is smaller than the version number of the latest firmware.
  • it also includes:
  • the storage module is used to store the version information of the firmware version corresponding to the update.
  • This application provides an electronic device, including:
  • Memory for storing embedded device programs
  • the processor is configured to implement the steps of the above-mentioned differential upgrade method for the embedded device when executing the embedded device program.
  • the embodiments of the electronic device part correspond to the embodiments of the differential upgrade method part of the embedded device
  • the embodiments of the electronic device part refer to the description of the embodiments of the differential upgrade method part of the embedded device, which will not be repeated here.
  • the following describes a storage medium provided by an embodiment of the present application.
  • the storage medium described below and the differential upgrade method for an embedded device described above may refer to each other correspondingly.
  • the present application provides a storage medium on which an embedded device program is stored, and when the embedded device program is executed by a processor, the steps of the above-mentioned differential upgrade method for an embedded device are implemented.
  • the embodiment of the storage medium part corresponds to the embodiment of the method part, for the embodiment of the storage medium part, please refer to the description of the embodiment of the differential upgrade method part of the embedded device, which will not be repeated here.
  • the steps of a method or algorithm described in connection with the embodiments disclosed herein may be directly implemented in hardware, a software module executed by a processor, or a combination of the two.
  • the software module can be placed in random access memory (RAM), internal memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other in the technical field. in any other known form of storage medium.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

一种嵌入式设备的差分升级方法、装置、系统、电子设备和存储介质,包括:获取升级服务器发送的版本差异集合;版本差异集合存储有各个固件版本之间的差异信息(S101);根据版本差异集合确定嵌入式设备当前固件版本与指定升级固件版对应的版本差异信息,并根据版本差异信息确认差异位置(S102);根据差异位置,向升级服务器发送固件数据的下载请求(S103);接收升级服务器发送的固件数据,并根据固件数据更新差异位置的固件数据(S104)。该方法能够实现嵌入式设备仅进行一次差分升级,就可实现由当前固件版本升级至指定升级固件版本;还可以优化用户的升级操作,即无需用户再请求下载其他固件版本对应的版本差异表。

Description

一种嵌入式设备的差分升级方法及相关组件
本申请要求于2020年11月05日提交中国专利局、申请号为202011225912.0、发明名称为“一种嵌入式设备的差分升级方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及嵌入式系统技术领域,特别涉及一种嵌入式设备的差分升级方法、装置、系统、电子设备和存储介质。
背景技术
嵌入式设备是以应用为中心,通过现代计算机技术,将软硬件进行剪裁以适配具体应用环境的专用计算机小型设备。嵌入式设备已遍布日常生活中,其在功能、成本、体积、功耗、可靠性等方面都可灵活控制,例如智能手机、可穿戴设备、无线耳机、音箱、机顶盒、车载设备等都是典型的嵌入式设备。
在嵌入式设备商用发布后,为了产品功能或数据的更新与维护,支持其升级功能是必不可少。比如嵌入式设备在开发或推广过程中,为产品快速上市而允许带有部分非高风险缺陷,还会出现有新的用户功能需求或性能提升要求,这些问题都可通过嵌入式设备升级功能来解决。
目前,嵌入式设备的升级方式主要有两种:全量升级,差分升级。其中,差分升级是指设备根据当前固件数据与升级包中要升级的固件数据的差异点来下载升级包内容,然后只覆盖设备本地旧版本中的差异点。不过目前嵌入式设备的差分升级方式无法满足市面上同时有多种旧版本需要快速升级的问题。例如,用户当前嵌入式设备版本号为V3版本,若要升级到V6版本,只能采用逐版本升级至V6版本的方式,即V3版本先升级到V4版本,再升级到V5版本,最终升级到V6版本,这种方式比较繁琐,也会造成成本资源的浪费,用户体验下降。
发明内容
本申请的目的是提供一种嵌入式设备的差分升级方法,能够实现嵌入式设备仅进行一次差分升级,就可实现由当前固件版本升级至指定升级固件版本。还可以优化用户的升级操作,即无需用户再请求下载其他固件版本对应的版本差异表,仅根据该版本差异集合,就可实现任意固件版本差分升级至指定升级固件版本。其具体方案如下:
第一方面,本申请公开了一种嵌入式设备的差分升级方法,包括:
获取升级服务器发送的版本差异集合;所述版本差异集合存储有各个固件版本之间的差异信息;
根据所述版本差异集合确定嵌入式设备当前固件版本与指定升级固件版对应的版本差异信息,并根据所述版本差异信息确认差异位置;
根据所述差异位置,向所述升级服务器发送固件数据的下载请求;
接收所述升级服务器发送的固件数据,并根据所述固件数据更新所述差异位置的固件数据。
可选的,根据所述版本差异集合确定嵌入式设备当前固件版本与指定升级固件版对应的版本差异信息,并根据所述差异信息确认差异位置,包括:
从所述版本差异集合对应Bit-map表中,确认所述嵌入式设备当前固件版本与所述指定升级固件对应的版本差异信息;
确认所述版本差异信息中特定元素值所在位置,并将所述位置确定为所述差异位置。
可选的,根据所述版本差异集合确定嵌入式设备当前固件版本与指定升级固件版对应的版本差异信息,并根据所述版本差异信息确认差异位置之前,还包括:
向所述升级服务器发送差分升级包信息头的下载请求;
接收所述升级服务器发送的所述差分升级包信息头;
根据所述差分升级包信息头中的校验信息,对所述版本差异集合进行校验;
若校验通过,则执行根据所述版本差异集合确定嵌入式设备当前固件版本与指定升级固件版对应的版本差异信息,并根据所述版本差异信息确认差异位置的步骤。
可选的,获取升级服务器发送的版本差异集合之前,还包括:
接收所述升级服务器下发的最新固件的推送消息;
判断嵌入式设备当前固件版本的版本号是否小于最新固件的版本号;
若小于,则执行所述获取升级服务器发送的版本差异集合的步骤。
可选的,接收所述固件数据,并根据所述固件数据更新所述差异信息对应位置的固件数据之后,还包括:
存储更新后对应的固件版本的版本信息。
第二方面,本申请公开了一种嵌入式设备的差分升级装置,包括:
获取模块,用于获取升级服务器发送的版本差异集合;所述版本差异集合存储有各个固件版本之间的差异信息;
确定模块,用于根据所述版本差异集合确定嵌入式设备当前固件版本与指定升级固件版对应的版本差异信息,并根据所述版本差异信息确认差异位置;
发送模块,用于根据所述差异位置,向所述升级服务器发送固件数据的下载请求;
接收模块,用于接收所述升级服务器发送的固件数据,并根据所述固件数据更新所述差异位置的固件数据。
可选的,所述确定模块,包括:
第一确定单元,用于从所述版本差异集合对应Bit-map表中,确认所述嵌入式设备当前固件版本与所述指定升级固件对应的版本差异信息;
第二确定单元,用于确认所述版本差异信息中特定元素值所在位置,并将所述位置确定为所述差异位置。
第三方面,本申请公开了一种嵌入式设备的差分升级系统,包括:
升级服务器,用于发送版本差异集合和固件数据至嵌入式设备;
所述嵌入式设备,用于执行嵌入式设备程序时实现如上述嵌入式设备的差分升级方法的步骤。
第三方面,本申请公开了一种电子设备,包括:
存储器,用于存储嵌入式设备程序;
处理器,用于执行所述嵌入式设备程序时实现如上述嵌入式设备的差分升级方法的步骤。
第四方面,本申请公开了一种存储介质,所述存储介质上存储有嵌入式设备程序,所述嵌入式设备程序被处理器执行时实现如上述嵌入式设备的差分升级方法的步骤。
本申请提供一种嵌入式设备的差分升级方法,包括:获取升级服务器发送的版本差异集合;所述版本差异集合存储有各个固件版本之间的差异信息;根据所述版本差异集合确定嵌入式设备当前固件版本与指定升级固件版对应的版本差异信息,并根据所述差异信息确认差异位置;根据所述差异位置,向所述升级服务器发送固件数据的下载请求;接收所述升级服务器发送的固件数据,并根据所述固件数据更新所述差异位置的固件数据。
可见,本申请根据版本差异集合,确定嵌入式设备当前固件版本与指定升级固件版本对应的版本差异信息,进而根据版本差异信息确定差异位置,并更新差异位置的固件数据。由于版本差异集合中存储有当前固件版本与指定升级固件版本对应的差异信息,所以嵌入式设备根据版本差异集合,仅进行一次差分升级,就可实现由当前固件版本升级至指定升级固件版本。还因为版本差异集合存储有各个固件版本与指定升级固件版本之间的差异信息,用户可以根据版本差异集合将任意固件版本直接升级至最新版本,可以优化用户的升级操作,无需用户再请求下载其他固件版本对应的版本差异表,就可实现任意固件版本升级,避免了相关技术中需要逐版本升级到指定升级固件版本,升级过程繁琐的缺陷,节约了资源与成本,有效降低版本管理复杂度,提高了升级效率,改善用户体验。本申请同时还提供了一种嵌入式设备的差分升级装置、一种嵌入式设备的差分升级系统、一种电子设备和存储介质,具有上述有益效果,在此不再赘述。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实 施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。
图1为本申请实施例所提供的一种嵌入式设备的差分升级方法的流程图;
图2为本申请实施例所提供的一种差分升级包制作流程图;
图3为本申请实施例所提供的一种版本差异表生成原理说明图;
图4为本申请实施例所提供的一种差分升级包样式图;
具体实施方式
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
目前,嵌入式设备的升级方式主要有两种:全量升级,差分升级。全量升级是指设备下载全部的升级包内容,并完全覆盖设备本地的旧版本。全量升级能保证完整准确的把所有新固件数据都下载完成,但存在的问题是,随着嵌入式设备固件数据越来越大,全量升级的耗时过长,造成用户的体验下降。而当前的嵌入式设备差分升级,在弥补了全量升级方法的缺陷上,也存在升级方式繁琐,造成成本资源浪费的缺陷,即用户基于当前嵌入式设备版本,想要升级到指定的固件版本,需要逐级升级。
基于上述技术问题,本实施例提供一种嵌入式设备的差分升级方法,能够实现嵌入式设备仅进行一次差分升级,就可实现由当前固件版本升级至指定升级固件版本。还可以优化用户的升级操作,即无需用户再请求下载其他固件版本对应的版本差异表,仅根据该版本差异集合,就可实现任意固件版本一次直接差分升级至指定升级固件版本,需要说明的是,本实施例中指定升级固件版本通常指的是最新固件版本。具体请参考图1,图1为本申请实施例所提供的一种嵌入式设备的差分升级方法的流程图,具体包括:
S101、获取升级服务器发送的版本差异集合;版本差异集合存储有各个固件版本之间的差异信息。
本实施例的执行主体为嵌入式设备。相应的,本实施例并不限定嵌入式设备获取版本差异集合的时机,即不限定嵌入式设备差分升级的时机,可以是嵌入式设备主动发送差分升级指令来获取版本差异集合,也可以是接收到升级服务器下发的最新固件推送消息时,获取版本差异集合。本实施例并不限定差分升级指令的具体内容,可以包括嵌入式设备当前固件版本信息与指定升级固件版本信息,也可以是其他内容。
本实施例并不限定版本差异集合的存储形式,可以是以版本差异表的形式存储,也可以是以其他形式存储,可以根据实际情况进行设定。可以理解的是,版本差异集合中存储有各个固件版本之间的差异信息,当用户对嵌入式设备进行差分升级时,就可以根据版本差异集合中对应版本的差异信息进行差分升级。例如,最新固件版本为V4,嵌入式设备当前固件版本可能为V1至V4,那么版本差异集合中存储有版本V1与版本V4的差异信息,记为V1-V4,相应的,还有V2-V4,V3-V4。不仅能够满足用户仅根据版本差异集合记录的当前固件版本与指定升级固件版本之间的差异信息,就能实现仅进行一次差分升级,就可实现由当前固件版本升级至指定升级固件版本。还由于版本差异集合存储有多个版本与指定升级固件版本之间的差异信息,因此还可以优化用户的升级操作,无需用户再请求下载当前固件版本与其他固件版本对应的版本差异信息,仅根据该版本差异集合,就可实现任意固件版本差分升级至指定升级固件版本。
在一种具体的实施例中,为了提高升级效率,实现自动升级至最新固件版本,本实施例中获取升级服务器发送的版本差异集合之前,还可以包括:接收升级服务器下发的最新固件的推送消息;判断嵌入式设备当前固件版本的版本号是否小于最新固件的版本号;若小于,则执行获取升级服务器发送的版本差异集合的步骤。即,当嵌入式设备接收到升级服务器发送的最新固件的推送消息后,判断当前嵌入式设备固件版本是否小于最新固件的版本号,当嵌入式设备当前固件版本小于最新固件版本号时,可以进行差分升级,并执行获取版本差异集合操作。可以实现自动升级至最新固件版本,提高升级效率。
S102、根据版本差异集合确定嵌入式设备当前固件版本与指定升级固件版对应的版本差异信息,并根据差异信息确认差异位置。
可以理解的是,版本差异集合中存储有各个固件版本之间的差异信息,当用户进行差分升级时,需要从版本差异集合中,确定当前固件版本与指定升级固件版本对应的版本差异信息,并根据版本差异信息确认差异位置。可以理解的是,对当前固件版本与指定升级固件版本进行对比后,对应位置存储数据不相同的,记录为版本差异信息。本实施例并不限定版本差异信息的具体内容,可以包括差异位置,可以包括差异位置对应的元素值,也可以包括其中的一种或几种,可以根据实际情况进行设定。还可以理解的是,确定当前固件版本与指定升级固件版对应的版本差异信息的具体方式,根据版本差异集合中差异信息的存储方式而定,本实施例中并不限定。
在一种具体的实施例中,为了能够快速获取到差异位置,以更新当前固件版本,本实施例中根据版本差异集合确定嵌入式设备当前固件版本与指定升级固件版对应的版本差异信息,并根据差异信息确认差异位置,可以包括:从版本差异集合对应Bit-map表中,确认嵌入式设备当前固件版本与指定升级固件对应的版本差异信息;确认版本差异信息中特定元素值所在位置,并将位置确定为差异位置。即,版本差异集合以Bit-map表的形式存储差异信息,其中,Bit-map是指用一个bit位来标记某个元素对应的值。可以理解的是,Bit-map表中存储有很多固件版本之间的差异信息,需要先确认嵌入式设备当前固件版本与指定升级固件版本对应的版本差异信息,再确定该版本差异信息中特定元素值所在位置,该位置即为当前固件版本与指定升级固件版本对应位置存储数据不相同的差异位置,以便根据该差异位置更新当前的固件数据。
需要说明的是,本实施例中的版本差异集合,是对各个不同固件版本进行对比,并将对应位置存储数据不同的,标记为特定元素值。本实施例并不限定特定元素值的大小,可以是1,也可以是其他数值,用户可以根据实际情况进行设定。本实施例也不限定版本之间对比的单位大小,可以是以N个比特为单位,依次进行对比,也可以是每兆为单位,依次进行对比,可以根据实际情况进行限定。
例如,当前有5个已发布版本(V1、V2、V3、V4、V5)需升级,要升级到最新固件版本为V6。首先,获取最新版本V6的固件数据与要支持升级的旧版本固件数据;然后,以每4K Bytes个大小比对旧版本与V6版本的差异,相 同记录为0,不同记录为1,将此记录作为Bit-map的1个bit;再将比对后每个版本的Bit-map存入版本差异集合,直到所有要支持升级的旧版本均完成记录,将每个版本的Bit-map存放到为大Bit-map即形成版本差异集合,该版本差异集合以表的形式存储,可记为版本差异表。
可以理解的是,版本差异表、差分升级包信息头和指定升级固件版本对应的固件数据一起作为完整的差分升级包,供不同版本的嵌入式设备根据该差分升级包进行差分升级。本实施例中差分升级包由差分升级信息头、版本差异表和指定升级版本固件数据组成。其中,差分升级包信息头中记录要升级的版本号即指定升级固件的版本号、版本大小等数据,以及版本差异集合的校验信息和指定升级固件版本对应固件数据的校验信息等。可参考图2、图3,图2为差分升级包的制作流程图,图3为版本差异表生成原理说明图。其中,浅色代表版本数据对应位置无差异,深色代表版本数据对应位置有差异。本实施例中差分升级包样式可参考图4。
S103、根据差异位置,向升级服务器发送固件数据的下载请求。
可以理解的是,差分升级是嵌入式设备根据当前固件版本数据与指定升级固件版本的差异点来下载固件数据,即根据当前固件版本数据与指定升级固件版本的差异位置,向升级服务器发送固件数据下载请求,也就是差异位置与请求下载的固件数据是一一对应关系。
S104、接收升级服务器发送的固件数据,并根据固件数据更新差异位置的固件数据。
当升级服务器接收到嵌入式设备发送的固件数据下载请求后,发送差异位置的固件数据到嵌入式设备,嵌入式设备接收固件数据,并覆盖差异位置的当前固件数据,依次接收并完成覆盖,直到所有差异位置覆盖完成,完成差分升级至指定升级固件版本。
为了提高用户升级体验,本实施例中接收固件数据,并根据固件数据更新差异信息对应位置的固件数据之后,还可以包括:存储更新后对应的固件版本的版本信息。即,所有差异位置对应的固件数据覆盖完后,完成更新当前固件版本至指定升级固件版本,并存储更新后的固件版本信息,能够提高用户升级体验。
基于上述技术方案,本实施例根据版本差异集合,确定嵌入式设备当前 固件版本与指定升级固件版本对应的版本差异信息,进而确定版本差异信息确定差异位置,更新差异位置的固件数据。能够实现嵌入式设备仅进行一次差分升级,就可实现由当前固件版本升级至指定升级固件版本。进一步,还可以优化用户的升级操作,即无需用户再请求下载其他固件版本对应的版本差异表,仅根据该版本差异集合,就可实现任意固件版本差分升级至指定升级固件版本,有效降低成本资源和版本管理复杂度,缩短升级时间,提高升级效率,改善用户升级体验。
基于上述实施例,为了能够保证升级的可靠性,本实施例提供一种嵌入式设备的差分升级方法,具体请参考图5,图5为本申请实施例所提供的另一种嵌入式设备的差分升级方法的流程图,包括:
S501、获取升级服务器发送的版本差异集合;版本差异集合存储有各个固件版本之间的差异信息。
S502、向升级服务器发送差分升级包信息头的下载请求,并接收升级服务器发送的差分升级包信息头。
S503、根据差分升级包信息头中的校验信息,对版本差异集合进行校验。
当接收到差分升级包信息头后,根据差分升级包信息头中的校验信息,对获取到的版本差异集合进行校验。本实施例并不限定校验的算法,可以根据实际情况进行选择。可以理解的是,当版本差异集合以表的形式存储时,记为版本差异表,与差分升级包信息头、指定升级固件版本对应的固件数据一起作为完整的差分升级包,供不同版本的嵌入式设备根据该差分升级包进行差分升级。对版本差异表进行校验,可以保证版本差异集合的可信度,提高差分升级的成功率与安全性。
S504、若校验通过,则根据版本差异集合确定嵌入式设备当前固件版本与指定升级固件版对应的版本差异信息,并根据版本差异信息确认差异位置。
S505、根据差异位置,向升级服务器发送固件数据的下载请求。
S506、接收升级服务器发送的固件数据,并根据固件数据更新差异位置的固件数据。
步骤S501、S504至步骤S506的具体内容可以参考上述实施例,本实施例不再进行赘述。
基于上述技术方案,本实施例通过根据差分升级包信息头中的校验信息,对版本差异集合进行校验,当校验通过后,说明可以根据此版本差异集合来请求下载指定升级固件版本差异位置的固件数据,以更新差异位置当前固件数据,能够保证版本差异集合的可信度,提高差分升级的安全性,改善客户体验。
下面对本申请实施例提供的一种嵌入式设备的差分升级装置进行介绍,下文描述的嵌入式设备的差分升级装置与上文描述的嵌入式设备的差分升级方法可相互对应参照,相关模块均设置于中,参考图6,图6为本申请实施例所提供的一种嵌入式设备的差分升级装置的结构示意图,包括:
在一些具体的实施例中,具体包括:
获取模块601,用于获取升级服务器发送的版本差异集合;版本差异集合存储有各个固件版本之间的差异信息;
确定模块602,用于根据版本差异集合确定嵌入式设备当前固件版本与指定升级固件版对应的版本差异信息,并根据版本差异信息确认差异位置;
发送模块603,用于根据差异位置,向升级服务器发送固件数据的下载请求;
接收模块604,用于接收升级服务器发送的固件数据,并根据固件数据更新差异位置的固件数据。
在一些具体的实施例中,确定模块602,包括:
第一确定单元,用于从版本差异集合对应Bit-map表中,确认嵌入式设备当前固件版本与指定升级固件对应的版本差异信息;
第二确定单元,用于确认版本差异信息中特定元素值所在位置,并将位置确定为差异位置。
在一些具体的实施例中,还包括:
信息头下载模块,用于向升级服务器发送差分升级包信息头的下载请求;
信息头接收模块,用于接收升级服务器发送的差分升级包信息头;
校验模块,用于根据差分升级包信息头中的校验信息,对版本差异集合进行校验。
在一些具体的实施例中,还包括:
推送消息接收模块,用于接收升级服务器下发的最新固件的推送消息;
判断模块,用于判断嵌入式设备当前固件版本的版本号是否小于最新固件的版本号。
在一些具体的实施例中,还包括:
存储模块,用于存储更新后对应的固件版本的版本信息。
由于嵌入式设备的差分升级装置部分的实施例与嵌入式设备的差分升级方法部分的实施例相互对应,因此嵌入式设备的差分升级装置部分的实施例请参见嵌入式设备的差分升级方法部分的实施例的描述,这里暂不赘述。
下面对本申请实施例提供的一种电子设备进行介绍,下文描述的电子设备与上文描述的方法可相互对应参照。
本申请提供一种电子设备,包括:
存储器,用于存储嵌入式设备程序;
处理器,用于执行嵌入式设备程序时实现如上述嵌入式设备的差分升级方法的步骤。
由于电子设备部分的实施例与嵌入式设备的差分升级方法部分的实施例相互对应,因此电子设备部分的实施例请参见嵌入式设备的差分升级方法部分的实施例的描述,这里暂不赘述。
下面对本申请实施例提供的一种存储介质进行介绍,下文描述的存储介质与上文描述的嵌入式设备的差分升级方法可相互对应参照。
本申请提供一种存储介质,存储介质上存储有嵌入式设备程序,嵌入式设备程序被处理器执行时实现如上述嵌入式设备的差分升级方法的步骤。
由于存储介质部分的实施例与方法部分的实施例相互对应,因此存储介质部分的实施例请参见嵌入式设备的差分升级方法部分的实施例的描述,这里暂不赘述。
说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的 比较简单,相关之处参见方法部分说明即可。
专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。
以上对本申请所提供的一种嵌入式设备的差分升级方法、装置、系统、电子设备及存储介质进行了详细介绍。本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想。应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以对本申请进行若干改进和修饰,这些改进和修饰也落入本申请权利要求的保护范围内。

Claims (10)

  1. 一种嵌入式设备的差分升级方法,其特征在于,包括:
    获取升级服务器发送的版本差异集合;所述版本差异集合存储有各个固件版本之间的差异信息;
    根据所述版本差异集合确定嵌入式设备当前固件版本与指定升级固件版对应的版本差异信息,并根据所述版本差异信息确认差异位置;
    根据所述差异位置,向所述升级服务器发送固件数据的下载请求;
    接收所述升级服务器发送的固件数据,并根据所述固件数据更新所述差异位置的固件数据。
  2. 根据权利要求1所述的嵌入式设备的差分升级方法,其特征在于,根据所述版本差异集合确定嵌入式设备当前固件版本与指定升级固件版对应的版本差异信息,并根据所述差异信息确认差异位置,包括:
    从所述版本差异集合对应Bit-map表中,确认所述嵌入式设备当前固件版本与所述指定升级固件对应的版本差异信息;
    确认所述版本差异信息中特定元素值所在位置,并将所述位置确定为所述差异位置。
  3. 根据权利要求1所述的嵌入式设备的差分升级方法,其特征在于,根据所述版本差异集合确定嵌入式设备当前固件版本与指定升级固件版对应的版本差异信息,并根据所述版本差异信息确认差异位置之前,还包括:
    向所述升级服务器发送差分升级包信息头的下载请求;
    接收所述升级服务器发送的所述差分升级包信息头;
    根据所述差分升级包信息头中的校验信息,对所述版本差异集合进行校验;
    若校验通过,则执行根据所述版本差异集合确定嵌入式设备当前固件版本与指定升级固件版对应的版本差异信息,并根据所述版本差异信息确认差异位置的步骤。
  4. 根据权利要求1所述的嵌入式设备的差分升级方法,其特征在于,获取升级服务器发送的版本差异集合之前,还包括:
    接收所述升级服务器下发的最新固件的推送消息;
    判断嵌入式设备当前固件版本的版本号是否小于最新固件的版本号;若小于,则执行所述获取升级服务器发送的版本差异集合的步骤。
  5. 根据权利要求1所述的嵌入式设备的差分升级方法,其特征在于,接收所述固件数据,并根据所述固件数据更新所述差异信息对应位置的固件数据之后,还包括:
    存储更新后对应的固件版本的版本信息。
  6. 一种嵌入式设备的差分升级装置,其特征在于,包括:
    获取模块,用于获取升级服务器发送的版本差异集合;所述版本差异集合存储有各个固件版本之间的差异信息;
    确定模块,用于根据所述版本差异集合确定嵌入式设备当前固件版本与指定升级固件版对应的版本差异信息,并根据所述版本差异信息确认差异位置;
    发送模块,用于根据所述差异位置,向所述升级服务器发送固件数据的下载请求;
    接收模块,用于接收所述升级服务器发送的固件数据,并根据所述固件数据更新所述差异位置的固件数据。
  7. 根据权利要求6所述的嵌入式设备的差分升级装置,其特征在于,所述确定模块,包括:
    第一确定单元,用于从所述版本差异集合对应Bit-map表中,确认所述嵌入式设备当前固件版本与所述指定升级固件对应的版本差异信息;
    第二确定单元,用于确认所述版本差异信息中特定元素值所在位置,并将所述位置确定为所述差异位置。
  8. 一种嵌入式设备的差分升级系统,其特征在于,包括:
    升级服务器,用于发送版本差异集合和固件数据至嵌入式设备;
    所述嵌入式设备,用于执行嵌入式设备程序时实现如权利要求1至5任一项所述嵌入式设备的差分升级方法的步骤。
  9. 一种电子设备,其特征在于,包括:
    存储器,用于存储嵌入式设备程序;
    处理器,用于执行所述嵌入式设备程序时实现如权利要求1至5任一项所述的嵌入式设备的差分升级方法的步骤。
  10. 一种存储介质,其特征在于,所述存储介质上存储有嵌入式设备程序,所述嵌入式设备程序被处理器执行时实现如权利要求1至5任一项所述的嵌入式设备的差分升级方法的步骤。
PCT/CN2020/134831 2020-11-05 2020-12-09 一种嵌入式设备的差分升级方法及相关组件 Ceased WO2022095199A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011225912.0A CN112328293A (zh) 2020-11-05 2020-11-05 一种嵌入式设备的差分升级方法及相关组件
CN202011225912.0 2020-11-05

Publications (1)

Publication Number Publication Date
WO2022095199A1 true WO2022095199A1 (zh) 2022-05-12

Family

ID=74316985

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/134831 Ceased WO2022095199A1 (zh) 2020-11-05 2020-12-09 一种嵌入式设备的差分升级方法及相关组件

Country Status (2)

Country Link
CN (1) CN112328293A (zh)
WO (1) WO2022095199A1 (zh)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115174389A (zh) * 2022-07-07 2022-10-11 国网浙江省电力有限公司物资分公司 一种升级方法、装置、设备及可读存储介质
CN116521210A (zh) * 2023-04-18 2023-08-01 宁夏隆基宁光仪表股份有限公司 一种物联网水表固件差量升级的方法
CN116781686A (zh) * 2023-07-03 2023-09-19 广州三晶电气股份有限公司 光伏逆变器固件升级方法、装置及系统
CN118227174A (zh) * 2024-05-24 2024-06-21 东方旭能(山东)科技发展有限公司 一种基于用电信息管理终端嵌入式操作系统远程升级方法
CN118368308A (zh) * 2024-06-14 2024-07-19 天津广瑞达汽车电子有限公司 电动汽车控制器的远程升级方法及系统
US20240394032A1 (en) * 2023-05-22 2024-11-28 Dell Products L.P. Framework for upgrading firmware of disk array enclosures (daes)
CN121542683A (zh) * 2026-01-22 2026-02-17 宁德时代新能源科技股份有限公司 产线数据采集方法、装置、设备及存储介质

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113553077A (zh) * 2021-05-31 2021-10-26 宁波三星医疗电气股份有限公司 一种智能电表的固件升级方法及智能电表
CN113721967B (zh) 2021-08-30 2024-07-05 苏州磐联集成电路科技股份有限公司 差分包生成方法,差分包生成设备,及升级方法
CN113971287A (zh) * 2021-10-14 2022-01-25 深圳市戴升智能科技有限公司 基于LoRa通信的批量升级方法、升级系统
CN113986311B (zh) * 2021-12-09 2025-09-05 北京奕斯伟计算技术股份有限公司 软件升级方法、装置、电子设备及计算机可读存储介质
CN116909593B (zh) * 2022-12-22 2024-11-15 中移物联网有限公司 一种固件升级方法、装置、网络侧设备、终端及通信设备
CN116009923A (zh) * 2023-02-17 2023-04-25 山东云海国创云计算装备产业创新中心有限公司 一种固件差分升级的控制方法、装置及存储介质
CN116319751A (zh) * 2023-03-13 2023-06-23 武汉理工大学 一种船舶设备的远程升级系统和方法
CN116582525A (zh) * 2023-04-21 2023-08-11 苏州焕能新能源科技有限公司 一种基于新能源汽车换电站软件系统远程升级方法
CN121455517A (zh) * 2025-12-31 2026-02-03 深圳市天任顺华科技有限公司 远程升级方法、远程升级装置及故障诊断设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104184814A (zh) * 2014-08-25 2014-12-03 中山市永衡日用制品有限公司 嵌入式固件差分升级的文件生成和合成的方法和系统
CN106997302A (zh) * 2017-03-31 2017-08-01 广东欧珀移动通信有限公司 固件升级方法、装置及音频播放设备
WO2018161964A1 (zh) * 2017-03-10 2018-09-13 中兴通讯股份有限公司 客户端、服务端及差异化升级方法
CN111475195A (zh) * 2020-03-24 2020-07-31 普联技术有限公司 一种固件升级方法、装置和系统
CN111796853A (zh) * 2020-07-16 2020-10-20 深圳市千分一智能技术有限公司 固件升级方法、系统、设备及计算机存储介质

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724308A (zh) * 2012-06-13 2012-10-10 腾讯科技(深圳)有限公司 软件更新方法及软件更新系统
CN106484454A (zh) * 2015-09-02 2017-03-08 中兴通讯股份有限公司 差分升级包的处理方法及装置,升级方法、系统及装置
CN106250143A (zh) * 2016-07-27 2016-12-21 杭州联络互动信息科技股份有限公司 一种可穿戴设备的ota升级方法以及装置
CN109491691A (zh) * 2018-11-30 2019-03-19 歌尔科技有限公司 一种tws耳机及其升级方法、装置、介质
CN111158738B (zh) * 2019-12-30 2023-10-24 青岛歌尔智能传感器有限公司 耳机固件的升级方法、装置及可读存储介质
CN111651186B (zh) * 2020-05-29 2023-10-03 歌尔科技有限公司 耳机及其程序升级方法、控制装置和可读存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104184814A (zh) * 2014-08-25 2014-12-03 中山市永衡日用制品有限公司 嵌入式固件差分升级的文件生成和合成的方法和系统
WO2018161964A1 (zh) * 2017-03-10 2018-09-13 中兴通讯股份有限公司 客户端、服务端及差异化升级方法
CN106997302A (zh) * 2017-03-31 2017-08-01 广东欧珀移动通信有限公司 固件升级方法、装置及音频播放设备
CN111475195A (zh) * 2020-03-24 2020-07-31 普联技术有限公司 一种固件升级方法、装置和系统
CN111796853A (zh) * 2020-07-16 2020-10-20 深圳市千分一智能技术有限公司 固件升级方法、系统、设备及计算机存储介质

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115174389A (zh) * 2022-07-07 2022-10-11 国网浙江省电力有限公司物资分公司 一种升级方法、装置、设备及可读存储介质
CN116521210A (zh) * 2023-04-18 2023-08-01 宁夏隆基宁光仪表股份有限公司 一种物联网水表固件差量升级的方法
CN116521210B (zh) * 2023-04-18 2024-05-03 宁夏隆基宁光仪表股份有限公司 一种物联网水表固件差量升级的方法
US20240394032A1 (en) * 2023-05-22 2024-11-28 Dell Products L.P. Framework for upgrading firmware of disk array enclosures (daes)
US12346684B2 (en) * 2023-05-22 2025-07-01 Dell Products L.P. Framework for upgrading firmware of disk array enclosures (DAES)
CN116781686A (zh) * 2023-07-03 2023-09-19 广州三晶电气股份有限公司 光伏逆变器固件升级方法、装置及系统
CN118227174A (zh) * 2024-05-24 2024-06-21 东方旭能(山东)科技发展有限公司 一种基于用电信息管理终端嵌入式操作系统远程升级方法
CN118368308A (zh) * 2024-06-14 2024-07-19 天津广瑞达汽车电子有限公司 电动汽车控制器的远程升级方法及系统
CN121542683A (zh) * 2026-01-22 2026-02-17 宁德时代新能源科技股份有限公司 产线数据采集方法、装置、设备及存储介质

Also Published As

Publication number Publication date
CN112328293A (zh) 2021-02-05

Similar Documents

Publication Publication Date Title
WO2022095199A1 (zh) 一种嵌入式设备的差分升级方法及相关组件
CN101931944B (zh) 在线升级终端补丁的方法、装置与系统
CN101436138B (zh) 一种用于软件升级且动态回滚的控制装置以及控制方法
KR101541112B1 (ko) Fota 시스템 및 그 실행 방법
CN103051689B (zh) 一种程序升级下载方法和装置
CN106612192A (zh) 设备的升级方法、装置和系统
CN101593121A (zh) 软件在线升级的方法、装置及系统
CN102541604B (zh) 一种远程升级方法、远程升级的终端设备以及远程升级系统
CN107957880A (zh) 空调固件升级方法、装置、空调和计算机设备
CN102541596A (zh) 一种操作系统升级方法及装置
WO2021115177A1 (zh) 应用安装方法、装置、终端设备、服务器及存储介质
CN107632901A (zh) 一种应用程序运行异常的自修复方法及装置
CN114610341A (zh) 产线刷机方法、装置、电子设备、芯片及存储介质
CN106557347A (zh) 软件更新方法及装置
CN106406922A (zh) 软件升级方法及装置
CN108572837A (zh) 软件升级方法、装置、可读存储介质及计算机设备
CN1960434B (zh) 一种实现电视系统升级的方法和装置
CN109976788A (zh) 智能终端微型漏洞修复方法、智能终端、设备及服务器
CN102523295A (zh) 一种插件注册方法及系统
CN108874825A (zh) 一种异常数据的校验方法和装置
US8972792B2 (en) Methods, apparatus, and systems for electronic device recovery
CN103019785B (zh) 用于处理程序升级的方法和装置
CN110007941B (zh) 一种智能垃圾分类回收系统的mcu固件及升级方法
CN109992280A (zh) 一种嵌入式软件升级的方法、终端装置及存储装置
CN105808268B (zh) 一种信息处理方法、电子设备及系统

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

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

Country of ref document: EP

Kind code of ref document: A1