CN112015458A - Device upgrade method, terminal device, electronic device and storage medium - Google Patents
Device upgrade method, terminal device, electronic device and storage medium Download PDFInfo
- Publication number
- CN112015458A CN112015458A CN202010773468.XA CN202010773468A CN112015458A CN 112015458 A CN112015458 A CN 112015458A CN 202010773468 A CN202010773468 A CN 202010773468A CN 112015458 A CN112015458 A CN 112015458A
- Authority
- CN
- China
- Prior art keywords
- upgraded
- functional unit
- upgrade
- communication unit
- data
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/658—Incremental updates; Differential updates
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
Description
技术领域technical field
本发明实施例涉及物联网领域,特别涉及设备升级方法、终端设备、电子设备和存储介质。The embodiments of the present invention relate to the field of the Internet of Things, and in particular, to a device upgrade method, a terminal device, an electronic device, and a storage medium.
背景技术Background technique
物联网即“万物相连的互联网”,是互联网基础上的延伸和扩展的网络,将各种信息传感设备与互联网结合起来而形成的一个巨大网络。这些由信息传感器组成的物联网设备通常具有内存空间较小,对功耗限制较多等特点。在物联网设备使用过程中,为了功能的更新必须要进行升级。而现有物联网设备升级方式一般为各组成单元分开完成升级,使用不同的升级逻辑,各自下载升级包至各自的组成单元。The Internet of Things is the "Internet of all things connected", which is an extension and expansion of the Internet based on the Internet. It is a huge network formed by combining various information sensing devices with the Internet. These IoT devices composed of information sensors usually have the characteristics of small memory space and more restrictions on power consumption. In the process of using IoT devices, it is necessary to upgrade in order to update the functions. The existing Internet of Things equipment upgrade method generally completes the upgrade of each component unit separately, uses different upgrade logic, and downloads the upgrade package to the respective component unit.
发明人发现,现有技术中至少存在如下问题:一个设备每个单元升级都使用不同的升级方法,并各自下载升级包至相应的组成单元,占用物联网设备的组成单元中很多的资源和空间。The inventor found that there are at least the following problems in the prior art: a device uses a different upgrade method for each unit upgrade, and each downloads the upgrade package to the corresponding component unit, which occupies a lot of resources and space in the component units of the Internet of Things device. .
发明内容SUMMARY OF THE INVENTION
本发明实施方式的目的在于提供一种设备升级方法、终端设备、电子设备和存储介质,在资源较丰富的通信单元中实现各个单元的升级,有效的节省其他单元的资源,提高了设备的升级速度。The purpose of the embodiments of the present invention is to provide a device upgrade method, a terminal device, an electronic device and a storage medium, which can realize the upgrade of each unit in a communication unit with rich resources, effectively save the resources of other units, and improve the upgrade of the device. speed.
为解决上述技术问题,本发明的实施方式提供了一种设备升级方法,包括以下步骤:In order to solve the above technical problems, embodiments of the present invention provide a method for upgrading equipment, including the following steps:
通过所述通信单元获取待升级的所述功能单元的升级包;Obtain, through the communication unit, an upgrade package of the functional unit to be upgraded;
将所述升级包存储至所述通信单元的内存空间中;storing the upgrade package in the memory space of the communication unit;
根据所述升级包通过所述通信单元对所述待升级的所述功能单元进行升级。The functional unit to be upgraded is upgraded through the communication unit according to the upgrade package.
本发明的实施方式还提供了一种终端设备,包括:Embodiments of the present invention also provide a terminal device, including:
接收模块,用于通过所述通信单元获取待升级的所述功能单元的升级包;a receiving module, configured to obtain an upgrade package of the functional unit to be upgraded through the communication unit;
存储模块,用于将所述升级包存储至所述通信单元的内存空间中;a storage module, configured to store the upgrade package in the memory space of the communication unit;
升级模块,用于根据所述升级包通过所述通信单元对所述待升级的所述功能单元进行升级。An upgrade module, configured to upgrade the functional unit to be upgraded through the communication unit according to the upgrade package.
本发明的实施方式还提供了一种电子设备,包括:Embodiments of the present invention also provide an electronic device, comprising:
至少一个处理器;以及,at least one processor; and,
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行任一所述的设备升级方式。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform any of the device upgrade methods described.
本发明的实施方式还提供了一种计算机可读存储介质,存储有计算机程序,包括:所述计算机程序被处理器执行时实现任一项所述的设备升级的方法。Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, including: implementing any one of the device upgrade methods when the computer program is executed by a processor.
本发明实施方式相对于现有技术而言,将不同功能单元的升级包存放至通信单元中,避免了占用其他功能单元的存储空间;将待升级的功能单元的数据转变为差分块数据,实现最小差异化升级,减少了升级的工作量,加快了设备升级的速度;由于本发明可以适用于所有功能单元的升级,统一了各功能单元的升级逻辑,将升级过程放在了资源更为丰富的通信单元中,节约了其他单元的资源与空间,使得升级效率更高,速度更快。Compared with the prior art, the embodiment of the present invention stores the upgrade packages of different functional units in the communication unit, so as to avoid occupying the storage space of other functional units; the data of the functional unit to be upgraded is converted into differential block data to realize Minimize differentiated upgrades, reduce the workload of upgrades, and speed up the speed of equipment upgrades; because the invention can be applied to the upgrade of all functional units, the upgrade logic of each functional unit is unified, and the upgrade process is placed in more abundant resources. In the communication unit, the resources and space of other units are saved, making the upgrade more efficient and faster.
另外,本发明实施方式提供的设备升级方法,所述获取待升级的所述功能单元的升级包,具体包括:通过所述通信单元获取所述升级包;对所述获取过程进行标记生成标记点;当发生所述获取过程中断的情况,待所述获取恢复后从所述标记点继续所述获取的操作。通过设置标记点使得设备在发生传输中断的情况时无需担心重新传输会浪费过多的时间,待传输再次开始后,可从标记点继续进行传输,节省了传输流程,减少了传输时间。In addition, in the device upgrade method provided by the embodiment of the present invention, the obtaining the upgrade package of the functional unit to be upgraded specifically includes: obtaining the upgrade package through the communication unit; marking the obtaining process to generate a mark point ; When the acquisition process is interrupted, continue the acquisition operation from the marked point after the acquisition is resumed. By setting the marker point, the device does not need to worry about wasting too much time in retransmission when the transmission is interrupted. After the transmission starts again, the transmission can be continued from the marker point, which saves the transmission process and reduces the transmission time.
另外,本发明实施方式提供的设备升级方法,所述通过所述通信单元获取待升级的所述功能单元的升级包包括:发送所述待升级的所述功能单元的注册信息查询请求;接收返回的所述注册信息;发送所述待升级的所述功能单元的升级版本查询请求;接收所述升级版本的信息;发送所述待升级的所述功能单元的所述升级包的获取请求;接收所述升级包。通过获取待升级功能单元的信息与升级后功能单元的信息,可以在后续的步骤中根据获得到的信息生成包含对照信息的符号表,通过符号表最终实现差异部分升级,提高升级的速度。In addition, in the device upgrade method provided by the embodiment of the present invention, the obtaining, through the communication unit, the upgrade package of the functional unit to be upgraded includes: sending a registration information query request of the functional unit to be upgraded; receiving a response send the upgrade version query request of the functional unit to be upgraded; receive the upgrade version information; send the upgrade package acquisition request of the functional unit to be upgraded; receive the upgrade package. By acquiring the information of the functional unit to be upgraded and the information of the functional unit after the upgrade, a symbol table containing the comparison information can be generated according to the obtained information in the subsequent steps, and the difference part is finally upgraded through the symbol table, thereby improving the speed of the upgrade.
另外,本发明实施方式提供的设备升级方法,所述根据所述升级包通过所述通信单元对所述待升级的所述功能单元进行升级包括:通过所述通信单元获取差分块数据,其中,所述差分块数据为所述待升级的所述功能单元的数据中,与升级后的所述功能单元数据的区别部分的数据;由所述通信单元根据所述差分块数据与所述升级包,对所述待升级的所述功能单元进行升级。根据生成的差分块数据与升级包进行功能单元的升级,是只针对差异部分进行升级的升级方法,减少了通信单元升级功能单元的时间。In addition, in the device upgrading method provided by the embodiment of the present invention, the upgrading the functional unit to be upgraded through the communication unit according to the upgrade package includes: acquiring differential block data through the communication unit, wherein: The differential block data is the data of the different part of the data of the functional unit to be upgraded and the functional unit data after the upgrade; the communication unit is based on the differential block data and the upgrade package. , and upgrade the functional unit to be upgraded. Upgrading the functional unit according to the generated differential block data and the upgrade package is an upgrade method for upgrading only the difference part, which reduces the time for the communication unit to upgrade the functional unit.
另外,本发明实施方式提供的设备升级方法,所述通过所述通信单元获取差分块数据,,具体包括:通过所述通信单元获取所述升级版本信息;通过所述通信单元生成符号表,其中,所述符号表包含所述升级版本信息与所述待升级的所述功能单元的版本信息的对照信息;根据所述符号表获取所述差分块数据;通过获取到的版本信息生成的符号表来获得差分块数据,使得功能单元可以实现最小差异化升级,提高通信单元对功能单元升级的效率。In addition, in the device upgrade method provided by the embodiment of the present invention, the acquiring differential block data by the communication unit specifically includes: acquiring the upgrade version information by the communication unit; generating a symbol table by the communication unit, wherein , the symbol table contains the comparison information of the upgrade version information and the version information of the functional unit to be upgraded; the differential block data is acquired according to the symbol table; the symbol table generated by the acquired version information to obtain differential block data, so that functional units can achieve minimal differentiated upgrades and improve the efficiency of functional unit upgrades by communication units.
附图说明Description of drawings
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。One or more embodiments are exemplified by the pictures in the corresponding drawings, and these exemplifications do not constitute limitations of the embodiments, and elements with the same reference numerals in the drawings are denoted as similar elements, Unless otherwise stated, the figures in the accompanying drawings do not constitute a scale limitation.
图1是根据第一实施方式提供的设备升级方法的流程图一;FIG. 1 is a flowchart 1 of a device upgrading method provided according to the first embodiment;
图2是根据第一实施方式提供的设备升级方法的流程图二;FIG. 2 is a second flowchart of a device upgrading method provided according to the first embodiment;
图3是根据第一实施方式提供的设备升级方法的流程图三;FIG. 3 is a third flowchart of a device upgrading method provided according to the first embodiment;
图4是根据第三实施方式提供的外设终端的结构示意图;4 is a schematic structural diagram of a peripheral terminal provided according to a third embodiment;
图5是根据第四实施方式提供的电子设备的结构示意图。FIG. 5 is a schematic structural diagram of an electronic device provided according to a fourth embodiment.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合附图对本发明的各实施方式进行详细的阐述。然而,本领域的普通技术人员可以理解,在本发明各实施方式中,为了使读者更好地理解本申请而提出了许多技术细节。但是,即使没有这些技术细节和基于以下各实施方式的种种变化和修改,也可以实现本申请所要求保护的技术方案。In order to make the objectives, technical solutions and advantages of the embodiments of the present invention clearer, the various embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, those of ordinary skill in the art can appreciate that, in the various embodiments of the present invention, many technical details are set forth in order for the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solutions claimed in the present application can be realized.
以下各个实施例的划分是为了描述方便,不应对本发明的具体实现方式构成任何限定,各个实施例在不矛盾的前提下可以相互结合相互引用。The following divisions of the various embodiments are for the convenience of description, and should not constitute any limitation on the specific implementation of the present invention, and the various embodiments may be combined with each other and referred to each other on the premise of not contradicting each other.
本发明的第一实施方式涉及一种设备升级方法,应用于电子设备中,电子设备包括:两个及以上功能单元,功能单元至少包括通信单元。具体流程如图1所示,包括:The first embodiment of the present invention relates to a device upgrading method, which is applied to an electronic device. The electronic device includes: two or more functional units, and the functional units at least include a communication unit. The specific process is shown in Figure 1, including:
步骤101,通过通信单元获取待升级的功能单元的升级包。Step 101: Acquire an upgrade package of the functional unit to be upgraded through the communication unit.
在本实施方式中,通信单元中至少包括升级能力模块(Upgrade Agent,UA)、升级控制模块(Upgrade Control,UC)和引导启动模块(BootLoader)。In this embodiment, the communication unit at least includes an upgrade capability module (Upgrade Agent, UA), an upgrade control module (Upgrade Control, UC) and a boot start module (BootLoader).
其中,UA模块的功能为利用升级包、符号表对差分块数据进行升级并与ELB模块进行通信连接;通信单元的BootLoader模块用于引导启动UA升级功能;UC模块用于与网络平台进行通信连接。其中网络平台可以为物联网平台,此处仅为举例说明,不对网络平台进行限定。Among them, the function of the UA module is to use the upgrade package and symbol table to upgrade the differential block data and communicate with the ELB module; the BootLoader module of the communication unit is used to boot the UA upgrade function; the UC module is used to communicate with the network platform. . The network platform may be an Internet of Things platform, and this is only an example, and the network platform is not limited.
待升级的功能单元中至少包括ELB模块。其中,待升级的功能单元的ELB模块具有引导启动程序功能和与通信单元进行通信连接的功能。The functional unit to be upgraded includes at least an ELB module. Wherein, the ELB module of the functional unit to be upgraded has the function of booting the program and the function of communicating with the communication unit.
上述通信连接方式可以是有线连接,也可以是无线连接,其中,无线连接可以为wifi、蓝牙、红外等等,此处不做一一赘述。The above communication connection mode may be a wired connection or a wireless connection, wherein the wireless connection may be wifi, bluetooth, infrared, etc., which will not be described in detail here.
步骤101中获取升级包的过程为通信单元中的UC模块与网络平台进行交互,传输请求指令,接收升级包。具体流程如图2所示,包括:The process of acquiring the upgrade package in
步骤201,发送待升级的功能单元的注册信息查询请求。
步骤202,接收返回的注册信息。
步骤203,发送待升级的功能单元的升级版本查询请求。Step 203: Send an upgrade version query request of the functional unit to be upgraded.
步骤204,接收升级版本的信息。
步骤205,发送待升级的功能单元的升级包的获取请求。
步骤206,接收升级包。Step 206, receiving the upgrade package.
通过上述步骤201-206实现从网络平台下载升级包。The upgrade package is downloaded from the network platform through the above steps 201-206.
在本实施方式中,获取的过程可能发生中断,中断原因可以为网络信号差,网络信号中断,断电等,此处只为举例,在实际过程中中断原因还有许多,此处不做一一赘述。In this implementation manner, the acquisition process may be interrupted, and the reason for the interruption may be poor network signal, interruption of network signal, power failure, etc. This is only an example. In the actual process, there are many reasons for interruption, which will not be described here. One more elaboration.
为了防止中断原因消除后重复进行传输,采用断点标记的方式。In order to prevent repeated transmission after the interruption cause is eliminated, the method of breakpoint marking is adopted.
具体地,当发生获取中断的情况,对获取过程进行标记生成标记点,待恢复后从标记点继续进行获取的操作。其中,对获取过程进行标记生成标记点的方式有两种:Specifically, when the acquisition is interrupted, the acquisition process is marked to generate a mark point, and the acquisition operation is continued from the mark point after recovery. Among them, there are two ways to mark the acquisition process to generate mark points:
一种是,跟踪整个获取过程,无论是否有中断的情况发生,都对当前获取接收进度进行标记,生成标记点。One is to track the entire acquisition process, and mark the current acquisition and reception progress regardless of whether there is an interruption, and generate a mark point.
另一种是,在发生中断事由时,弹出发生错误的指令,根据该指令对当前获取接收进度进行标记,生成标记点。The other is that when an interruption occurs, an instruction with an error occurs is popped up, and the current acquisition and reception progress is marked according to the instruction to generate a mark point.
当然,以上两种方法仅为具体的举例说明,在实际的使用过程中,还可以通过其他方式对获取过程进行标记生成标记点,此处不做一一赘述。Of course, the above two methods are only specific examples to illustrate, in the actual use process, the acquisition process may also be marked in other ways to generate mark points, which will not be repeated here.
需要说明的是,所进行断点标记的获取过程可以为接收注册信息过程、接收升级版本信息过程、接收升级包过程,以及接下来的步骤提到的获取待升级的功能数据的过程等,此处不做一一赘述。It should be noted that, the process of obtaining the breakpoint mark may be the process of receiving registration information, the process of receiving upgraded version information, the process of receiving upgrade package, and the process of obtaining the function data to be upgraded mentioned in the next steps, etc. I won't go into details here.
步骤102,将升级包存储至通信单元的内存空间中。Step 102: Store the upgrade package in the memory space of the communication unit.
步骤103,根据升级包通过通信单元对待升级的功能单元进行升级。
本实施方式中,步骤103的升级方式具体为:In this embodiment, the upgrade method of
升级包下载完成后,UC模块向网络平台上报下载结果。After the upgrade package is downloaded, the UC module reports the download result to the network platform.
UC模块向待升级功能单元发送升级请求。The UC module sends an upgrade request to the functional unit to be upgraded.
UC模块接收返回的升级指令。The UC module receives the returned upgrade instruction.
UC模块转发升级指令至Bootloader模块。The UC module forwards the upgrade instructions to the Bootloader module.
通信单元通过Bootloader模块的引导功能引导执行UA模块升级功能。The communication unit guides and executes the UA module upgrade function through the boot function of the Bootloader module.
同时,待升级功能单元通过ELB模块的引导功能进入升级程序,其中,升级程序包括接收刷写、重启升级等。At the same time, the functional unit to be upgraded enters an upgrade program through the boot function of the ELB module, wherein the upgrade program includes receiving flashing, restarting upgrade, and the like.
具体地,执行UA模块的升级功能的具体流程如图3所示:Specifically, the specific process of executing the upgrade function of the UA module is shown in Figure 3:
步骤301,获取待升级功能单元数据。Step 301: Acquire data of the functional unit to be upgraded.
步骤302,将获取到的升级功能单元存储至通信单元内存空间中。Step 302: Store the acquired upgrade functional unit in the memory space of the communication unit.
步骤303,获取符号表。
具体地,根据从网络平台获取的现有待升级功能单元的注册信息和升级后的版本信息生成符号表。其中,符号表为注册信息与版本信息的对照表。Specifically, the symbol table is generated according to the registration information of the existing functional unit to be upgraded and the upgraded version information obtained from the network platform. The symbol table is a comparison table of registration information and version information.
步骤304,根据符号表获取差分块数据。Step 304: Acquire differential block data according to the symbol table.
具体地,UA模块结合符号表内对照信息对待升级功能单元中的数据进行拆分,提取差分块数据。其中,差分块数据为待升级功能单元的数据中可进行升级的部分,差分块的数量可以为一个或多个。Specifically, the UA module splits the data in the functional unit to be upgraded in combination with the comparison information in the symbol table, and extracts differential block data. Wherein, the differential block data is the upgradeable part of the data of the functional unit to be upgraded, and the number of differential blocks may be one or more.
步骤305,根据升级包对差分块数据进行升级。Step 305, upgrade the differential block data according to the upgrade package.
需要说明的是,升级包内存储的升级数据为升级版本的差分数据,即针对待升级功能单元数据的差分块进行升级的数据。It should be noted that the upgrade data stored in the upgrade package is the differential data of the upgraded version, that is, the data to be upgraded for the differential block of the functional unit data to be upgraded.
在对差分块数据升级完成后,向功能单元发送刷写请求。After the upgrade of the differential block data is completed, a flash request is sent to the functional unit.
UA模块接收到功能单元返回的刷写指令,对功能单元进行刷写。The UA module receives the flashing instruction returned by the functional unit, and flashes the functional unit.
刷写完成后执行下一个差分块数据的升级,直至所有差分块升级完成升级。After the flashing is completed, the next differential block data upgrade is performed until all differential blocks are upgraded.
通信单元UA模块向升级的功能单元的ELB模块发送升级完成通知。The communication unit UA module sends an upgrade completion notification to the ELB module of the upgraded functional unit.
升级的功能单元的ELB模块接收到升级完成通知后,执行ELB模块的引导功能,进行重启,完成功能单元的升级。After receiving the upgrade completion notification, the ELB module of the upgraded functional unit executes the boot function of the ELB module, restarts, and completes the upgrade of the functional unit.
升级的功能单元的ELB模块将功能单元升级结果发送至UC模块。The ELB module of the upgraded functional unit sends the functional unit upgrade result to the UC module.
UC模块转发升级结果至网络平台。The UC module forwards the upgrade result to the network platform.
本发明的第二实施方式涉及一种设备升级方法。第二实施方式与第一实施方式大致相同,The second embodiment of the present invention relates to a device upgrading method. The second embodiment is substantially the same as the first embodiment,
其区别之处在于,第一实施例中通信单元与待升级功能单元为两个单元,即通过通信单元对其他功能单元进行升级。而第二实施例为对通信单元本单元进行升级。The difference is that in the first embodiment, the communication unit and the functional unit to be upgraded are two units, that is, other functional units are upgraded through the communication unit. The second embodiment is to upgrade the communication unit itself.
本实施方式中,由于升级的功能单元为通信单元,在步骤103的具体实施方式中无需再发送升级指令请求,接收并存储升级包后直接通过Bootloader模块的引导功能引导执行UA模块升级功能,其中UA模块的升级过程为图3的步骤301-304。In this embodiment, since the upgraded functional unit is a communication unit, in the specific implementation of
需要说明的是,步骤301和步骤303的获取对象为通信单元,区别于实施例一的通信单元以外的功能单元的ELB模块。It should be noted that the acquisition objects of
上面各种方法的步骤划分,只是为了描述清楚,实现时可以合并为一个步骤或者对某些步骤进行拆分,分解为多个步骤,只要包括相同的逻辑关系,都在本专利的保护范围内;对算法中或者流程中添加无关紧要的修改或者引入无关紧要的设计,但不改变其算法和流程的核心设计都在该专利的保护范围内。The steps of the above various methods are divided only for the purpose of describing clearly. During implementation, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as the same logical relationship is included, they are all within the protection scope of this patent. ;Adding insignificant modifications to the algorithm or process or introducing insignificant designs, but not changing the core design of the algorithm and process are all within the scope of protection of this patent.
本发明第三实施方式涉及一种外设终端,如图4所示,包括:The third embodiment of the present invention relates to a peripheral terminal, as shown in FIG. 4 , including:
接收模块401,用于通过通信单元获取待升级的功能单元的升级包。The receiving
存储模块402,用于将升级包存储至通信单元的内存空间中。The
升级模块403,用于根据所述升级包通过所述通信单元对所述待升级的所述功能单元进行升级。An
不难发现,本实施方式为与第一实施方式相对应的系统实施例,本实施方式可与第一实施方式互相配合实施。第一实施方式中提到的相关技术细节在本实施方式中依然有效,为了减少重复,这里不再赘述。相应地,本实施方式中提到的相关技术细节也可应用在第一实施方式中。It is not difficult to find that this embodiment is a system example corresponding to the first embodiment, and this embodiment can be implemented in cooperation with the first embodiment. The relevant technical details mentioned in the first embodiment are still valid in this embodiment, and are not repeated here in order to reduce repetition. Correspondingly, the related technical details mentioned in this embodiment can also be applied to the first embodiment.
值得一提的是,本实施方式中所涉及到的各模块均为逻辑模块,在实际应用中,一个逻辑单元可以是一个物理单元,也可以是一个物理单元的一部分,还可以以多个物理单元的组合实现。此外,为了突出本发明的创新部分,本实施方式中并没有将与解决本发明所提出的技术问题关系不太密切的单元引入,但这并不表明本实施方式中不存在其它的单元。It is worth mentioning that each module involved in this embodiment is a logical module. In practical applications, a logical unit may be a physical unit, a part of a physical unit, or multiple physical units. A composite implementation of the unit. In addition, in order to highlight the innovative part of the present invention, this embodiment does not introduce units that are not closely related to solving the technical problem proposed by the present invention, but this does not mean that there are no other units in this embodiment.
本发明第四实施方式涉及一种电子设备,如图5所示,包括:The fourth embodiment of the present invention relates to an electronic device, as shown in FIG. 5 , including:
至少一个处理器501;以及,at least one
与至少一个处理器501通信连接的存储器502;其中,
存储器502存储有可被至少一个处理器501执行的指令,指令被至少一个处理器501执行,以使至少一个处理器501能够执行本发明实施例第一至二的设备升级方式。The
其中,存储器和处理器采用总线方式连接,总线可以包括任意数量的互联的总线和桥,总线将一个或多个处理器和存储器的各种电路链接在一起。总线还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口在总线和收发机之间提供接口。收发机可以是一个元件,也可以是多个元件,比如多个接收器和发送器,提供用于在传输介质上与各种其他装置通信的单元。经处理器处理的数据通过天线在无线介质上进行传输,进一步,天线还接收数据并将数据传送给处理器。The memory and the processor are connected by a bus, and the bus may include any number of interconnected buses and bridges, and the bus links one or more processors and various circuits of the memory together. The bus may also link together various other circuits, such as peripherals, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. The bus interface provides the interface between the bus and the transceiver. A transceiver may be a single element or multiple elements, such as multiple receivers and transmitters, providing a means for communicating with various other devices over a transmission medium. The data processed by the processor is transmitted on the wireless medium through the antenna, and further, the antenna also receives the data and transmits the data to the processor.
处理器负责管理总线和通常的处理,还可以提供各种功能,包括定时,外围接口,电压调节、电源管理以及其他控制功能。而存储器可以被用于存储处理器在执行操作时所使用的数据。The processor manages the bus and general processing, and can also provide various functions, including timing, peripheral interface, voltage regulation, power management, and other control functions. Instead, memory may be used to store data used by the processor in performing operations.
本领域技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。Those skilled in the art can understand that all or part of the steps in the method of the above embodiments can be completed by instructing the relevant hardware through a program. The program is stored in a storage medium and includes several instructions to make a device (which may be a single-chip microcomputer) , chip, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, removable hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes.
本领域的普通技术人员可以理解,上述各实施方式是实现本发明的具体实施例,而在实际应用中,可以在形式上和细节上对其作各种改变,而不偏离本发明的精神和范围。Those of ordinary skill in the art can understand that the above-mentioned embodiments are specific examples for realizing the present invention, and in practical applications, various changes in form and details can be made without departing from the spirit and the spirit of the present invention. scope.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010773468.XA CN112015458B (en) | 2020-08-04 | 2020-08-04 | Device upgrade method, terminal device, electronic device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010773468.XA CN112015458B (en) | 2020-08-04 | 2020-08-04 | Device upgrade method, terminal device, electronic device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112015458A true CN112015458A (en) | 2020-12-01 |
CN112015458B CN112015458B (en) | 2024-11-05 |
Family
ID=73500006
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010773468.XA Active CN112015458B (en) | 2020-08-04 | 2020-08-04 | Device upgrade method, terminal device, electronic device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112015458B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113110800A (en) * | 2021-04-12 | 2021-07-13 | 百度在线网络技术(北京)有限公司 | Data processing method and device, electronic equipment and storage medium |
CN113485855A (en) * | 2021-08-02 | 2021-10-08 | 安徽文香科技有限公司 | Memory sharing method and device, electronic equipment and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080216066A1 (en) * | 2006-07-14 | 2008-09-04 | Samsung Electronics Co., Ltd. | Program upgrade system and method for ota-capable mobile terminal |
CN105610966A (en) * | 2016-01-20 | 2016-05-25 | 深圳市中兴物联科技股份有限公司 | Terminal of Internet of things and upgrading method thereof |
CN110377307A (en) * | 2019-07-18 | 2019-10-25 | 上海擎感智能科技有限公司 | A kind of car body controller firmware upgrade method, terminal, system |
CN111104149A (en) * | 2018-10-25 | 2020-05-05 | 华为技术有限公司 | A firmware upgrade method, device and terminal |
-
2020
- 2020-08-04 CN CN202010773468.XA patent/CN112015458B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080216066A1 (en) * | 2006-07-14 | 2008-09-04 | Samsung Electronics Co., Ltd. | Program upgrade system and method for ota-capable mobile terminal |
CN101467129A (en) * | 2006-07-14 | 2009-06-24 | 三星电子株式会社 | Program upgrade system and method for OTA-capable mobile terminal |
CN105610966A (en) * | 2016-01-20 | 2016-05-25 | 深圳市中兴物联科技股份有限公司 | Terminal of Internet of things and upgrading method thereof |
CN111104149A (en) * | 2018-10-25 | 2020-05-05 | 华为技术有限公司 | A firmware upgrade method, device and terminal |
CN110377307A (en) * | 2019-07-18 | 2019-10-25 | 上海擎感智能科技有限公司 | A kind of car body controller firmware upgrade method, terminal, system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113110800A (en) * | 2021-04-12 | 2021-07-13 | 百度在线网络技术(北京)有限公司 | Data processing method and device, electronic equipment and storage medium |
CN113110800B (en) * | 2021-04-12 | 2025-05-02 | 百度在线网络技术(北京)有限公司 | Data processing method, device, electronic device and storage medium |
CN113485855A (en) * | 2021-08-02 | 2021-10-08 | 安徽文香科技有限公司 | Memory sharing method and device, electronic equipment and readable storage medium |
CN113485855B (en) * | 2021-08-02 | 2024-05-10 | 安徽文香科技股份有限公司 | Memory sharing method, device, electronic device and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112015458B (en) | 2024-11-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7345921B2 (en) | OTA differential update method and system for master-slave architecture | |
US20190266011A1 (en) | Task processing method, apparatus, and system based on distributed system | |
US8103272B2 (en) | Techniques for database updates | |
CN113010217B (en) | BIOS parameter setting method and device, electronic equipment and storage medium | |
US11372673B2 (en) | Artificial intelligence chip and instruction execution method for artificial intelligence chip | |
WO2014127628A1 (en) | Firmware upgrade method and system | |
WO2018157588A1 (en) | Firmware burning method, system, computer device and storage medium | |
CN111338662A (en) | Firmware upgrading method and device for slave station and terminal | |
KR20070081095A (en) | How to Boot a Multiprocessor System and Slave Systems | |
WO2019140656A1 (en) | Firmware upgrade method and apparatus, electronic device and control device | |
CN107544828A (en) | Configuring load application method and device | |
CN115437696B (en) | Self-adaptive configuration method and device for trusted platform | |
CN112015458B (en) | Device upgrade method, terminal device, electronic device and storage medium | |
CN118642763B (en) | Method and device for controlling starting of server, storage medium and electronic equipment | |
CN111338670A (en) | Robot firmware updating method and device, storage medium and robot | |
CN116991331B (en) | Log file storage method and device, storage medium and electronic device | |
WO2024174904A1 (en) | Management migration method and apparatus for container instance, and electronic device and storage medium | |
JP5518950B2 (en) | Virtual machine management system and management method | |
WO2018036255A1 (en) | Method and device for resetting network device to factory settings, and network device | |
CN108984277B (en) | Distributed database transaction processing method and device based on GPS atomic clock | |
CN119179528A (en) | Configuration parameter importing and exporting method and device, storage medium and electronic device | |
CN109617713A (en) | Implementation method and server for resource distribution | |
CN113259437B (en) | Method and device for determining vehicle network protocol and storage medium | |
CN102508738B (en) | A backup method, kernel and backup kernel of multi-core processor business information | |
CN116627453A (en) | Vehicle version upgrading method, device, equipment 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |