CN117785238A - Firmware upgrade method, device, electronic equipment and computer-readable storage medium - Google Patents

Firmware upgrade method, device, electronic equipment and computer-readable storage medium Download PDF

Info

Publication number
CN117785238A
CN117785238A CN202311782238.XA CN202311782238A CN117785238A CN 117785238 A CN117785238 A CN 117785238A CN 202311782238 A CN202311782238 A CN 202311782238A CN 117785238 A CN117785238 A CN 117785238A
Authority
CN
China
Prior art keywords
uboot
version
partition
upgrade
latest
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.)
Pending
Application number
CN202311782238.XA
Other languages
Chinese (zh)
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.)
Shenzhen Ubtech Technology Co ltd
Original Assignee
Shenzhen Ubtech Technology Co ltd
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 Shenzhen Ubtech Technology Co ltd filed Critical Shenzhen Ubtech Technology Co ltd
Priority to CN202311782238.XA priority Critical patent/CN117785238A/en
Publication of CN117785238A publication Critical patent/CN117785238A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Stored Programmes (AREA)

Abstract

本申请实施例提供一种固件升级方法、装置、电子设备及计算机可读存储介质,属于固件升级技术领域。该方法包括:A系统进入恢复模式,若A系统的当前uboot版本低于最新uboot版本,则在B系统的uboot分区对当前uboot版本进行备份;根据最新uboot版本对A系统的uboot分区进行升级;若A系统升级异常,则启动B系统,通过B系统根据备份的当前uboot版本恢复A系统的uboot分区,重新启动A系统。这样,可以减少A系统的uboot分区升级的次数,提高OTA的稳定性和可靠性,在A系统的uboot分区擦写异常时,通过B系统恢复,重启A系统,避免A系统变砖的情况,提高A系统升级过程的可靠性。

Embodiments of the present application provide a firmware upgrade method, device, electronic equipment, and computer-readable storage medium, which belong to the technical field of firmware upgrade. The method includes: System A enters recovery mode. If the current uboot version of system A is lower than the latest uboot version, back up the current uboot version in the uboot partition of system B; upgrade the uboot partition of system A according to the latest uboot version; If the upgrade of system A is abnormal, start system B, restore the uboot partition of system A based on the current uboot version backed up through system B, and restart system A. In this way, the number of upgrades of the uboot partition of system A can be reduced and the stability and reliability of OTA can be improved. When the uboot partition of system A is abnormally erased, system B can be restored and system A can be restarted to avoid system A becoming bricked. Improve the reliability of the A system upgrade process.

Description

固件升级方法、装置、电子设备及计算机可读存储介质Firmware upgrade method, device, electronic equipment and computer-readable storage medium

技术领域Technical field

本申请涉及固件升级技术领域,尤其涉及一种固件升级方法、装置、电子设备及计算机可读存储介质。The present application relates to the technical field of firmware upgrade, and in particular to a firmware upgrade method, device, electronic device and computer-readable storage medium.

背景技术Background technique

目前市面上已有的系统的OTA(空中下载技术,Over The Air)升级方案主要有恢复(recovery)模式和AB系统模式等。recovery模式下,升级引导加载程序(uboot)时不允许断电或者其他异常,否则会出现升级失败导致死机的情况,用户无法正常使用。AB系统模式下,系统需要占用双倍的资源空间,成本高。Currently, the OTA (Over The Air) upgrade solutions for existing systems on the market mainly include recovery mode and AB system mode. In recovery mode, power failure or other abnormalities are not allowed when upgrading the boot loader (uboot), otherwise the upgrade will fail and the system will freeze, and users will not be able to use it normally. In AB system mode, the system needs to occupy double the resource space, which is costly.

发明内容Contents of the invention

为了解决上述技术问题,本申请实施例提供了一种固件升级方法、装置、电子设备及计算机可读存储介质。In order to solve the above technical problems, embodiments of the present application provide a firmware upgrade method, device, electronic device, and computer-readable storage medium.

第一方面,本申请实施例提供了一种固件升级方法,所述方法包括:In a first aspect, embodiments of the present application provide a firmware upgrade method, which method includes:

若A系统需要升级,则下载最新OTA升级包,所述A系统进入恢复模式,所述A系统包括uboot分区和其他分区;If system A needs to be upgraded, the latest OTA upgrade package is downloaded, and system A enters recovery mode. System A includes uboot partition and other partitions;

在所述恢复模式下,将所述最新OTA升级包的最新uboot版本与所述A系统的当前uboot版本进行对比;In the recovery mode, compare the latest uboot version of the latest OTA upgrade package with the current uboot version of the A system;

若所述当前uboot版本低于所述最新uboot版本,则在B系统的uboot分区对所述当前uboot版本进行备份;If the current uboot version is lower than the latest uboot version, back up the current uboot version in the uboot partition of system B;

根据所述最新uboot版本对所述A系统的uboot分区进行升级;Upgrading the uboot partition of the A system according to the latest uboot version;

若所述A系统升级异常,则启动所述B系统,通过所述B系统根据备份的当前uboot版本恢复所述A系统的uboot分区,重新启动所述A系统。If the A system upgrade is abnormal, start the B system, restore the uboot partition of the A system according to the backed up current uboot version through the B system, and restart the A system.

在一实施方式中,所述方法还包括:In one embodiment, the method further includes:

若所述当前uboot版本高于或等于所述最新uboot版本,则不对所述A系统的uboot分区进行升级,根据所述最新OTA升级包对所述A系统的其他分区进行升级。If the current uboot version is higher than or equal to the latest uboot version, the uboot partition of the A system will not be upgraded, and other partitions of the A system will be upgraded according to the latest OTA upgrade package.

在一实施方式中,所述方法还包括:In one embodiment, the method further includes:

若检测到断电或所述A系统的uboot分区升级异常事件,则确定所述A系统升级异常。If a power outage or an abnormal upgrade of the uboot partition of the system A is detected, it is determined that the upgrade of the system A is abnormal.

在一实施方式中,所述uboot分区升级异常事件包括uboot分区升级包校验异常和/或uboot分区升级包写入异常。In one embodiment, the uboot partition upgrade abnormal event includes a uboot partition upgrade package verification exception and/or a uboot partition upgrade package writing exception.

在一实施方式中,所述重新启动所述A系统之后,还包括:In one embodiment, after restarting the A system, the method further includes:

确定所述最新OTA升级包中除uboot分区升级包之外的其他分区升级包;Determine other partition upgrade packages in the latest OTA upgrade package except the uboot partition upgrade package;

根据所述其他分区升级包对所述A系统的其他分区进行升级。Upgrade other partitions of system A according to the other partition upgrade package.

在一实施方式中,所述若A系统需要升级,则所述A系统进入恢复模式之前,所述方法还包括:In one embodiment, if system A needs to be upgraded, before system A enters recovery mode, the method further includes:

判断系统启动项是否为所述A系统;Determine whether the system startup item is the A system;

若所述系统启动项为所述A系统,则根据升级标志配置文件判断所述A系统是否需要升级。If the system startup item is the A system, it is determined whether the A system needs to be upgraded according to the upgrade flag configuration file.

在一实施方式中,所述在B系统的uboot分区对所述当前uboot版本进行备份之后,所述方法还包括:In one embodiment, after the uboot partition of system B backs up the current uboot version, the method further includes:

将系统启动项设置为所述B系统。Set the system startup item to the B system.

第二方面,本申请实施例提供了一种固件升级装置,所述固件升级装置包括:In a second aspect, embodiments of the present application provide a firmware upgrade device. The firmware upgrade device includes:

下载模块,用于若A系统需要升级,则下载最新OTA升级包,所述A系统进入恢复模式,所述A系统包括uboot分区和其他分区;The download module is used to download the latest OTA upgrade package if system A needs to be upgraded, and system A enters recovery mode. System A includes uboot partition and other partitions;

比对模块,用于在所述恢复模式下,将所述最新OTA升级包的最新uboot版本与所述A系统的当前uboot版本进行对比;A comparison module, configured to compare the latest uboot version of the latest OTA upgrade package with the current uboot version of the A system in the recovery mode;

备份模块,用于若所述当前uboot版本低于所述最新uboot版本,则在B系统的uboot分区对所述当前uboot版本进行备份;A backup module, used for backing up the current uboot version in the uboot partition of system B if the current uboot version is lower than the latest uboot version;

升级模块,用于根据所述最新uboot版本对所述A系统的uboot分区进行升级;An upgrade module, used to upgrade the uboot partition of system A according to the latest uboot version;

启动模块,用于若所述A系统升级异常,则启动所述B系统,通过所述B系统根据备份的当前uboot版本恢复所述A系统的uboot分区,重新启动所述A系统。A startup module is used to start the B system if the upgrade of the A system is abnormal, restore the uboot partition of the A system according to the backed up current uboot version through the B system, and restart the A system.

第三方面,本申请实施例提供了一种电子设备,包括存储器以及处理器,所述存储器用于存储计算机程序,所述计算机程序在所述处理器运行时执行第一方面提供的固件升级方法。In a third aspect, embodiments of the present application provide an electronic device, including a memory and a processor. The memory is used to store a computer program. The computer program executes the firmware upgrade method provided in the first aspect when the processor is running. .

第四方面,本申请实施例提供了一种计算机可读存储介质,其存储有计算机程序,所述计算机程序在处理器上运行时执行第一方面提供的固件升级方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program, which executes the firmware upgrade method provided in the first aspect when running on a processor.

上述本申请提供的固件升级方法、装置、电子设备及计算机可读存储介质,若A系统需要升级,则下载最新OTA升级包,A系统进入恢复模式;将最新OTA升级包的最新uboot版本与A系统的当前uboot版本进行对比;若当前uboot版本低于最新uboot版本,则在B系统的uboot分区对当前uboot版本进行备份;根据最新uboot版本对A系统的uboot分区进行升级;若A系统升级异常,则启动B系统,通过B系统根据备份的当前uboot版本恢复A系统的uboot分区,重新启动A系统。这样,可以减少A系统的uboot分区升级的次数,提高OTA的稳定性和可靠性,在A系统的uboot分区擦写异常时,通过B系统恢复,重启A系统,避免A系统变砖的情况,提高A系统升级过程的可靠性。The firmware upgrade method, device, electronic device and computer-readable storage medium provided by the present application are as follows: if system A needs to be upgraded, the latest OTA upgrade package is downloaded and system A enters recovery mode; the latest uboot version of the latest OTA upgrade package is compared with the current uboot version of system A; if the current uboot version is lower than the latest uboot version, the current uboot version is backed up in the uboot partition of system B; the uboot partition of system A is upgraded according to the latest uboot version; if the upgrade of system A is abnormal, system B is started, and the uboot partition of system A is restored by system B according to the backed-up current uboot version, and system A is restarted. In this way, the number of uboot partition upgrades of system A can be reduced, the stability and reliability of OTA can be improved, and when the uboot partition of system A is abnormally erased, system A can be restarted through system B to avoid the situation where system A becomes bricked, thereby improving the reliability of the upgrade process of system A.

附图说明Description of drawings

为了更清楚地说明本申请的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对本申请保护范围的限定。在各个附图中,类似的构成部分采用类似的编号。In order to explain the technical solutions of the present application more clearly, the drawings required to be used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present application and therefore should not be interpreted as It is regarded as limiting the protection scope of this application. In the various drawings, similar components are numbered similarly.

图1示出了本申请实施例提供的固件升级方法的一流程示意图;FIG1 shows a schematic diagram of a process of a firmware upgrade method provided in an embodiment of the present application;

图2示出了本申请实施例提供的固件升级方法的另一流程示意图;Figure 2 shows another schematic flowchart of a firmware upgrade method provided by an embodiment of the present application;

图3示出了本申请实施例提供的固件升级方法的另一流程示意图;FIG3 shows another schematic diagram of a firmware upgrade method according to an embodiment of the present application;

图4示出了本申请实施例提供的固件升级方法的另一流程示意图;Figure 4 shows another schematic flowchart of the firmware upgrade method provided by an embodiment of the present application;

图5示出了本申请实施例提供的固件升级装置的一结构示意图。FIG5 shows a schematic diagram of the structure of a firmware upgrade device provided in an embodiment of the present application.

图标:500-固件升级装置,501-下载模块,502-比对模块,503-备份模块,504-升级模块,505-启动模块。Icons: 500 - firmware upgrade device, 501 - download module, 502 - comparison module, 503 - backup module, 504 - upgrade module, 505 - start module.

具体实施方式Detailed ways

下面将结合本申请实施例中附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all of the embodiments.

通常在此处附图中描述和示出的本申请实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations. Accordingly, the following detailed description of the embodiments of the application provided in the appended drawings is not intended to limit the scope of the claimed application, but rather to represent selected embodiments of the application. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without any creative work shall fall within the scope of protection of this application.

在下文中,可在本申请的各种实施例中使用的术语“包括”、“具有”及其同源词仅意在表示特定特征、数字、步骤、操作、元件、组件或前述项的组合,并且不应被理解为首先排除一个或更多个其它特征、数字、步骤、操作、元件、组件或前述项的组合的存在或增加一个或更多个特征、数字、步骤、操作、元件、组件或前述项的组合的可能性。Hereinafter, the terms "comprising", "having" and their cognates, which may be used in various embodiments of the present application, are only intended to represent specific features, numbers, steps, operations, elements, components or combinations of the foregoing. and should not be understood as first excluding the presence of one or more other features, numbers, steps, operations, elements, components or combinations of the foregoing or adding one or more features, numbers, steps, operations, elements, components or the possibility of a combination of the foregoing.

此外,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。Furthermore, the terms “first”, “second”, “third”, etc. are merely used for distinguishing descriptions and are not to be understood as indicating or implying relative importance.

除非另有限定,否则在这里使用的所有术语(包括技术术语和科学术语)具有与本申请的各种实施例所属领域普通技术人员通常理解的含义相同的含义。所述术语(诸如在一般使用的词典中限定的术语)将被解释为具有与在相关技术领域中的语境含义相同的含义并且将不被解释为具有理想化的含义或过于正式的含义,除非在本申请的各种实施例中被清楚地限定。Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of this application belong. Said terms (such as terms defined in commonly used dictionaries) will be interpreted to have the same meaning as the contextual meaning in the relevant technical field and will not be interpreted as having an idealized meaning or an overly formal meaning, Unless otherwise expressly defined in the various embodiments of this application.

实施例1Example 1

本申请实施例提供了一种固件升级方法。The embodiment of this application provides a firmware upgrade method.

参见图1,固件升级方法包括步骤S101-S105,下面对各步骤进行说明。Referring to Figure 1, the firmware upgrade method includes steps S101-S105. Each step is described below.

步骤S101,若A系统需要升级,则下载最新OTA升级包,所述A系统进入恢复模式,所述A系统包括uboot分区和其他分区。Step S101, if system A needs to be upgraded, download the latest OTA upgrade package, and system A enters recovery mode. System A includes uboot partition and other partitions.

在本实施例中,可以根据升级标志配置文件判断所述A系统是否需要升级。最新OTA升级包包括uboot分区升级包和其他分区升级包。所述A系统的uboot分区设置有当前uboot分区版本,A系统的其他分区也对应设置有当前的版本。In this embodiment, whether system A needs to be upgraded can be determined based on the upgrade flag configuration file. The latest OTA upgrade package includes uboot partition upgrade package and other partition upgrade packages. The uboot partition of system A is set with the current uboot partition version, and other partitions of system A are also set with the current version.

步骤S102,在所述恢复模式下,将所述最新OTA升级包的最新uboot版本与所述A系统的当前uboot版本进行对比。Step S102: In the recovery mode, compare the latest uboot version of the latest OTA upgrade package with the current uboot version of the A system.

在本实施例中,判断最新OTA升级包的最新uboot版本是否高于所述A系统的当前uboot版本,若最新uboot版本高于所述A系统的当前uboot版本,则执行步骤S103。若最新uboot版本低于或等于所述A系统的当前uboot版本,则不对A系统的uboot分区进行更新,可以减少uboot分区的升级次数,降低uboot分区损耗,提高升级效率。In this embodiment, it is determined whether the latest uboot version of the latest OTA upgrade package is higher than the current uboot version of system A. If the latest uboot version is higher than the current uboot version of system A, step S103 is performed. If the latest uboot version is lower than or equal to the current uboot version of system A, the uboot partition of system A will not be updated, which can reduce the number of uboot partition upgrades, reduce uboot partition loss, and improve upgrade efficiency.

步骤S103,若所述当前uboot版本低于所述最新uboot版本,则在B系统的uboot分区对所述当前uboot版本进行备份。Step S103: If the current uboot version is lower than the latest uboot version, back up the current uboot version in the uboot partition of system B.

需要补充说明的是,本实施例中的B系统为最小系统,在B系统中,只负责恢复A系统的uboot分区,相较于传统方案中的B系统,其所占内存空间更小,节省了资源空间浪费,极大的提高了产品的性价比。当需要升级的时候,先在B系统的uboot分区备份A系统的uboot分区的当前uboot版本,然后将系统下次启动项切换到B系统,通过判断uboot分区的版本号来降低升级次数,版本号高于或者等于OTA包中的uboot版本号,则不需要升级uboot,只升级其他的分区即可。当在擦写A系统的uboot分区时,出现异常情况,系统自动重启后切换到B系统启动,通过B系统自动恢复A系统的uboot分区,然后再次重启进入A系统,能够极大的提高了升级的可靠性和稳定性。It should be noted that the B system in this embodiment is the minimum system. In the B system, it is only responsible for restoring the uboot partition of the A system. Compared with the B system in the traditional solution, it occupies less memory space, saves resource space waste, and greatly improves the cost performance of the product. When it is necessary to upgrade, first back up the current uboot version of the uboot partition of the A system in the uboot partition of the B system, and then switch the system startup item to the B system next time, and reduce the upgrade times by judging the version number of the uboot partition. If the version number is higher than or equal to the uboot version number in the OTA package, it is not necessary to upgrade uboot, and only upgrade other partitions. When erasing the uboot partition of the A system, an abnormal situation occurs, and the system automatically restarts and switches to the B system to start, automatically restores the uboot partition of the A system through the B system, and then restarts again to enter the A system, which can greatly improve the reliability and stability of the upgrade.

在一实施方式中,所述在B系统的uboot分区对所述当前uboot版本进行备份之后,所述方法还包括:In one embodiment, after the uboot partition of system B backs up the current uboot version, the method further includes:

将系统启动项设置为所述B系统。Set the system startup item to the B system.

这样,可以下次启动系统时,可以自动启动B系统。In this way, system B can be automatically started the next time the system is started.

步骤S104,根据所述最新uboot版本对所述A系统的uboot分区进行升级。Step S104: Upgrade the uboot partition of system A according to the latest uboot version.

在本实施例中,最新uboot版本高于所述A系统的当前uboot版本时,才会基于最新uboot版本对所述A系统的uboot分区进行升级,减少对A系统的uboot分区的升级操作,可以减少uboot分区的损耗,提高资源利用率。In this embodiment, the uboot partition of the A system will be upgraded based on the latest uboot version only when the latest uboot version is higher than the current uboot version of the A system, thereby reducing the upgrade operation of the uboot partition of the A system, reducing the loss of the uboot partition and improving resource utilization.

参见图2,该固件升级方法还包括步骤S106-S107。Referring to Figure 2, the firmware upgrade method also includes steps S106-S107.

步骤S106,确定所述最新OTA升级包中除uboot分区升级包之外的其他分区升级包;Step S106, determine other partition upgrade packages in the latest OTA upgrade package except the uboot partition upgrade package;

步骤S107,根据所述其他分区升级包对所述A系统的其他分区进行升级。Step S107: Upgrade other partitions of system A according to the other partition upgrade package.

在本实施例中,在对A系统的uboot分区升级成功后,可以进一步对其他分区进行升级,或者在A系统的uboot分区升级识别,B系统重新恢复A系统的uboot分区、重启A系统后,根据下载的OTA升级包对A系统的其他分区进行升级。In this embodiment, after the uboot partition of system A is successfully upgraded, other partitions can be further upgraded, or the uboot partition of system A is upgraded and recognized, and system B restores the uboot partition of system A and restarts system A. Upgrade other partitions of system A according to the downloaded OTA upgrade package.

步骤S105,若所述A系统升级异常,则启动所述B系统,通过所述B系统根据备份的当前uboot版本恢复所述A系统的uboot分区,重新启动所述A系统。Step S105, if the upgrade of the A system is abnormal, start the B system, restore the uboot partition of the A system according to the backed up current uboot version through the B system, and restart the A system.

在本实施例中,A系统为运行系统,B系统为恢复系统,该B系统为最小系统,除了uboot分区之外,没有其他分区,减少资源占用。在A系统OTA升级过程中,如果升级uboot失败或者升级过程中断电等异常情况,可自动重启后进入B系统运行,B系统将A系统的uboot还原,然后再次切换到A系统运行。从而保证系统的可靠性和稳定性,因B系统只负责基本的驱动初始化以及将A系统的uboot还原,故可以极大程度的缩小其对系统资源的占用,解决了A系统的uboot分区擦写时,如果出现异常就极有可能变砖的情况,提高可用性。In this embodiment, system A is the running system, system B is the recovery system, and system B is the minimum system. Except for the uboot partition, there are no other partitions, which reduces resource occupation. During the OTA upgrade of system A, if the uboot upgrade fails or there is a power outage during the upgrade, system B can automatically restart and then run in system B. System B will restore the uboot of system A and then switch to system A again. This ensures the reliability and stability of the system. Since system B is only responsible for basic driver initialization and restoring uboot of system A, it can greatly reduce its occupation of system resources and solve the problem of erasing and writing uboot partition of system A. At this time, if an abnormality occurs, it is very likely to become bricked, so as to improve availability.

需要补充说明的是,传统的AB系统模式中,A系统和B系统的内容不一定相同,但是这两个系统都是完整的系统,首次运行的时候(假如是1.0版本),在A系统上运行,假如需要升级2.0版本,会刷新B系统,然后下次启动时,在B系统上运行,下次如需再升级到3.0版本,会将会更新到A系统中,重启之后再A系统上运行。异常状态下,假如A、B系统中其中一个系统(如A系统)无法运行,会自动跳转到另外一个系统(如B系统)上运行,以此来保证系统的可靠性。现有AB系统模式下,最明显的缺点在于需要保存2个完整的系统,资源占用高。It should be added that in the traditional AB system model, the contents of system A and system B are not necessarily the same, but both systems are complete systems. When running for the first time (if it is version 1.0), on system A Run, if you need to upgrade to version 2.0, system B will be refreshed, and then run on system B the next time you start it. If you need to upgrade to version 3.0 next time, it will be updated to system A, and then restart on system A. run. Under abnormal conditions, if one of the systems A and B (such as system A) fails to run, it will automatically jump to another system (such as system B) to ensure the reliability of the system. The most obvious shortcoming of the existing AB system mode is that two complete systems need to be saved, which consumes high resources.

相对现有的单独采用恢复模式进行升级,本实施例提供的结合恢复模式和AB系统的固件升级方案的稳定性和可靠性更高。相对现有的单独采用AB系统进行升级的方案,本实施例提供的结合恢复模式和AB系统的固件升级方案的资源占用率更小,能极大的节省成本。Compared with the existing upgrade using the recovery mode alone, the firmware upgrade solution provided by this embodiment that combines the recovery mode and the AB system has higher stability and reliability. Compared with the existing solution of using the AB system alone for upgrade, the firmware upgrade solution provided by this embodiment that combines the recovery mode and the AB system has a smaller resource usage and can greatly save costs.

在一实施方式中,该固件升级方法还包括:In one implementation, the firmware upgrade method further includes:

若检测到断电或所述A系统的uboot分区升级异常事件,则确定所述A系统升级异常。If a power outage or an abnormal upgrade of the uboot partition of the system A is detected, it is determined that the upgrade of the system A is abnormal.

需要补充说明的是,所述uboot分区升级异常事件包括uboot分区升级包校验异常和/或uboot分区升级包写入异常。It should be added that the uboot partition upgrade abnormal event includes a uboot partition upgrade package verification exception and/or a uboot partition upgrade package writing exception.

在一实施方式中,该固件升级方法还包括:In one implementation, the firmware upgrade method further includes:

若所述当前uboot版本高于或等于所述最新uboot版本,则不对所述A系统的uboot分区进行升级,根据所述最新OTA升级包对所述A系统的其他分区进行升级。If the current uboot version is higher than or equal to the latest uboot version, the uboot partition of the A system is not upgraded, and other partitions of the A system are upgraded according to the latest OTA upgrade package.

这样,通过判断uboot分区的版本号来降低升级次数,版本号高于或者等于OTA包中的uboot版本号,则不需要升级uboot,只升级其他的分区,降低uboot分区的升级次数,提高固件升级效率,提升固件升级的稳定性和可靠性。In this way, the number of upgrades can be reduced by judging the version number of the uboot partition. If the version number is higher than or equal to the uboot version number in the OTA package, there is no need to upgrade uboot. Only other partitions can be upgraded, which reduces the number of upgrades of the uboot partition and improves firmware upgrades. efficiency, improving the stability and reliability of firmware upgrades.

参见图3,该固件升级方法还包括步骤S108-S109。Referring to Figure 3, the firmware upgrade method also includes steps S108-S109.

步骤S108,判断所述系统启动项是否为所述A系统;Step S108, determine whether the system startup item is the A system;

步骤S109,若所述系统启动项为所述A系统,则根据升级标志配置文件判断所述A系统是否需要升级。Step S109: If the system startup item is the A system, determine whether the A system needs to be upgraded according to the upgrade flag configuration file.

此外,还可以通过判断所述系统启动项是否为所述B系统,若所述系统启动项为B系统,则启动B系统,通过B系统对A系统的uboot分区的当前uboot版本进行备份。In addition, it can also be determined whether the system startup item is the B system. If the system startup item is the B system, the B system is started, and the current uboot version of the A system's uboot partition is backed up through the B system.

下面结合图4对本实施例提供的固件升级方法进行相关说明。The firmware upgrade method provided in this embodiment will be described below with reference to FIG. 4 .

步骤S401,AB系统选择,并启动系统。Step S401: AB system is selected and the system is started.

步骤S402,判断是否启动B系统。Step S402, determining whether to start the B system.

在该步骤中,若启动B系统,则进入步骤S403,若为启动B系统,即启动A系统,则进入步骤S405。In this step, if system B is started, step S403 is entered. If system B is started, system A is started, then step S405 is entered.

步骤S403,挂载并恢复A系统的uboot分区。Step S403: Mount and restore the uboot partition of system A.

步骤S404,启动A系统,进行初始化。Step S404: Start system A and initialize it.

步骤S405,判断是否需要升级系统。Step S405: Determine whether the system needs to be upgraded.

在该步骤中,若A系统需要升级,则进入步骤S406,若A系统不需要升级,则进入步骤S4013。In this step, if system A needs to be upgraded, proceed to step S406; if system A does not need to be upgraded, proceed to step S4013.

步骤S406,下载最新OTA升级包。Step S406: Download the latest OTA upgrade package.

步骤S407,进入恢复模式。Step S407, enter recovery mode.

步骤S408,从OTA升级包中获取最新uboot版本。Step S408: Obtain the latest uboot version from the OTA upgrade package.

步骤S409,判断最新uboot版本是否低于等于当前uboot版本。Step S409: Determine whether the latest uboot version is lower than or equal to the current uboot version.

在该步骤中,若最新uboot版本高于当前uboot版本,则进入步骤S4010,若最新uboot版本低于等于当前uboot版本,则进入步骤S4012。In this step, if the latest uboot version is higher than the current uboot version, step S4010 is entered. If the latest uboot version is lower than or equal to the current uboot version, step S4012 is entered.

步骤S4010,备份uboot分区,将系统下次启动设置为B系统启动。Step S4010: Back up the uboot partition and set the next system startup to system B startup.

该步骤中,在B系统的uboot分区备份A系统的当前uboot分区版本。In this step, back up the current uboot partition version of system A in the uboot partition of system B.

步骤S4011,升级uboot分区,将系统下次启动设置A系统启动。Step S4011, upgrade the uboot partition and set the system to start as system A the next time it starts.

该步骤中,基于最新uboot版本对A系统的uboot分区进行升级。In this step, the uboot partition of system A is upgraded based on the latest uboot version.

步骤S4012,升级uboot分区以外的其他分区。Step S4012: Upgrade partitions other than the uboot partition.

在A系统的uboot分区升级完成后,升级A系统的其他分区。在A系统的uboot分区升级失败,则设置系统启动项为B系统,通过B系统对A系统的uboot分区进行恢复,重启A系统。After the uboot partition of system A is upgraded, upgrade other partitions of system A. If the upgrade of the uboot partition of system A fails, set the system startup item to system B, restore the uboot partition of system A through system B, and restart system A.

步骤S4013,升级结束进入正常工作状态。Step S4013: The upgrade is completed and the system enters the normal working state.

在A系统升级uboot分区结束之后,只需要将系统启动项改为A系统启动,不需要其他的额外操作。升级A系统的uboot分区之前,会将系统启动项设置为B系统启动,如果升级异常了,那么再次重启时,系统会进入到B系统启动,并执行恢复A系统的uboot分区,然后将系统启动项设置为A系统启动,再次重启系统后,A系统因恢复了uboot分区,即可正常启动A系统。After the uboot partition of system A is upgraded, you only need to change the system startup item to system A startup, and no other additional operations are required. Before upgrading the uboot partition of system A, the system startup item will be set to system B startup. If the upgrade is abnormal, then when the system restarts again, it will enter system B startup and perform recovery of the uboot partition of system A, and then set the system startup item to system A startup. After the system restarts again, system A can start normally because the uboot partition has been restored.

本实施例提供的固件升级方法,若A系统需要升级,则下载最新OTA升级包,所述A系统进入恢复模式,所述A系统包括uboot分区和其他分区;在所述恢复模式下,将所述最新OTA升级包的最新uboot版本与所述A系统的当前uboot版本进行对比;若所述当前uboot版本低于所述最新uboot版本,则在B系统的uboot分区对所述当前uboot版本进行备份;根据所述最新uboot版本对所述A系统的uboot分区进行升级;若所述A系统升级异常,则启动所述B系统,通过所述B系统根据备份的当前uboot版本恢复所述A系统的uboot分区,重新启动所述A系统。这样,当前uboot版本低于所述最新uboot版本,根据所述最新uboot版本对所述A系统的uboot分区进行升级,可以减少A系统的uboot分区升级的次数,提高OTA的稳定性和可靠性,B系统为包括uboot分区的最小系统,最大程度节省了资源,极大的提高了产品的性价比。在A系统的uboot分区擦写异常时,通过B系统恢复,重启A系统,避免A系统变砖的情况,提高A系统升级过程的可靠性。The firmware upgrade method provided in this embodiment is as follows: if the A system needs to be upgraded, the latest OTA upgrade package is downloaded, and the A system enters the recovery mode, wherein the A system includes the uboot partition and other partitions; in the recovery mode, the latest uboot version of the latest OTA upgrade package is compared with the current uboot version of the A system; if the current uboot version is lower than the latest uboot version, the current uboot version is backed up in the uboot partition of the B system; the uboot partition of the A system is upgraded according to the latest uboot version; if the A system upgrade is abnormal, the B system is started, and the uboot partition of the A system is restored by the B system according to the backed-up current uboot version, and the A system is restarted. In this way, if the current uboot version is lower than the latest uboot version, the uboot partition of the A system is upgraded according to the latest uboot version, which can reduce the number of uboot partition upgrades of the A system, improve the stability and reliability of OTA, and the B system is the minimum system including the uboot partition, which saves resources to the greatest extent and greatly improves the cost performance of the product. When the uboot partition of the A system is abnormally erased, the B system is restored and the A system is restarted to avoid the bricking of the A system and improve the reliability of the A system upgrade process.

实施例2Example 2

此外,本申请实施例提供了一种固件升级装置。In addition, an embodiment of the present application provides a firmware upgrade device.

如图5所示,固件升级装置500包括:As shown in Figure 5, the firmware upgrade device 500 includes:

下载模块501,用于若A系统需要升级,则下载最新OTA升级包,所述A系统进入恢复模式,所述A系统包括uboot分区和其他分区;The download module 501 is used to download the latest OTA upgrade package if the A system needs to be upgraded, and the A system enters the recovery mode. The A system includes the uboot partition and other partitions;

比对模块502,用于在所述恢复模式下,将所述最新OTA升级包的最新uboot版本与所述A系统的当前uboot版本进行对比;The comparison module 502 is used to compare the latest uboot version of the latest OTA upgrade package with the current uboot version of the A system in the recovery mode;

备份模块503,用于若所述当前uboot版本低于所述最新uboot版本,则在B系统的uboot分区对所述当前uboot版本进行备份;The backup module 503 is used to back up the current uboot version in the uboot partition of system B if the current uboot version is lower than the latest uboot version;

升级模块504,用于根据所述最新uboot版本对所述A系统的uboot分区进行升级;An upgrade module 504 is used to upgrade the uboot partition of the A system according to the latest uboot version;

启动模块505,用于若所述A系统升级异常,则启动所述B系统,通过所述B系统根据备份的当前uboot版本恢复所述A系统的uboot分区,重新启动所述A系统。The startup module 505 is used to start the B system if the upgrade of the A system is abnormal, restore the uboot partition of the A system according to the backed up current uboot version through the B system, and restart the A system.

在一实施方式中,升级模块504,还用于若所述当前uboot版本高于或等于所述最新uboot版本,则不对所述A系统的uboot分区进行升级,根据所述最新OTA升级包对所述A系统的其他分区进行升级。In one implementation, the upgrade module 504 is also configured to not upgrade the uboot partition of system A if the current uboot version is higher than or equal to the latest uboot version, and update all uboot partitions according to the latest OTA upgrade package. Upgrade other partitions of system A mentioned above.

在一实施方式中,固件升级装置500包括:In one embodiment, the firmware upgrade device 500 includes:

确定模块,用于若检测到断电或所述A系统的uboot分区升级异常事件,则确定所述A系统升级异常。A determination module, configured to determine an abnormality in the upgrade of system A if a power outage or an abnormal event in the uboot partition upgrade of system A is detected.

在一实施方式中,所述uboot分区升级异常事件包括uboot分区升级包校验异常和/或uboot分区升级包写入异常。In one embodiment, the uboot partition upgrade abnormal event includes a uboot partition upgrade package verification exception and/or a uboot partition upgrade package writing exception.

在一实施方式中,升级模块504,还用于在重新启动所述A系统之后,确定所述最新OTA升级包中除uboot分区升级包之外的其他分区升级包;In one embodiment, the upgrade module 504 is also configured to determine other partition upgrade packages in the latest OTA upgrade package except the uboot partition upgrade package after restarting the A system;

根据所述其他分区升级包对所述A系统的其他分区进行升级。Upgrade other partitions of system A according to the other partition upgrade package.

在一实施方式中,固件升级装置500包括:In one embodiment, the firmware upgrade device 500 includes:

判断模块,用于判断所述系统启动项是否为所述A系统;A judgment module, used to judge whether the system startup item is the A system;

若系统启动项为所述A系统,则根据升级标志配置文件判断所述A系统是否需要升级。If the system startup item is system A, it is determined according to the upgrade flag configuration file whether system A needs to be upgraded.

在一实施方式中,固件升级装置500包括:In one embodiment, the firmware upgrade device 500 includes:

设置模块,用于在B系统的uboot分区对所述当前uboot版本进行备份之后,将所述系统启动项设置为所述B系统。A setting module is configured to set the system startup item to the system B after the uboot partition of the system B backs up the current uboot version.

本实施例提供的固件升级装置500可以实现实施例1所提供的固件升级方法,为避免重复,在此不再赘述。The firmware upgrade device 500 provided in this embodiment can implement the firmware upgrade method provided in Embodiment 1, and will not be described again here to avoid repetition.

本实施例提供的固件升级装置,若A系统需要升级,则下载最新OTA升级包,所述A系统进入恢复模式,所述A系统包括uboot分区和其他分区;在所述恢复模式下,将所述最新OTA升级包的最新uboot版本与所述A系统的当前uboot版本进行对比;若所述当前uboot版本低于所述最新uboot版本,则在B系统的uboot分区对所述当前uboot版本进行备份;根据所述最新uboot版本对所述A系统的uboot分区进行升级;若所述A系统升级异常,则启动所述B系统,通过所述B系统根据备份的当前uboot版本恢复所述A系统的uboot分区,重新启动所述A系统。这样,当前uboot版本低于所述最新uboot版本,根据所述最新uboot版本对所述A系统的uboot分区进行升级,可以减少A系统的uboot分区升级的次数,提高OTA的稳定性和可靠性,B系统为包括uboot分区的最小系统,最大程度节省了资源,极大的提高了产品的性价比。在A系统的uboot分区擦写异常时,通过B系统恢复,重启A系统,避免A系统变砖的情况,提高A系统升级过程的可靠性。In the firmware upgrade device provided in this embodiment, if system A needs to be upgraded, the latest OTA upgrade package is downloaded, and system A enters the recovery mode. System A includes the uboot partition and other partitions; in the recovery mode, all Compare the latest uboot version of the latest OTA upgrade package with the current uboot version of the A system; if the current uboot version is lower than the latest uboot version, back up the current uboot version in the uboot partition of the B system ; Upgrade the uboot partition of the A system according to the latest uboot version; if the A system upgrade is abnormal, start the B system, and restore the A system according to the backed up current uboot version through the B system uboot partition, restart the A system. In this way, the current uboot version is lower than the latest uboot version, and upgrading the uboot partition of system A according to the latest uboot version can reduce the number of uboot partition upgrades of system A and improve the stability and reliability of OTA. System B is the smallest system including uboot partition, which saves resources to the greatest extent and greatly improves the product's cost performance. When the uboot partition of system A is abnormally erased, system B can be restored and system A can be restarted to prevent system A from becoming bricked and improve the reliability of the upgrade process of system A.

实施例3Example 3

此外,本申请实施例提供了一种电子设备,包括存储器以及处理器,所述存储器存储有计算机程序,所述计算机程序在所述处理器上运行时执行实施例1所提供的固件升级方法。In addition, an embodiment of the present application provides an electronic device, including a memory and a processor. The memory stores a computer program. When the computer program is run on the processor, the firmware upgrade method provided in Embodiment 1 is executed.

本实施例提供的电子设备可以实现实施例1所提供的固件升级方法,为避免重复,在此不再赘述。The electronic device provided in this embodiment can implement the firmware upgrade method provided in Embodiment 1, which will not be described again to avoid duplication.

实施例4Example 4

本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现实施例1所提供的固件升级方法。This application also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the firmware upgrade method provided in Embodiment 1 is implemented.

在本实施例中,计算机可读存储介质可以为只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。In this embodiment, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

本实施例提供的计算机可读存储介质可以实现实施例1所提供的固件升级方法,为避免重复,在此不再赘述。The computer-readable storage medium provided in this embodiment can implement the firmware upgrade method provided in Embodiment 1, and will not be described again here to avoid repetition.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者终端中还存在另外的相同要素。It should be noted that, as used herein, the terms "include", "comprises" or any other variation thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or terminal that includes a series of elements not only includes those elements, It also includes other elements not expressly listed or inherent in such process, method, article or terminal. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of other identical elements in the process, method, article, or terminal that includes the element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Inspired by this application, many forms can be made without departing from the purpose of this application and the scope protected by the claims, all of which fall within the protection of this application.

Claims (10)

1. A method of firmware upgrade, the method comprising:
if the A system needs to be upgraded, downloading a latest OTA upgrade package, wherein the A system enters a recovery mode and comprises a uboot partition and other partitions;
in the recovery mode, comparing the latest uboot version of the latest OTA upgrade package with the current uboot version of the A system;
if the current uboot version is lower than the latest uboot version, backing up the current uboot version in a uboot partition of a B system;
upgrading the uboot partition of the A system according to the latest uboot version;
if the upgrading of the A system is abnormal, starting the B system, recovering the uboot partition of the A system according to the current backup uboot version through the B system, and restarting the A system.
2. The method according to claim 1, wherein the method further comprises:
if the current uboot version is higher than or equal to the latest uboot version, not upgrading the uboot partition of the A system, and upgrading other partitions of the A system according to the latest OTA upgrade package.
3. The method according to claim 1, wherein the method further comprises:
and if the power failure or the uboot partition upgrading abnormal event of the A system is detected, determining that the A system is abnormal in upgrading.
4. The method of claim 3, wherein the uboot partition upgrade exception event comprises a uboot partition upgrade package check exception and/or a uboot partition upgrade package write exception.
5. The method of claim 1, wherein after restarting the a-system, further comprising:
determining other partition upgrade packages except a uboot partition upgrade package in the latest OTA upgrade package;
and upgrading the other partitions of the A system according to the other partition upgrade packages.
6. The method of claim 1, wherein if the a-system needs to be upgraded, the method further comprises, before the a-system enters the recovery mode:
judging whether a system starting item is the A system or not;
if the system starting item is the A system, judging whether the A system needs to be upgraded according to the upgrade mark configuration file.
7. The method of claim 1, wherein after the backup of the current uboot version by a uboot partition of a B system, the method further comprises:
and setting a system start item as the B system.
8. A firmware upgrade apparatus, the apparatus comprising:
the downloading module is used for downloading the latest OTA upgrade package if the A system needs to be upgraded, wherein the A system enters a recovery mode and comprises a uboot partition and other partitions;
the comparison module is used for comparing the latest uboot version of the latest OTA upgrade package with the current uboot version of the A system in the recovery mode;
the backup module is used for backing up the current uboot version in a uboot partition of the B system if the current uboot version is lower than the latest uboot version;
the upgrading module is used for upgrading the uboot partition of the A system according to the latest uboot version;
and the starting module is used for starting the B system if the upgrading of the A system is abnormal, recovering the uboot partition of the A system according to the current backup uboot version by the B system, and restarting the A system.
9. An electronic device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, performs the firmware upgrade method of any one of claims 1-7.
10. A computer readable storage medium, characterized in that it stores a computer program which, when run on a processor, performs the firmware upgrade method of any one of claims 1 to 7.
CN202311782238.XA 2023-12-21 2023-12-21 Firmware upgrade method, device, electronic equipment and computer-readable storage medium Pending CN117785238A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311782238.XA CN117785238A (en) 2023-12-21 2023-12-21 Firmware upgrade method, device, electronic equipment and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311782238.XA CN117785238A (en) 2023-12-21 2023-12-21 Firmware upgrade method, device, electronic equipment and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN117785238A true CN117785238A (en) 2024-03-29

Family

ID=90388402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311782238.XA Pending CN117785238A (en) 2023-12-21 2023-12-21 Firmware upgrade method, device, electronic equipment and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN117785238A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119806595A (en) * 2025-01-15 2025-04-11 重庆长安科技有限责任公司 Intelligent driving system upgrade method, device and vehicle

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119806595A (en) * 2025-01-15 2025-04-11 重庆长安科技有限责任公司 Intelligent driving system upgrade method, device and vehicle

Similar Documents

Publication Publication Date Title
CN102165422B (en) Firmware update device and method
KR100750132B1 (en) How to boot, automatically update software and recover from errors, and the system and computer-readable recording media recording the method
CN105094927B (en) Equipment firmware upgrading method and device
CN109032632B (en) FOTA upgrading method, wireless communication terminal and storage medium
CN112860291B (en) Firmware upgrading method and device
CN103902399A (en) Software system repair processing method and software system repair processing device
CN113032183A (en) System management method, device, computer equipment and storage medium
CN108345464A (en) A kind of the startup method and Android vehicle device of Android system
CN106775674B (en) Equipment based on universal boot loader and starting method thereof
CN115827046A (en) Method and device for realizing OTA (over the air) upgrade of SPL (shortest Path first) partition, terminal equipment and chip
CN117785238A (en) Firmware upgrade method, device, electronic equipment and computer-readable storage medium
CN116185510A (en) Partition switch starting method, array server and computer readable storage medium
CN114741119A (en) System starting method and device, computer equipment and storage medium
CN114356658A (en) Processing method of firmware upgrading exception, computer equipment and readable storage medium
CN110908722B (en) Method and device applied to starting of operating system, electronic equipment and storage medium
CN119806655A (en) System segmented startup method, device, storage medium and electronic device
CN120653317A (en) System backup starting method and device, electronic equipment and storage medium
CN116627515A (en) Partition switching starting method and device of embedded system
CN102662695B (en) A kind of method that system starts and device
CN114153481A (en) Driving system updating method and device and computer equipment
CN113190244A (en) Method and device for upgrading wireless module, computer equipment and storage medium
CN114489717B (en) A system upgrade method, device and system
CN100469001C (en) System and method for updating software program by using general plug-and-play communication protocol
CN111190627A (en) System upgrading method and device
CN119322628B (en) Application program running method, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination