技术领域Technical field
本发明涉及物联网技术领域,具体涉及一种升级包的确定方法及服务端。The invention relates to the technical field of the Internet of Things, and specifically relates to a method for determining an upgrade package and a server.
背景技术Background technique
随着物联网的发展,为保障智能设备(如智能家电等)的稳定运行,需对智能设备进行升级。With the development of the Internet of Things, in order to ensure the stable operation of smart devices (such as smart home appliances, etc.), smart devices need to be upgraded.
目前通常以移动终端的空中下载软件升级(Firmware Over-The-Air,FOTA)方式对智能设备进行整机升级,具体升级方式为:智能设备向服务端发送整机固件版本号,当获取用户的升级指令后,服务端向智能设备发送整机升级包以对智能设备进行升级。但是,由于构成智能设备的零部件都是提前生产且预先烧写程序,无法修改或更新各个零部件中的程序,也就导致各个零部件中的程序无法获悉智能设备的整机固件版本号,进而导致现有升级方式不能支持智能设备的整机FOTA。At present, the whole smart device is usually upgraded by the mobile terminal's over-the-air software upgrade (Firmware Over-The-Air, FOTA). The specific upgrade method is: the smart device sends the whole firmware version number to the server, and when the user's After the upgrade command, the server sends a complete upgrade package to the smart device to upgrade the smart device. However, since the components that make up a smart device are produced in advance and pre-programmed, the programs in each component cannot be modified or updated. This means that the programs in each component cannot learn the firmware version number of the smart device. As a result, the existing upgrade method cannot support the entire FOTA of smart devices.
发明内容Contents of the invention
有鉴于此,本发明实施例提供一种升级包的确定方法及服务端,以解决现有升级方式不能支持智能设备的整机FOTA的问题。In view of this, embodiments of the present invention provide a method and server for determining an upgrade package to solve the problem that the existing upgrade method cannot support the FOTA of the entire smart device.
为实现上述目的,本发明实施例提供如下技术方案:To achieve the above objectives, embodiments of the present invention provide the following technical solutions:
本发明实施例第一方面公开一种升级包的确定方法,所述方法包括:A first aspect of the embodiment of the present invention discloses a method for determining an upgrade package. The method includes:
若接收到用户终端发送的查询指令,获取构成智能设备的各个部件的当前部件版本信息;If a query command sent by the user terminal is received, the current component version information of each component that constitutes the smart device is obtained;
利用所有所述当前部件版本信息,确定所述智能设备的目标整机固件类型和当前整机固件版本号;Using all the current component version information, determine the target complete firmware type and current complete firmware version number of the smart device;
根据所述目标整机固件类型和所有所述当前部件版本信息,从多个预设的升级任务中匹配得到目标升级任务,并获取与所述目标升级任务对应的目标整机升级包,每个所述升级任务存在与之对应的整机升级包和整机固件版本号;According to the target complete machine firmware type and all the current component version information, a target upgrade task is obtained from multiple preset upgrade tasks, and a target complete machine upgrade package corresponding to the target upgrade task is obtained, each The upgrade task has a corresponding complete machine upgrade package and complete machine firmware version number;
将所述当前整机固件版本号和所述目标升级任务对应的整机固件版本号发送至所述用户终端。The current complete machine firmware version number and the complete machine firmware version number corresponding to the target upgrade task are sent to the user terminal.
优选的,将所述当前整机固件版本号和所述目标升级任务对应的整机固件版本号发送至所述用户终端之后,还包括:Preferably, after sending the current complete machine firmware version number and the complete machine firmware version number corresponding to the target upgrade task to the user terminal, the method further includes:
将设备升级指令发送给所述智能设备;Send device upgrade instructions to the smart device;
接收所述智能设备发送的下载指令,将所述目标整机升级包发送给所述智能设备,使所述智能设备根据所述目标整机升级包升级各个所述部件的子固件,所述目标整机升级包包含至少一个所述部件的子固件升级包。Receive the download instruction sent by the smart device, send the target complete machine upgrade package to the smart device, so that the smart device upgrades the sub-firmware of each component according to the target complete machine upgrade package, the target The whole machine upgrade package includes at least one sub-firmware upgrade package of the component.
优选的,所述利用所有所述当前部件版本信息确定所述智能设备的当前整机固件版本号的过程,包括:Preferably, the process of using all the current component version information to determine the current complete firmware version number of the smart device includes:
根据第一预设关系,确定与所有所述当前部件版本信息具有对应关系的整机固件版本号,将所确定的整机固件版本号作为所述智能设备的当前整机固件版本号,所述第一预设关系包含多组第一对应关系,每组所述第一对应关系指示一个整机固件版本号与多条部件版本信息之间的关联关系。According to the first preset relationship, determine the complete machine firmware version number that has a corresponding relationship with all the current component version information, and use the determined complete machine firmware version number as the current complete machine firmware version number of the smart device, The first preset relationship includes multiple sets of first correspondence relationships, and each set of the first correspondence relationships indicates an association between a complete machine firmware version number and multiple pieces of component version information.
优选的,所述利用所有所述当前部件版本信息确定所述智能设备的目标整机固件类型的过程,包括:Preferably, the process of using all the current component version information to determine the target overall firmware type of the smart device includes:
根据第二预设关系,确定与所有所述当前部件版本信息的子固件类型和子固件软件类型具有对应关系的整机固件类型,将所确定的整机固件类型作为所述智能设备的目标整机固件类型,所述第二预设关系包含多组第二对应关系,每组所述第二对应关系指示一个整机固件类型与多条部件版本信息的子固件类型和子固件软件类型之间的关联关系。According to the second preset relationship, determine the complete machine firmware type that has a corresponding relationship with the sub-firmware types and sub-firmware software types of all the current component version information, and use the determined complete machine firmware type as the target complete machine of the smart device Firmware type, the second preset relationship includes multiple sets of second correspondence relationships, each set of second correspondence relationships indicates the association between a complete machine firmware type and sub-firmware types and sub-firmware software types of multiple pieces of component version information. relation.
优选的,每个升级任务包含限定条件和适用条件;Preferably, each upgrade task includes limiting conditions and applicable conditions;
所述根据所述目标整机固件类型和所有所述当前部件版本信息,从多个预设的升级任务中匹配得到目标升级任务,并获取与所述目标升级任务对应的目标整机升级包,包括:and obtaining a target upgrade task from a plurality of preset upgrade tasks based on the target complete machine firmware type and all current component version information, and obtaining a target complete machine upgrade package corresponding to the target upgrade task, include:
从多个预设的升级任务中,确定限定条件与所述目标整机固件类型相匹配的升级任务为第一升级任务;From a plurality of preset upgrade tasks, determine the upgrade task whose qualification conditions match the target complete machine firmware type as the first upgrade task;
从所有所述第一升级任务中,确定适用条件与所有所述当前部件版本信息中的子固件软件版本号相匹配的第一升级任务为第二升级任务;From all the first upgrade tasks, determine the first upgrade task whose applicable conditions match the sub-firmware software version numbers in all the current component version information as the second upgrade task;
若所述第二升级任务的数量为1,确定所述第二升级任务为目标升级任务;If the number of the second upgrade tasks is 1, determine the second upgrade task as the target upgrade task;
若所述第二升级任务的数量大于1,确定最优的第二升级任务为目标升级任务,所述最优的第二升级任务为整机固件版本号最高和/或创建时间最新的第二升级任务;If the number of the second upgrade tasks is greater than 1, determine the optimal second upgrade task as the target upgrade task, and the optimal second upgrade task is the second upgrade task with the highest firmware version number and/or the latest creation time. Upgrade tasks;
获取与所述目标升级任务对应的目标整机升级包。Obtain the target complete machine upgrade package corresponding to the target upgrade task.
优选的,将所述目标整机升级包发送给所述智能设备之后,还包括:Preferably, after sending the target complete machine upgrade package to the smart device, it also includes:
接收所述智能设备发送的每个所述部件的部件升级进度;Receive the component upgrade progress of each component sent by the smart device;
根据每个所述部件升级进度确定所述智能设备的整机升级进度并将其发送给所述用户终端。The overall upgrade progress of the smart device is determined based on the upgrade progress of each component and sent to the user terminal.
优选的,将所述目标整机升级包发送给所述智能设备之后,还包括:Preferably, after sending the target complete machine upgrade package to the smart device, it also includes:
生成与所述智能设备对应的设备升级日志,并接收所述智能设备发送的升级后的每个所述部件的部件版本信息。Generate a device upgrade log corresponding to the smart device, and receive the upgraded component version information of each component sent by the smart device.
本发明实施例第二方面公开一种服务端,所述服务端包括:A second aspect of the embodiment of the present invention discloses a server, which includes:
获取单元,用于若接收到用户终端发送的查询指令,获取构成智能设备的各个部件的当前部件版本信息;The acquisition unit is used to acquire the current component version information of each component constituting the intelligent device upon receiving a query instruction sent by the user terminal;
确定单元,用于利用所有所述当前部件版本信息,确定所述智能设备的目标整机固件类型和当前整机固件版本号;A determination unit configured to use all the current component version information to determine the target complete machine firmware type and the current complete machine firmware version number of the smart device;
第一处理单元,用于根据所述目标整机固件类型和所有所述当前部件版本信息,从多个预设的升级任务中匹配得到目标升级任务,并获取与所述目标升级任务对应的目标整机升级包,每个所述升级任务存在与之对应的整机升级包和整机固件版本号;A first processing unit configured to obtain a target upgrade task from multiple preset upgrade tasks based on the target complete machine firmware type and all current component version information, and obtain a target corresponding to the target upgrade task. The whole machine upgrade package, each of the upgrade tasks has a corresponding whole machine upgrade package and the whole machine firmware version number;
发送单元,用于将所述当前整机固件版本号和所述目标升级任务对应的整机固件版本号发送至所述用户终端。A sending unit, configured to send the current complete machine firmware version number and the complete machine firmware version number corresponding to the target upgrade task to the user terminal.
本发明实施例第三方面公开一种电子设备,所述电子设备用于运行程序,其中,所述程序运行时执行如本发明实施例第一方面公开的升级包的确定方法。A third aspect of the embodiment of the present invention discloses an electronic device. The electronic device is configured to run a program. When the program is running, the method for determining an upgrade package disclosed in the first aspect of the embodiment of the present invention is executed.
本发明实施例第四方面公开一种计算机存储介质,所述存储介质包括存储程序,其中,在所述程序运行时控制所述存储介质所在设备执行如本发明实施例第一方面公开的升级包的确定方法。A fourth aspect of the embodiment of the present invention discloses a computer storage medium. The storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute an upgrade package as disclosed in the first aspect of the embodiment of the present invention. method of determination.
基于上述本发明实施例提供的一种升级包的确定方法及服务端,该方法为:若接收到用户终端发送的查询指令,获取构成智能设备的各个部件的当前部件版本信息;利用所有当前部件版本信息,确定智能设备的目标整机固件类型和当前整机固件版本号;根据目标整机固件类型和所有当前部件版本信息,从多个预设的升级任务中匹配得到目标升级任务,并获取与目标升级任务对应的目标整机升级包;将当前整机固件版本号和目标升级任务对应的整机固件版本号发送至用户终端。本方案中,根据智能设备上传的各个部件的当前部件版本信息,确定智能设备的目标整机固件类型和当前整机固件版本号。利用目标整机固件类型和所有当前部件版本信息确定目标整机升级包。智能设备仅需上报各个部件的当前版本信息即可确定对应的目标整机升级包,智能设备不需要保存或上报整机版本信息,提高对智能设备进行整机FOTA的适用范围。Based on the above-mentioned embodiments of the present invention, an upgrade package determination method and a server are provided. The method is: upon receiving a query instruction sent by a user terminal, obtain the current component version information of each component constituting the smart device; use all current components Version information, determine the target firmware type and current firmware version number of the smart device; match the target upgrade task from multiple preset upgrade tasks based on the target firmware type and all current component version information, and obtain The target complete machine upgrade package corresponding to the target upgrade task; the current complete machine firmware version number and the complete machine firmware version number corresponding to the target upgrade task are sent to the user terminal. In this solution, the target complete firmware type and current complete firmware version number of the smart device are determined based on the current component version information of each component uploaded by the smart device. Use the target machine firmware type and all current component version information to determine the target machine upgrade package. Smart devices only need to report the current version information of each component to determine the corresponding target complete machine upgrade package. Smart devices do not need to save or report the complete machine version information, which improves the scope of application of complete machine FOTA for smart devices.
附图说明Description of the drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are only These are embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on the provided drawings without exerting creative efforts.
图1为本发明实施例提供的一种升级包的确定方法的流程图;Figure 1 is a flow chart of a method for determining an upgrade package provided by an embodiment of the present invention;
图2为本发明实施例提供的整机版本信息、升级任务和部件版本信息之间的关系示意图;Figure 2 is a schematic diagram of the relationship between complete machine version information, upgrade tasks and component version information provided by an embodiment of the present invention;
图3(a)为本发明实施例提供的整机版本信息的详情示意图;图3(b)为本发明实施例提供的升级任务的详情示意图;图3(c)为本发明实施例提供的升级任务的另一详情示意图;图3(d)为本发明实施例提供的升级任务的另一详情示意图;Figure 3(a) is a detailed schematic diagram of the complete machine version information provided by the embodiment of the present invention; Figure 3(b) is a detailed schematic diagram of the upgrade task provided by the embodiment of the present invention; Figure 3(c) is a detailed schematic diagram of the upgrade task provided by the embodiment of the present invention. Another detailed schematic diagram of the upgrade task; Figure 3(d) is another detailed schematic diagram of the upgrade task provided by the embodiment of the present invention;
图4(a)为本发明实施例提供的智能设备的所有当前部件版本信息的详情示意图;图4(b)为本发明实施例提供的智能设备的所有当前部件版本信息的另一详情示意图;图4(c)为本发明实施例提供的智能设备的所有当前部件版本信息的另一详情示意图;图4(d)为本发明实施例提供的智能设备的所有当前部件版本信息的另一详情示意图;Figure 4(a) is a detailed schematic diagram of all current component version information of the smart device provided by the embodiment of the present invention; Figure 4(b) is another detailed schematic diagram of all current component version information of the smart device provided by the embodiment of the present invention; Figure 4(c) is another detailed schematic diagram of all current component version information of the smart device provided by the embodiment of the present invention; Figure 4(d) is another detailed schematic diagram of all current component version information of the smart device provided by the embodiment of the present invention. schematic diagram;
图5为本发明实施例提供的智能设备、服务端及用户终端的交互示意图;Figure 5 is a schematic diagram of the interaction between the smart device, the server and the user terminal provided by the embodiment of the present invention;
图6为本发明实施例提供的一种服务端的结构框图。Figure 6 is a structural block diagram of a server provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present invention.
在本申请中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。In this application, the terms "comprises," "comprises," or any other variation thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements not only includes those elements, but also includes none. Other elements expressly listed, or elements inherent to such process, method, article or equipment. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article, or apparatus that includes the stated element.
由背景技术可知,在以移动终端的空中下载软件升级(Firmware Over-The-Air,FOTA)方式对智能设备进行整机升级时,智能设备向服务端发送整机固件版本号,并由服务端向智能设备发送整机升级包以对智能设备进行升级。但是由于构成智能设备的零部件都是提前生产且预先烧写程序,无法修改或更新各个零部件中的程序,导致各个零部件中的程序无法获悉智能设备的整机固件版本号,进而导致现有升级方式不能支持智能设备的整机FOTA。It can be known from the background technology that when a smart device is fully upgraded using a mobile terminal's Firmware Over-The-Air (FOTA) method, the smart device sends the firmware version number of the whole machine to the server, and the server Send a complete upgrade package to the smart device to upgrade the smart device. However, since the components that make up the smart device are produced in advance and pre-programmed, the programs in each component cannot be modified or updated. As a result, the programs in each component cannot learn the firmware version number of the smart device, which leads to current problems. There are upgrade methods that cannot support the entire FOTA of smart devices.
因此,本发明实施例提供一种升级包的确定方法及服务端,根据智能设备上传的各个部件的当前部件版本信息,确定智能设备的目标整机固件类型和当前整机固件版本号。利用目标整机固件类型和所有当前部件版本信息确定目标整机升级包。智能设备仅需上报各个部件的当前版本信息即可确定对应的目标整机升级包,智能设备不需要保存或上报整机版本信息,以提高对智能设备进行整机FOTA的适用范围。Therefore, embodiments of the present invention provide a method and server for determining an upgrade package, which determines the target complete firmware type and current complete firmware version number of the smart device based on the current component version information of each component uploaded by the smart device. Use the target machine firmware type and all current component version information to determine the target machine upgrade package. Smart devices only need to report the current version information of each component to determine the corresponding target complete machine upgrade package. Smart devices do not need to save or report the complete machine version information, so as to improve the scope of application of complete machine FOTA for smart devices.
参见图1,示出了本发明实施例提供的一种升级包的确定方法的流程图,该升级包的确定方法适用于服务端,该升级包的确定方法包括:Referring to Figure 1, there is shown a flow chart of a method for determining an upgrade package provided by an embodiment of the present invention. The method for determining an upgrade package is suitable for the server. The method for determining an upgrade package includes:
步骤S101:若接收到用户终端发送的查询指令,获取构成智能设备的各个部件的当前部件版本信息。Step S101: If a query instruction sent by the user terminal is received, obtain the current component version information of each component that constitutes the smart device.
需要说明的是,智能设备的各个部件的当前部件版本信息由该智能设备预先上传,具体实现中,智能设备通过服务端的M2M(machine to machine)将该当前部件版本信息上传至服务端中,部件的当前部件版本信息至少包含:部件的子固件对应的子固件类型、子固件软件类型(以子固件软件标识来表示)和子固件软件版本号。It should be noted that the current component version information of each component of the smart device is uploaded in advance by the smart device. In specific implementation, the smart device uploads the current component version information to the server through the M2M (machine to machine) of the server. The current component version information at least includes: the sub-firmware type corresponding to the sub-firmware of the component, the sub-firmware software type (represented by the sub-firmware software identifier) and the sub-firmware software version number.
在具体实现步骤S101的过程中,若服务端的FOTA服务接收到用户终端发送(如通过APP发送)的查询指令,该服务端的FOTA服务从数据库(database,DB)获取构成智能设备的各个部件的当前部件版本信息。In the process of specifically implementing step S101, if the FOTA service on the server side receives a query instruction sent by the user terminal (such as sent through an APP), the FOTA service on the server side obtains the current data of each component that constitutes the smart device from a database (database, DB). Component version information.
步骤S102:利用所有当前部件版本信息,确定智能设备的目标整机固件类型和当前整机固件版本号。Step S102: Use all current component version information to determine the target complete machine firmware type and current complete machine firmware version number of the smart device.
需要说明的是,服务端中的FOTA控制台预先构建第一预设关系和第二预设关系,该第一预设关系包含多组第一对应关系,该第二预设关系包含多组第二对应关系。每组第一对应关系指示一个整机固件版本号(智能设备的整机固件版本号)与多条部件版本信息(子固件类型+子固件软件类型+子固件软件版本号)之间的关联关系。每组第二对应关系指示一个整机固件类型与多条部件版本信息中的子固件类型和子固件软件类型之间的关联关系。It should be noted that the FOTA console in the server pre-constructs a first default relationship and a second default relationship. The first default relationship includes multiple sets of first corresponding relationships, and the second default relationship includes multiple sets of first corresponding relationships. Two corresponding relationships. Each set of first correspondence indicates the association between a whole machine firmware version number (the whole machine firmware version number of the smart device) and multiple pieces of component version information (sub-firmware type + sub-firmware software type + sub-firmware software version number) . Each set of second correspondences indicates an association between a complete machine firmware type and sub-firmware types and sub-firmware software types in multiple pieces of component version information.
也就是说,针对每个整机固件版本号,预先选择智能设备的多个部件,根据所选择的部件的部件版本信息(子固件类型+子固件软件类型+子固件软件版本号),构建多条部件版本信息与该整机固件版本号之间的第一对应关系。针对每个整机固件类型,预先选择智能设备的多个部件,根据所选择的部件的部件版本信息中的子固件类型和子固件软件类型,构建多条部件版本信息的子固件类型和子固件软件类型与该整机固件类型之间的第二对应关系。That is to say, for each complete machine firmware version number, multiple components of the smart device are pre-selected, and based on the component version information of the selected components (sub-firmware type + sub-firmware software type + sub-firmware software version number), multiple components are constructed. The first correspondence between a piece of component version information and the complete machine firmware version number. For each complete machine firmware type, multiple components of the smart device are pre-selected, and based on the sub-firmware types and sub-firmware software types in the component version information of the selected components, sub-firmware types and sub-firmware software types of multiple pieces of component version information are constructed. The second corresponding relationship with the firmware type of the whole machine.
在具体实现步骤S102的过程中,根据第一预设关系,确定与所有当前部件版本信息具有对应关系的整机固件版本号,将所确定的整机固件版本号作为智能设备的当前整机固件版本号。可以理解的是,如果未确定得到与所有当前部件版本信息具有对应关系的整机固件版本号,则向用户终端展示用于指示当前整机固件版本号未定义的信息。In the process of specifically implementing step S102, according to the first preset relationship, determine the complete machine firmware version number that has a corresponding relationship with all current component version information, and use the determined complete machine firmware version number as the current complete machine firmware of the smart device version number. It can be understood that if it is not determined that the complete machine firmware version number corresponding to all current component version information is obtained, information indicating that the current complete machine firmware version number is undefined is displayed to the user terminal.
根据第二预设关系,确定与所有当前部件版本信息的子固件类型和子固件软件类型具有对应关系的整机固件类型,将所确定的整机固件类型作为智能设备的目标整机固件类型。According to the second preset relationship, determine the complete machine firmware type that has a corresponding relationship with the sub-firmware types and sub-firmware software types of all current component version information, and use the determined complete machine firmware type as the target complete machine firmware type of the smart device.
为更好解释说明如何创建第一预设关系和第二预设关系,通过以下过程A1至A3进行解释说明。In order to better explain how to create the first preset relationship and the second preset relationship, the following processes A1 to A3 are explained.
A1、服务端的FOTA控制台响应创建指令,创建各个部件(如WIFI模块和电脑版等)的子固件,所创建的子固件以与其对应的子固件类型、子固件软件类型和子固件软件版本号作为唯一标识。A1. The FOTA console on the server responds to the creation command and creates sub-firmware for each component (such as WIFI module and computer version, etc.). The created sub-firmware is represented by its corresponding sub-firmware type, sub-firmware software type and sub-firmware version number. Uniquely identifies.
可以理解的是,在创建各个子固件时,需上传各个子固件对应的子固件升级包并填写相应的子固件软件版本描述。It is understandable that when creating each sub-firmware, you need to upload the sub-firmware upgrade package corresponding to each sub-firmware and fill in the corresponding sub-firmware software version description.
A2、服务端的FOTA控制台响应创建指令,创建整机版本信息。A2. The FOTA console on the server responds to the creation command and creates the complete machine version information.
可以理解的是,在创建整机版本信息时,服务端的FOTA控制台响应选择指令,选择与所创建的整机版本信息对应的各个部件的子固件,并需定义与该整机版本信息对应的“整机固件类型别名”和“整机固件版本号别名”,与此同时还需填写用于向用户展示的“整机版本信息描述”。It can be understood that when creating the complete machine version information, the FOTA console on the server responds to the selection command, selects the sub-firmware of each component corresponding to the created complete machine version information, and needs to define the sub-firmware corresponding to the complete machine version information. "Computer firmware type alias" and "Computer firmware version number alias". At the same time, you also need to fill in the "computer version information description" for display to users.
当选择与所创建的整机版本信息对应的子固件之后,对所选择的子固件的子固件类型和子固件软件类型的值的组合分配一个全局唯一标识(此处相当于整机固件类型),该整机固件类型与所选择的子固件的子固件类型和子固件软件类型之间的对应关系即为前述提及第二预设关系中的第二对应关系。After selecting the sub-firmware corresponding to the created complete machine version information, a globally unique identifier (here equivalent to the complete machine firmware type) is assigned to the combination of the sub-firmware type and sub-firmware software type of the selected sub-firmware. The corresponding relationship between the whole machine firmware type and the sub-firmware type and sub-firmware software type of the selected sub-firmware is the second corresponding relationship among the aforementioned second preset relationships.
当选择与所创建的整机版本信息对应的子固件之后,对所选择的子固件对应的子固件类型、子固件软件类型和子固件软件版本号(也就是部件版本信息)的值的组合分配一个全局唯一标识(此处相当于整机固件版本号),该整机固件版本号与所选择的子固件对应的部件版本信息之间的对应关系即为前述提及第一预设关系中的第一对应关系。After selecting the sub-firmware corresponding to the created complete machine version information, a combination of the sub-firmware type, sub-firmware software type and sub-firmware software version number (that is, component version information) corresponding to the selected sub-firmware is assigned a Globally unique identifier (here equivalent to the whole machine firmware version number). The corresponding relationship between the whole machine firmware version number and the component version information corresponding to the selected sub-firmware is the first preset relationship mentioned above. One correspondence.
也就是说,整机版本信息至少包含整机固件版本号和整机固件类型。That is to say, the whole machine version information at least includes the whole machine firmware version number and the whole machine firmware type.
A3、针对所创建的整机版本信息,将该整机版本信息所对应的所有子固件的子固件升级包进行打包,得到对应的整机升级包。A3. For the created complete machine version information, package the sub-firmware upgrade packages of all sub-firmwares corresponding to the complete machine version information to obtain the corresponding complete machine upgrade package.
通过上述过程A1至A3所示出的内容,可创建多条整机版本信息及与其对应的整机固件版本号、整机固件类型、第一对应关系和第二对应关系。Through the content shown in the above processes A1 to A3, multiple pieces of machine version information and their corresponding machine firmware version numbers, machine firmware types, first corresponding relationships, and second corresponding relationships can be created.
步骤S103:根据目标整机固件类型和所有当前部件版本信息,从多个预设的升级任务中匹配得到目标升级任务,并获取与目标升级任务对应的目标整机升级包。Step S103: Match the target upgrade task from multiple preset upgrade tasks according to the target complete machine firmware type and all current component version information, and obtain the target complete machine upgrade package corresponding to the target upgrade task.
需要说明的是,每个升级任务存在与之对应的整机升级包和整机固件版本号,每个整机升级包包含智能设备的至少一个部件的子固件升级包。对于每个升级任务,该升级任务的限定条件用于限定整机固件类型,该升级任务的适用条件用于限定子固件软件版本号,只有整机固件类型满足该升级任务的限定条件且子固件软件版本号满足该升级任务的适用条件的智能设备,才能命中该升级任务。It should be noted that each upgrade task has a corresponding complete machine upgrade package and complete machine firmware version number, and each complete machine upgrade package contains a sub-firmware upgrade package of at least one component of the smart device. For each upgrade task, the qualification conditions of the upgrade task are used to limit the whole machine firmware type, and the applicable conditions of the upgrade task are used to limit the sub-firmware software version number. Only the whole machine firmware type meets the qualification conditions of the upgrade task and the sub-firmware Only smart devices with software version numbers that meet the applicable conditions of the upgrade task can hit the upgrade task.
为更好解释说明如何创建升级任务,结合上述过程A1至A3的内容,通过过程A4至A6进行解释说明。In order to better explain how to create an upgrade task, combined with the content of the above processes A1 to A3, the explanation will be explained through processes A4 to A6.
A4、服务端的FOTA控制台响应控制指令,创建任一已创建好的整机版本信息对应的升级任务。也就是说,可选择一个已创建好的整机版本信息,创建与所选择的整机版本信息对应的升级任务。A4. The FOTA console on the server responds to the control command and creates an upgrade task corresponding to any created machine version information. That is to say, you can select a created machine version information and create an upgrade task corresponding to the selected machine version information.
A5、将与升级任务对应的整机版本信息所包含的整机固件类型,作为该升级任务的限定条件。A5. Use the complete machine firmware type included in the complete machine version information corresponding to the upgrade task as the limiting condition for the upgrade task.
可以理解的是,由上述过程A1至A3内容可知,所创建好的整机版本信息包含整机固件版本号和整机固件类型,在创建所选择的整机版本信息对应的升级任务时,将该所选择的整机版本信息对应的整机固件类型作为所创建的升级任务的限定条件(该限定条件不可修改)。It can be understood that from the contents of the above processes A1 to A3, the created complete machine version information includes the complete machine firmware version number and the complete machine firmware type. When creating an upgrade task corresponding to the selected complete machine version information, the The complete machine firmware type corresponding to the selected complete machine version information serves as a limiting condition for the created upgrade task (the limiting condition cannot be modified).
A6、对于整机版本信息对应的升级任务,将预先选择的各个部件(与创建整机版本信息所选择的部件一致,该整机版本信息与升级任务对应)对应的子固件版本号作为该升级任务的适用条件,需要说明的是,可根据实际需求修改选择哪些子固件版本号作为该升级任务的适用条件。A6. For the upgrade task corresponding to the complete machine version information, use the sub-firmware version number corresponding to each pre-selected component (which is consistent with the components selected to create the complete machine version information, and the complete machine version information corresponds to the upgrade task) as the upgrade. Regarding the applicable conditions for the task, it should be noted that the sub-firmware version numbers can be modified according to actual needs as the applicable conditions for the upgrade task.
进一步需要说明的是,升级任务的适用条件中的子固件版本号也可设置为通配符“*”,某一部件对应的子固件版本号为通配符“*”时,表示该升级任务的适用条件适用于该部件对应的子固件的所有版本。It should be further noted that the sub-firmware version number in the applicable conditions of the upgrade task can also be set to the wildcard character "*". When the sub-firmware version number corresponding to a certain component is the wildcard character "*", it means that the applicable conditions of the upgrade task are applicable. All versions of the sub-firmware corresponding to this part.
可以理解的是,所创建的每条整机版本信息可对应多个升级任务和多个部件版本信息,如图2示出的整机版本信息、升级任务和部件版本信息之间的关系示意图。每条整机版本信息对应n个升级任务和m个部件版本信息。整机版本信息至少包含整机固件类型、整机固件版本号、整机固件类型别名、整机固件版本号别名、整机版本信息描述和整机升级包等信息。升级任务至少包含升级任务名称、限定条件和适用条件。部件版本信息至少包含:部件的子固件对应的子固件类型、子固件软件类型、子固件软件版本号和子固件软件版本描述,该部件为WIFI模块、电脑版和自定义硬件等部件。于此同时,还需上传各个部件的子固件的子固件升级包。It can be understood that each created piece of complete machine version information can correspond to multiple upgrade tasks and multiple component version information, as shown in Figure 2, which is a schematic diagram of the relationship between complete machine version information, upgrade tasks, and component version information. Each piece of complete machine version information corresponds to n upgrade tasks and m component version information. The whole machine version information at least includes the whole machine firmware type, the whole machine firmware version number, the whole machine firmware type alias, the whole machine firmware version number alias, the whole machine version information description, the whole machine upgrade package and other information. The upgrade task at least contains the upgrade task name, qualifications, and applicable conditions. The component version information at least includes: the sub-firmware type corresponding to the sub-firmware of the component, the sub-firmware software type, the sub-firmware software version number and the sub-firmware software version description. This component is a WIFI module, computer version, custom hardware and other components. At the same time, the sub-firmware upgrade package of the sub-firmware of each component also needs to be uploaded.
在具体实现步骤S103的过程中,服务端的FOTA服务从多个预设的升级任务中,确定限定条件与目标整机固件类型相匹配的升级任务为第一升级任务。从所有第一升级任务中,确定适用条件与所有当前部件版本信息中的子固件软件版本号相匹配的第一升级任务为第二升级任务。During the specific implementation of step S103, the FOTA service on the server side determines the upgrade task whose qualification conditions match the target complete machine firmware type from multiple preset upgrade tasks as the first upgrade task. From all the first upgrade tasks, the first upgrade task whose applicable conditions match the sub-firmware software version numbers in all current component version information is determined to be the second upgrade task.
若第二升级任务的数量为1,确定第二升级任务为目标升级任务。If the number of second upgrade tasks is 1, determine the second upgrade task as the target upgrade task.
若第二升级任务的数量大于1,确定最优的的第二升级任务为目标升级任务,最优的第二升级任务为整机固件版本号最高和/或创建时间最新的第二升级任务。也就是说,在确定得到多个第二升级任务的情况下,若整机固件版本号最高的第二升级任务仅存在1个,则将机版本号最高的第二升级任务作为最优的第二升级任务;若存在多个整机固件版本号不同的第二升级任务,且整机固件版本号最高的第二升级任务存在多个,则在整机固件版本号最高的多个第二升级任务中,将创建时间最新的第二升级任务作为最优的第二升级任务,此时该最优的第二升级任务为整机固件版本号最高且创建时间最新的第二升级任务;若各个第二升级任务的整机固件版本号均相同,则将创建时间最新的第二升级任务作为最优的第二升级任务。If the number of second upgrade tasks is greater than 1, determine the optimal second upgrade task as the target upgrade task, and the optimal second upgrade task is the second upgrade task with the highest firmware version number and/or the latest creation time. That is to say, when it is determined that multiple second upgrade tasks are obtained, if there is only one second upgrade task with the highest firmware version number of the entire machine, then the second upgrade task with the highest firmware version number will be regarded as the optimal second upgrade task. Second upgrade task; if there are multiple second upgrade tasks with different machine firmware version numbers, and there are multiple second upgrade tasks with the highest machine firmware version number, then the multiple second upgrade tasks with the highest machine firmware version number will be executed. In the task, the second upgrade task with the latest creation time is regarded as the optimal second upgrade task. At this time, the optimal second upgrade task is the second upgrade task with the highest firmware version number and the latest creation time; if each If the entire machine firmware version number of the second upgrade task is the same, the second upgrade task with the latest creation time will be regarded as the optimal second upgrade task.
由前述内容可知,每个升级任务对应存在相应的整机升级包,获取与目标升级任务对应的整机升级包并将其作为目标整机升级包。It can be seen from the foregoing that each upgrade task has a corresponding whole machine upgrade package. The whole machine upgrade package corresponding to the target upgrade task is obtained and used as the target whole machine upgrade package.
步骤S104:将当前整机固件版本号和目标升级任务对应的整机固件版本号发送至用户终端。Step S104: Send the current whole machine firmware version number and the whole machine firmware version number corresponding to the target upgrade task to the user terminal.
可以理解的是,由前述内容可知,每个升级任务对应存在相应的整机固件版本号,将目标升级任务所对应的整机固件版本号作为升级后的整机固件版本号,相当于智能设备可升级得到的整机固件版本号。It can be understood from the foregoing that each upgrade task corresponds to a corresponding firmware version number of the entire machine, and the firmware version number of the entire machine corresponding to the target upgrade task is used as the firmware version number of the upgraded whole machine, which is equivalent to a smart device The firmware version number of the whole machine that can be upgraded.
在具体实现步骤S104的过程中,服务端的FOTA服务将当前整机固件版本号和目标升级任务对应的整机固件版本号发送至用户终端,使用户通过该用户终端了解智能设备的当前整机固件版本号和可升级得到的整机固件版本号。During the specific implementation of step S104, the FOTA service on the server sends the current whole machine firmware version number and the whole machine firmware version number corresponding to the target upgrade task to the user terminal, so that the user can understand the current whole machine firmware of the smart device through the user terminal Version number and the upgradeable firmware version number of the entire machine.
优选的,在将当前整机固件版本号和目标升级任务对应的整机固件版本号发送至用户终端之后,用户可通过用户终端确定是否需要对智能设备进行升级,当用户确定需对智能设备进行升级时,用户终端将设备升级指令发送至服务端,若服务端接收到用户终端发送的设备升级指令,将设备升级指令发送给智能设备。服务端的FOTA服务将当前整机固件版本号和目标升级任务对应的整机固件版本号发送至用户终端后,用户可通过点击诸如“立即升级”的按键,向服务端发送设备升级指令。Preferably, after the current whole machine firmware version number and the whole machine firmware version number corresponding to the target upgrade task are sent to the user terminal, the user can determine whether the smart device needs to be upgraded through the user terminal. When the user determines that the smart device needs to be upgraded, When upgrading, the user terminal sends the device upgrade command to the server. If the server receives the device upgrade command sent by the user terminal, it sends the device upgrade command to the smart device. After the FOTA service on the server sends the current machine firmware version number and the machine firmware version number corresponding to the target upgrade task to the user terminal, the user can send a device upgrade instruction to the server by clicking a button such as "Upgrade Now".
需要说明的是,也可不需要通过用户确定才能对智能设备进行升级,即服务端将当前整机固件版本号和目标升级任务对应的整机固件版本号发送至用户终端之后,服务端可直接将设备升级指令发送给智能设备。在此对于如何发送设备升级指令的方式不做具体限定。It should be noted that the smart device can be upgraded without user confirmation. That is, after the server sends the current whole machine firmware version number and the whole machine firmware version number corresponding to the target upgrade task to the user terminal, the server can directly Device upgrade instructions are sent to smart devices. There is no specific limitation on how to send device upgrade instructions.
在一些具体实施例中,若服务端的M2M接收到用户终端发送的用于升级智能设备的设备升级指令,服务端的M2M将该设备升级指令发送给智能设备,该设备升级指令携带用于下载目标整机升级包的url;或者,服务端将当前整机固件版本号和目标升级任务对应的整机固件版本号发送至用户终端之后,服务端的M2M直接将该设备升级指令发送给智能设备。In some specific embodiments, if the M2M on the server side receives a device upgrade instruction sent by the user terminal for upgrading the smart device, the M2M on the server side sends the device upgrade instruction to the smart device, and the device upgrade instruction carries the device upgrade instruction for downloading the target device. The URL of the machine upgrade package; or, after the server sends the current machine firmware version number and the machine firmware version number corresponding to the target upgrade task to the user terminal, the M2M on the server side directly sends the device upgrade instruction to the smart device.
优选的,服务端将设备升级指令发送给智能设备后,服务端接收智能设备发送的下载指令,将目标整机升级包发送给智能设备,使智能设备根据目标整机升级包升级各个部件的子固件。Preferably, after the server sends the device upgrade instruction to the smart device, the server receives the download instruction sent by the smart device and sends the target complete machine upgrade package to the smart device, so that the smart device upgrades the sub-assemblies of each component according to the target complete machine upgrade package. firmware.
在具体实现中,服务端的资源服务(CDN)接收智能设备发送的下载指令(基于目标整机升级包的url发送),将目标整机升级包发送给智能设备,使智能设备根据目标整机升级包升级各个部件的子固件。In the specific implementation, the resource service (CDN) of the server receives the download instruction sent by the smart device (sent based on the URL of the target complete machine upgrade package), and sends the target complete machine upgrade package to the smart device, so that the smart device can be upgraded according to the target complete machine. Package upgrades the sub-firmware of each component.
可以理解的是,目标整机升级包包含智能设备的至少一个部件对应的子固件升级包,在将目标整机升级包发送至智能设备后,智能设备可通过物联部件(如WIFI模块)解析该目标整机升级包得到子固件升级包,并由智能设备的物联部件(如WIFI模块)将各个子固件升级包发送至对应的部件进行子固件的升级。It can be understood that the target complete machine upgrade package contains a sub-firmware upgrade package corresponding to at least one component of the smart device. After the target complete machine upgrade package is sent to the smart device, the smart device can parse it through the IoT component (such as a WIFI module) The target whole machine upgrade package obtains sub-firmware upgrade packages, and the IoT component (such as WIFI module) of the smart device sends each sub-firmware upgrade package to the corresponding component for upgrading the sub-firmware.
优选的,服务端将目标整机升级包发送给智能设备之后,服务端的M2M接收智能设备发送的每个部件的部件升级进度,并根据每个部件升级进度确定智能设备的整机升级进度并将其发送给用户终端,使用户终端了解该智能设备的整机升级情况,而不需要分别关注各个部件的升级情况。Preferably, after the server sends the target complete machine upgrade package to the smart device, the M2M on the server receives the component upgrade progress of each component sent by the smart device, and determines the complete machine upgrade progress of the smart device based on the upgrade progress of each component. It is sent to the user terminal so that the user terminal can understand the overall upgrade status of the smart device without paying attention to the upgrade status of each component separately.
优选的,服务端将目标整机升级包发送给智能设备之后,服务端的M2M生成与智能设备对应的设备升级日志(包含设备升级指令和各个部件升级进度),并接收智能设备发送的升级后的每个部件的部件版本信息,并通过服务端的FOTA服务将该设备升级日志存储至数据库中。Preferably, after the server sends the target complete machine upgrade package to the smart device, the M2M on the server generates a device upgrade log corresponding to the smart device (including device upgrade instructions and upgrade progress of each component), and receives the upgraded information sent by the smart device. The component version information of each component is stored in the database through the FOTA service on the server side.
在本发明实施例中,根据智能设备上传的各个部件的当前部件版本信息,确定智能设备的目标整机固件类型和当前整机固件版本号。利用目标整机固件类型和所有当前部件版本信息确定目标整机升级包,将目标整机升级包发送给智能设备对各个部件的子固件进行升级。智能设备仅需上报各个部件的当前版本信息即可确定对应的目标整机升级包,智能设备不需要保存或上报整机版本信息,提高对智能设备进行整机FOTA的适用范围。In the embodiment of the present invention, the target complete machine firmware type and the current complete machine firmware version number of the smart device are determined based on the current component version information of each component uploaded by the smart device. The target complete machine firmware type and all current component version information are used to determine the target complete machine upgrade package, and the target complete machine upgrade package is sent to the smart device to upgrade the sub-firmware of each component. Smart devices only need to report the current version information of each component to determine the corresponding target complete machine upgrade package. Smart devices do not need to save or report the complete machine version information, which improves the scope of application of complete machine FOTA for smart devices.
为更好解释说明上述本发明实施例图1中所涉及的如何确定智能设备的当前整机固件版本号和如何匹配升级任务等内容,通过图3(a)至图3(d),以及通过图4(a)至图4(d),需要说明的是图3(a)至图3(d)以及图4(a)至图4(d)示出的内容仅用于举例。In order to better explain how to determine the current firmware version number of the smart device and how to match the upgrade tasks involved in Figure 1 of the above embodiment of the present invention, through Figure 3(a) to Figure 3(d), and through Figure 3(a) to Figure 3(d), and through Figure 3(a) to Figure 3(d), and through 4(a) to 4(d). It should be noted that the contents shown in FIGS. 3(a) to 3(d) and 4(a) to 4(d) are for example only.
图3(a)为服务端预先创建的整机版本信息的详情示意图;图3(b)为服务端预先创建的升级任务的详情示意图,图3(b)示出的升级任务在以下内容中以“设备整机任务A-1”表示;图3(c)为服务端预先创建的升级任务的详情示意图,图3(c)示出的升级任务在以下内容中以“设备整机任务A-2”表示;图3(d)为服务端预先创建的升级任务的详情示意图,图3(d)示出的升级任务在以下内容中以“设备整机任务A-3”表示。图3(b)至图3(d)所示出的升级任务均设置限定条件和适用条件,适用条件中的“*”表示所有子固件软件版本号均适用。Figure 3(a) is a detailed schematic diagram of the complete machine version information pre-created by the server; Figure 3(b) is a detailed schematic diagram of the upgrade task pre-created by the server. The upgrade task shown in Figure 3(b) is in the following content It is represented by "Equipment Complete Task A-1"; Figure 3(c) is a detailed schematic diagram of the upgrade task pre-created by the server. The upgrade task shown in Figure 3(c) is represented by "Equipment Complete Task A-1" in the following content. -2"; Figure 3(d) is a detailed schematic diagram of the upgrade task pre-created by the server. The upgrade task shown in Figure 3(d) is represented by "Equipment Task A-3" in the following content. The upgrade tasks shown in Figure 3(b) to Figure 3(d) all set limiting conditions and applicable conditions. The "*" in the applicable conditions indicates that all sub-firmware software version numbers are applicable.
可以理解的是,在图3(b)中“设备整机固件版本A-2.0”一栏所包含的信息为:利用“设备整机任务A-1”这一升级任务对智能设备进行升级后所得到的整机固件类型、整机固件版本号(2.0)和各个部件版本信息;图3(c)和图3(d)所包含的内容的相关解释,可参见关于图3(b)的解释,在此不再赘述。It can be understood that the information contained in the "Device Complete Firmware Version A-2.0" column in Figure 3(b) is: After upgrading the smart device using the "Device Complete Task A-1" upgrade task The obtained complete machine firmware type, complete machine firmware version number (2.0) and version information of each component; for relevant explanations of the content contained in Figure 3(c) and Figure 3(d), please refer to Figure 3(b) The explanation will not be repeated here.
若智能设备所上传的所有当前部件版本信息为如图4(a)示出的内容,服务端可根据图3(a)示出整机版本信息对应的第一对应关系和第二对应关系,对图4(a)中的所有当前部件版本信息进行匹配,确定该智能设备的整机固件版本号为整机固件版本号1.0和整机固件类型为整机固件类型A。利用整机固件类型A和图4(a)中的所有当前部件版本信息,可匹配得到图3(b)示出的“设备整机任务A-1”。利用“设备整机任务A-1”对智能设备进行升级之后,该智能设备的整机固件版本号为整机固件版本号2.0,且各个部件升级后的部件版本信息参见图3(b)“设备整机固件版本A-2.0”一栏示出的内容。If all current component version information uploaded by the smart device is as shown in Figure 4(a), the server can show the first correspondence relationship and the second correspondence relationship corresponding to the complete machine version information according to Figure 3(a), All current component version information in Figure 4(a) is matched to determine that the whole machine firmware version number of the smart device is the whole machine firmware version number 1.0 and the whole machine firmware type is the whole machine firmware type A. Using the complete machine firmware type A and all current component version information in Figure 4(a), the "complete device task A-1" shown in Figure 3(b) can be matched. After upgrading the smart device using "Device Complete Task A-1", the complete firmware version number of the smart device is the complete firmware version number 2.0, and the upgraded component version information of each component is shown in Figure 3(b). The content shown in the "Device Firmware Version A-2.0" column.
当该智能设备利用图3(b)示出的“设备整机任务A-1”进行升级后,此时该智能设备上传的当前部件版本信息如图4(b)示出的内容。服务端可根据图3(b)中“设备整机固件版本A-2.0”一栏示出的整机版本信息对应的第一对应关系和第二对应关系,对图4(b)中的所有当前部件版本信息进行匹配,确定该智能设备的整机固件版本号为整机固件版本号2.0和整机固件类型为整机固件类型A。利用整机固件类型A和图4(b)中的所有当前部件版本信息,可匹配得到图3(c)示出的“设备整机任务A-2”。利用“设备整机任务A-2”对智能设备进行升级之后,该智能设备的整机固件版本号为整机固件版本号3.0,且各个部件升级后的部件版本信息参见图3(c)“设备整机固件版本A-3.0”一栏示出的内容。When the smart device is upgraded using the "Device Complete Task A-1" shown in Figure 3(b), the current component version information uploaded by the smart device at this time is as shown in Figure 4(b). The server can, based on the first correspondence and the second correspondence corresponding to the complete device version information shown in the "Device Firmware Version A-2.0" column in Figure 3(b), perform all the data in Figure 4(b). The current component version information is matched to determine that the whole machine firmware version number of the smart device is the whole machine firmware version number 2.0 and the whole machine firmware type is the whole machine firmware type A. Using the complete machine firmware type A and all current component version information in Figure 4(b), the "Complete Equipment Task A-2" shown in Figure 3(c) can be matched. After upgrading the smart device using "Device Complete Task A-2", the complete firmware version number of the smart device is the complete firmware version number 3.0, and the upgraded component version information of each component is shown in Figure 3(c). The content shown in the "Device firmware version A-3.0" column.
当智能设备利用图3(c)示出的“设备整机任务A-2”进行升级后,此时该智能设备上传的当前部件版本信息如图4(c)示出的内容。服务端可根据图3(c)中“设备整机固件版本A-3.0”一栏示出的整机版本信息对应的第一对应关系和第二对应关系,对图4(c)中的所有当前部件版本信息进行匹配,确定该智能设备的整机固件版本号为整机固件版本号3.0和整机固件类型为整机固件类型A。利用整机固件类型A和图4(c)中的所有当前部件版本信息,匹配图3(b)至图3(d)所示出的升级任务,未匹配得到对应的升级任务,此时服务端可向用户终端展示用于指示未匹配到升级任务的信息。When the smart device is upgraded using the "Device Complete Task A-2" shown in Figure 3(c), the current component version information uploaded by the smart device at this time is as shown in Figure 4(c). The server can, based on the first correspondence and the second correspondence corresponding to the complete device version information shown in the "Device Firmware Version A-3.0" column in Figure 3(c), perform all the operations in Figure 4(c). The current component version information is matched to determine that the whole machine firmware version number of the smart device is the whole machine firmware version number 3.0 and the whole machine firmware type is the whole machine firmware type A. Use the whole machine firmware type A and all current component version information in Figure 4(c) to match the upgrade tasks shown in Figure 3(b) to Figure 3(d). If not matched, the corresponding upgrade tasks are obtained. At this time, the service The terminal may display information indicating that the upgrade task is not matched to the user terminal.
若智能设备所上传的所有当前部件版本信息为如图4(d)示出的内容,服务端利用图3(b)至图3(d)所示出的整机版本信息对应的第一对应关系和第二对应关系,未匹配得到相应的整机固件版本号,但可确定得到该智能设备的整机固件类型为整机固件类型A,此时服务端向用户终端展示用于指示当前整机固件版本号未定义的信息。图4(d)能匹配得到图3(b)和图3(c)示出的升级任务,图3(b)示出的升级任务的整机固件版本号为整机固件版本号2.0,图3(c)示出的升级任务的整机固件版本号为整机固件版本号3.0,此时服务端利用图3(c)示出的升级任务对智能设备进行升级,升级之后该智能设备的整机固件版本号为整机固件版本号3.0。If all current component version information uploaded by the smart device is as shown in Figure 4(d), the server uses the first correspondence corresponding to the complete machine version information shown in Figure 3(b) to Figure 3(d) relationship and the second corresponding relationship, the corresponding firmware version number is not obtained, but it can be determined that the firmware type of the smart device is firmware type A. At this time, the server displays it to the user terminal to indicate the current firmware version. The machine firmware version number is undefined. Figure 4(d) can match the upgrade tasks shown in Figure 3(b) and Figure 3(c). The whole machine firmware version number of the upgrade task shown in Figure 3(b) is the whole machine firmware version number 2.0. Figure The whole machine firmware version number of the upgrade task shown in Figure 3(c) is the whole machine firmware version number 3.0. At this time, the server uses the upgrade task shown in Figure 3(c) to upgrade the smart device. After the upgrade, the smart device The firmware version of the entire machine is firmware version 3.0.
上述内容为对如何确定智能设备的当前整机固件版本号和如何匹配升级任务等内容的示例。The above content is an example of how to determine the current firmware version number of a smart device and how to match upgrade tasks.
为更好解释说明上述本发明实施例图1中所涉及的内容,通过图5示出的智能设备、服务端及用户终端的交互示意图进行举例说明。In order to better explain the content involved in Figure 1 of the above embodiment of the present invention, an example is provided through the interaction diagram of the smart device, the server and the user terminal shown in Figure 5 .
需要说明的是,图5中的设备(即智能设备,在本示例中称为设备)由WIFI模块、电脑版A、电脑版B和自定义硬件等部件构成,服务端至少包含:FOTA控制台、DB、资源服务、FOTA服务和M2M。It should be noted that the device in Figure 5 (that is, a smart device, called a device in this example) consists of a WIFI module, computer version A, computer version B, and custom hardware. The server at least includes: FOTA console , DB, resource service, FOTA service and M2M.
图5所示出的交互示意图包含以下步骤。The interaction diagram shown in Figure 5 contains the following steps.
步骤1-1:服务端的FOTA控制台响应运营人员的指令,创建并管理子固件和整机版本信息。Step 1-1: The FOTA console on the server responds to the operator's instructions, creates and manages sub-firmware and complete machine version information.
步骤1-2:服务端的FOTA控制台响应运营人员的指令,创建并管理升级任务。Step 1-2: The FOTA console on the server responds to the operator's instructions, creates and manages upgrade tasks.
步骤2-1:设备向服务端的M2M上报各个部件的当前部件版本信息。Step 2-1: The device reports the current component version information of each component to the M2M on the server side.
步骤2-2:服务端的M2M将各个部件的当前部件版本信息上报至服务端的FOTA服务。Step 2-2: The M2M on the server side reports the current component version information of each component to the FOTA service on the server side.
步骤3-1:用户点击用户终端的APP,查看该设备是否存在可升级的整机固件版本号。Step 3-1: The user clicks on the APP on the user terminal to check whether the device has an upgradeable firmware version number.
步骤3-2:服务端的FOTA服务接收用户终端的查询指令,获取各个部件的当前部件版本信息,并根据所有当前部件版本信息从数据库中匹配到目标升级任务,将目标升级任务对应的整机固件版本号和设备的当前整机固件版本号反馈给用户终端。Step 3-2: The FOTA service on the server receives the query command from the user terminal, obtains the current component version information of each component, and matches the target upgrade task from the database based on all current component version information, and adds the complete machine firmware corresponding to the target upgrade task. The version number and the current firmware version number of the device are fed back to the user terminal.
步骤3-3:用户通过用户终端查看设备的当前整机固件版本号和目标升级任务对应的整机固件版本号后,可点击“确认升级”按键,用户终端将设备升级指令发送至服务端的M2M。Step 3-3: After checking the current firmware version number of the device and the firmware version number corresponding to the target upgrade task through the user terminal, the user can click the "Confirm Upgrade" button, and the user terminal sends the device upgrade instruction to the M2M on the server. .
步骤3-4:服务端的M2M将设备升级指令发送给设备的WIFI模块。Step 3-4: The M2M on the server sends the device upgrade command to the WIFI module of the device.
步骤3-5:设备的WIFI模块根据设备升级指令中的url,从资源服务下载与目标升级任务对应的目标整机升级包。Step 3-5: The WIFI module of the device downloads the target complete machine upgrade package corresponding to the target upgrade task from the resource service according to the URL in the device upgrade instruction.
步骤3-6:设备的WIFI模块将目标整机升级包中的各个子固件升级包分别发送至对应的部件,使各个部件对自身的子固件进行升级。Step 3-6: The WIFI module of the device sends each sub-firmware upgrade package in the target complete machine upgrade package to the corresponding components, so that each component can upgrade its own sub-firmware.
步骤3-7:设备的WIFI模块将各个部件的部件升级进度发送至服务端的M2M。Step 3-7: The WIFI module of the device sends the component upgrade progress of each component to the M2M on the server side.
步骤3-8:服务端的M2M将由各个部件升级进度确定的整机升级进度发送至用户终端。Step 3-8: The M2M on the server side sends the overall machine upgrade progress determined by the upgrade progress of each component to the user terminal.
步骤3-9:服务端的M2M将包含设备升级指令和各个部件升级进度的设备升级日志发送至服务端的FOTA服务进行存储。Step 3-9: The M2M on the server sends the device upgrade log containing the device upgrade instructions and the upgrade progress of each component to the FOTA service on the server for storage.
步骤4:服务端的FOTA控制台可响应运营人员的指令,向运营人员展示设备升级日志。Step 4: The FOTA console on the server side can respond to the operator's instructions and display the device upgrade log to the operator.
与上述本发明实施例提供的一种升级包的确定方法相对应,参见图6,本发明实施例还提供了一种服务端的结构框图,该服务端包括:获取单元601、确定单元602、第一处理单元603和发送单元604;Corresponding to the method for determining an upgrade package provided by the above embodiment of the present invention, referring to Figure 6, the embodiment of the present invention also provides a structural block diagram of a server. The server includes: an acquisition unit 601, a determination unit 602, a processing unit 603 and a sending unit 604;
获取单元601,用于若接收到用户终端发送的查询指令,获取构成智能设备的各个部件的当前部件版本信息。The acquisition unit 601 is configured to acquire the current component version information of each component constituting the smart device upon receiving a query instruction sent by the user terminal.
确定单元602,用于利用所有当前部件版本信息,确定智能设备的目标整机固件类型和当前整机固件版本号。The determining unit 602 is configured to use all current component version information to determine the target complete machine firmware type and the current complete machine firmware version number of the smart device.
在具体实现中,确定单元602具体用于:根据第一预设关系,确定与所有当前部件版本信息具有对应关系的整机固件版本号,将所确定的整机固件版本号作为智能设备的当前整机固件版本号,第一预设关系包含多组第一对应关系,每组第一对应关系指示一个整机固件版本号与多条部件版本信息之间的关联关系;根据第二预设关系,确定与所有当前部件版本信息的子固件类型和子固件软件类型具有对应关系的整机固件类型,将所确定的整机固件类型作为智能设备的目标整机固件类型,第二预设关系包含多组第二对应关系,每组第二对应关系指示一个整机固件类型与多条部件版本信息的子固件类型和子固件软件类型之间的关联关系。In a specific implementation, the determining unit 602 is specifically configured to: determine the firmware version number of the entire machine that has a corresponding relationship with all current component version information according to the first preset relationship, and use the determined firmware version number of the entire machine as the current version of the smart device. The whole machine firmware version number. The first preset relationship includes multiple sets of first correspondences. Each set of first correspondences indicates the association between a whole machine firmware version number and multiple pieces of component version information; according to the second preset relationship , determine the complete machine firmware type that has a corresponding relationship with the sub-firmware type and sub-firmware software type of all current component version information, and use the determined complete machine firmware type as the target complete machine firmware type of the smart device. The second preset relationship includes multiple A set of second correspondence relationships, each set of second correspondence relationships indicates an association relationship between a complete machine firmware type and sub-firmware types and sub-firmware software types of multiple pieces of component version information.
第一处理单元603,用于根据目标整机固件类型和所有当前部件版本信息,从多个预设的升级任务中匹配得到目标升级任务,并获取与目标升级任务对应的目标整机升级包,每个升级任务存在与之对应的整机升级包和新整机固件版本号。The first processing unit 603 is configured to match the target upgrade task from multiple preset upgrade tasks according to the target complete machine firmware type and all current component version information, and obtain the target complete machine upgrade package corresponding to the target upgrade task, Each upgrade task has a corresponding complete machine upgrade package and new complete machine firmware version number.
发送单元604,用于将当前整机固件版本号和目标升级任务对应的整机固件版本号发送至用户终端。The sending unit 604 is used to send the current whole machine firmware version number and the whole machine firmware version number corresponding to the target upgrade task to the user terminal.
在本发明实施例中,根据智能设备上传的各个部件的当前部件版本信息,确定智能设备的目标整机固件类型和当前整机固件版本号。利用目标整机固件类型和所有当前部件版本信息确定目标整机升级包。智能设备仅需上报各个部件的当前版本信息即可确定对应的目标整机升级包,智能设备不需要保存或上报整机版本信息,提高对智能设备进行整机FOTA的适用范围。In the embodiment of the present invention, the target complete machine firmware type and the current complete machine firmware version number of the smart device are determined based on the current component version information of each component uploaded by the smart device. Use the target machine firmware type and all current component version information to determine the target machine upgrade package. Smart devices only need to report the current version information of each component to determine the corresponding target complete machine upgrade package. Smart devices do not need to save or report the complete machine version information, which improves the scope of application of complete machine FOTA for smart devices.
优选的,结合图6示出的内容,该服务端还包括:Preferably, combined with the content shown in Figure 6, the server also includes:
第二处理单元,用于将设备升级指令发送给智能设备。The second processing unit is used to send device upgrade instructions to the smart device.
第三处理单元,用于接收智能设备发送的下载指令,将目标整机升级包发送给智能设备,使智能设备根据目标整机升级包升级各个部件的子固件,目标整机升级包包含至少一个部件的子固件升级包。The third processing unit is used to receive download instructions sent by the smart device, and send the target complete machine upgrade package to the smart device, so that the smart device upgrades the sub-firmware of each component according to the target complete machine upgrade package. The target complete machine upgrade package contains at least one Sub-firmware upgrade package for the component.
优选的,第三处理单元还用于:接收智能设备发送的每个部件的部件升级进度;根据每个部件升级进度确定智能设备的整机升级进度并将其发送给用户终端。Preferably, the third processing unit is also configured to: receive the component upgrade progress of each component sent by the smart device; determine the overall upgrade progress of the smart device based on the upgrade progress of each component and send it to the user terminal.
优选的,第三处理单元还用于:生成与智能设备对应的设备升级日志,并接收智能设备发送的升级后的每个部件的部件版本信息。Preferably, the third processing unit is also configured to: generate a device upgrade log corresponding to the smart device, and receive the upgraded component version information of each component sent by the smart device.
优选的,结合图6示出的内容,每个升级任务包含限定条件和适用条件;第一处理单元包括:第一确定模块、第二确定模块、处理模块和获取模块,各个模块的执行原理为:Preferably, in conjunction with the content shown in Figure 6, each upgrade task includes limiting conditions and applicable conditions; the first processing unit includes: a first determination module, a second determination module, a processing module and an acquisition module. The execution principle of each module is: :
第一确定模块,用于从多个预设的升级任务中,确定限定条件与目标整机固件类型相匹配的升级任务为第一升级任务。The first determination module is configured to determine, from a plurality of preset upgrade tasks, the upgrade task whose limiting conditions match the target complete machine firmware type as the first upgrade task.
第二确定模块,用于从所有第一升级任务中,确定适用条件与所有当前部件版本信息中的子固件软件版本号相匹配的第一升级任务为第二升级任务。The second determination module is configured to determine, from all first upgrade tasks, the first upgrade task whose applicable conditions match the sub-firmware software version numbers in all current component version information as the second upgrade task.
处理模块,用于若第二升级任务的数量为1,确定第二升级任务为目标升级任务;若第二升级任务的数量大于1,确定最优的第二升级任务为目标升级任务,最优的第二升级任务为整机固件版本号最高和/或创建时间最新的第二升级任务。A processing module, configured to determine the second upgrade task as the target upgrade task if the number of the second upgrade tasks is 1; if the number of the second upgrade tasks is greater than 1, determine the optimal second upgrade task as the target upgrade task, and the optimal The second upgrade task is the second upgrade task with the highest firmware version number and/or the latest creation time.
获取模块,用于获取与目标升级任务对应的目标整机升级包。The acquisition module is used to obtain the target complete machine upgrade package corresponding to the target upgrade task.
优选的,本发明实施例还提供了一种电子设备,该电子设备用于运行程序,其中,该程序运行时执行如上述本发明实施例中所涉及的升级包的确定方法。Preferably, an embodiment of the present invention also provides an electronic device, the electronic device is used to run a program, wherein when the program is run, the method for determining the upgrade package involved in the above embodiment of the present invention is executed.
优选的,本发明实施例还提供了一种计算机存储介质,该存储介质包括存储程序,其中,在程序运行时控制存储介质所在设备执行如上述本发明实施例中所涉及的升级包的确定方法。Preferably, the embodiment of the present invention also provides a computer storage medium, the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the method for determining the upgrade package involved in the above embodiment of the present invention. .
综上所述,本发明实施例提供一种升级包的确定方法及服务端,服务端根据智能设备上传的各个部件的当前部件版本信息,确定智能设备的目标整机固件类型和当前整机固件版本号。服务端利用目标整机固件类型和所有当前部件版本信息确定目标整机升级包,将目标整机升级包发送给智能设备对各个部件的子固件进行升级。智能设备仅需上报各个部件的当前版本信息即可确定对应的目标整机升级包,智能设备不需要保存或上报整机版本信息,提高对智能设备进行整机FOTA的适用范围。In summary, embodiments of the present invention provide a method and a server for determining an upgrade package. The server determines the target complete firmware type and the current complete firmware of the smart device based on the current component version information of each component uploaded by the smart device. version number. The server uses the target complete machine firmware type and all current component version information to determine the target complete machine upgrade package, and sends the target complete machine upgrade package to the smart device to upgrade the sub-firmware of each component. Smart devices only need to report the current version information of each component to determine the corresponding target complete machine upgrade package. Smart devices do not need to save or report the complete machine version information, which improves the scope of application of complete machine FOTA for smart devices.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统或系统实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。以上所描述的系统及系统实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。Each embodiment in this specification is described in a progressive manner. The same and similar parts between the various embodiments can be referred to each other. Each embodiment focuses on its differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple. For relevant details, please refer to the partial description of the method embodiment. The system and system embodiments described above are only illustrative, in which the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, It can be located in one place, or it can be distributed over multiple network elements. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Persons of ordinary skill in the art can understand and implement the method without any creative effort.
专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art may further realize that the units and algorithm steps of each example described in connection with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of both. In order to clearly illustrate the possible functions of hardware and software, Interchangeability, in the above description, the composition and steps of each example have been generally described according to functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each specific application, but such implementations should not be considered to be beyond the scope of the present invention.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments enables those skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be practiced in other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110937885.8ACN113835726B (en) | 2021-08-16 | 2021-08-16 | Method for determining upgrade package and server |
PCT/CN2022/096394WO2023020070A1 (en) | 2021-08-16 | 2022-05-31 | Method for determining upgrade package and server |
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110937885.8ACN113835726B (en) | 2021-08-16 | 2021-08-16 | Method for determining upgrade package and server |
Publication Number | Publication Date |
---|---|
CN113835726A CN113835726A (en) | 2021-12-24 |
CN113835726Btrue CN113835726B (en) | 2023-11-28 |
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110937885.8AActiveCN113835726B (en) | 2021-08-16 | 2021-08-16 | Method for determining upgrade package and server |
Country | Link |
---|---|
CN (1) | CN113835726B (en) |
WO (1) | WO2023020070A1 (en) |
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113852489A (en)* | 2021-08-16 | 2021-12-28 | 青岛海尔科技有限公司 | Upgrade package obtaining method and intelligent device |
CN113835726B (en)* | 2021-08-16 | 2023-11-28 | 青岛海尔科技有限公司 | Method for determining upgrade package and server |
CN114745269A (en)* | 2022-04-13 | 2022-07-12 | 精伦电子股份有限公司 | Firmware upgrading method and device, electronic equipment and storage medium |
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105743933A (en)* | 2014-12-08 | 2016-07-06 | Tcl集团股份有限公司 | Router module updating method and system |
CN107291516A (en)* | 2017-07-12 | 2017-10-24 | 珠海格力电器股份有限公司 | Firmware upgrading method and system |
CN108512684A (en)* | 2017-02-28 | 2018-09-07 | 阿里巴巴集团控股有限公司 | Firmware upgrade method and system and firmware upgrade managing device |
CN109088783A (en)* | 2018-11-01 | 2018-12-25 | 郑州云海信息技术有限公司 | Refresh progress acquisition methods, device and equipment between whole machine cabinet server multistage |
CN110378123A (en)* | 2019-07-18 | 2019-10-25 | 上海擎感智能科技有限公司 | A kind of method for upgrading software and system for car-mounted terminal |
CN110489143A (en)* | 2019-07-18 | 2019-11-22 | 南京依维柯汽车有限公司 | FOTA firmware remote update system and its method on new-energy automobile |
CN111562935A (en)* | 2020-07-14 | 2020-08-21 | 江苏海平面数据科技有限公司 | OTA security upgrading system and upgrading method thereof |
CN112000355A (en)* | 2020-08-21 | 2020-11-27 | 青岛海尔科技有限公司 | Method and device for firmware upgrading and household appliance |
CN112148326A (en)* | 2020-08-31 | 2020-12-29 | 山东省科学院自动化研究所 | Remote updating method, device and system for Internet of things equipment firmware |
CN113064619A (en)* | 2021-04-02 | 2021-07-02 | 上海高仙自动化科技发展有限公司 | Firmware upgrading method, device, system, equipment and storage medium |
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10188348B2 (en)* | 2006-06-05 | 2019-01-29 | Masimo Corporation | Parameter upgrade system |
US8653963B2 (en)* | 2007-03-01 | 2014-02-18 | Advanced Computer And Communications, L.L.C. | Emergency alert system and method |
CN109117158A (en)* | 2018-08-02 | 2019-01-01 | 郑州云海信息技术有限公司 | Firmware update and device |
KR20200086480A (en)* | 2019-01-09 | 2020-07-17 | (주) 피엔텔레컴 | Firmware upgrading method of wireless charger and device using thereof |
CN112130883A (en)* | 2020-09-30 | 2020-12-25 | 苏州臻迪智能科技有限公司 | Software upgrading method and device, electronic equipment and storage medium |
CN112764803A (en)* | 2021-01-20 | 2021-05-07 | 青岛海尔科技有限公司 | Version upgrading method and device, storage medium and electronic device |
CN113835726B (en)* | 2021-08-16 | 2023-11-28 | 青岛海尔科技有限公司 | Method for determining upgrade package and server |
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105743933A (en)* | 2014-12-08 | 2016-07-06 | Tcl集团股份有限公司 | Router module updating method and system |
CN108512684A (en)* | 2017-02-28 | 2018-09-07 | 阿里巴巴集团控股有限公司 | Firmware upgrade method and system and firmware upgrade managing device |
CN107291516A (en)* | 2017-07-12 | 2017-10-24 | 珠海格力电器股份有限公司 | Firmware upgrading method and system |
CN109088783A (en)* | 2018-11-01 | 2018-12-25 | 郑州云海信息技术有限公司 | Refresh progress acquisition methods, device and equipment between whole machine cabinet server multistage |
CN110378123A (en)* | 2019-07-18 | 2019-10-25 | 上海擎感智能科技有限公司 | A kind of method for upgrading software and system for car-mounted terminal |
CN110489143A (en)* | 2019-07-18 | 2019-11-22 | 南京依维柯汽车有限公司 | FOTA firmware remote update system and its method on new-energy automobile |
CN111562935A (en)* | 2020-07-14 | 2020-08-21 | 江苏海平面数据科技有限公司 | OTA security upgrading system and upgrading method thereof |
CN112000355A (en)* | 2020-08-21 | 2020-11-27 | 青岛海尔科技有限公司 | Method and device for firmware upgrading and household appliance |
CN112148326A (en)* | 2020-08-31 | 2020-12-29 | 山东省科学院自动化研究所 | Remote updating method, device and system for Internet of things equipment firmware |
CN113064619A (en)* | 2021-04-02 | 2021-07-02 | 上海高仙自动化科技发展有限公司 | Firmware upgrading method, device, system, equipment and storage medium |
Title |
---|
Blockchain-based secure firmware update for embeded devices in an Internet of things environment;Boohyung Lee et al.;《The Journal of Supercomputing》(第73期);1152-1167* |
GFUAeD:一种嵌入式设备的通用固件升级方法;纪大峣;《福建电脑》(第6期);126-132* |
The Associative Memory Serial Link Processor of the ATLAS Fast TracKer Processing System;Calliope-Louisa Sotiropoulou;《2017 IEEE Nuclear Science Symposium and Medical Imaging Conference》;1-5* |
嵌入式固件远程升级技术的研究与实现;王广辉;《中国优秀硕士学位论文全文数据库 (信息科技辑)》(第1期);I137-41* |
Publication number | Publication date |
---|---|
CN113835726A (en) | 2021-12-24 |
WO2023020070A1 (en) | 2023-02-23 |
Publication | Publication Date | Title |
---|---|---|
CN113835726B (en) | Method for determining upgrade package and server | |
US8762984B2 (en) | Content distribution infrastructure | |
CN110221872B (en) | Page jump method and device, electronic equipment and storage medium | |
US7937456B2 (en) | Configuration profiling for remote clients | |
US8065429B2 (en) | System, apparatus and method for associating an anticipated success indication with data delivery | |
CN104838405B (en) | The method and system of test frame for application program | |
CN101771993B (en) | System and method thereof for realizing polymerization application based on mobile network | |
CN102857559B (en) | Method and system for recommending software, and client end | |
CN106802814B (en) | Method and device for upgrading software version | |
CN108376078A (en) | Upgrade method, device and the household appliance of equipment | |
US20110225563A1 (en) | System for accessing and sharing user defined contents and method of the same | |
CN100449996C (en) | Method for downloading information by mobile terminal | |
CN113961463A (en) | Application environment switching method and system, storage medium and electronic equipment | |
CN107133064A (en) | The hot update method of the page and device of native applications | |
CN110855772A (en) | Cross-device data storage method, system, device, server and medium | |
CN111679842B (en) | Application program hot update processing method, device and system | |
CN111949314A (en) | Method, device, server and storage medium for generating application installation package | |
CN113569551A (en) | APP page configuration method, device, system and storage medium | |
WO2016202047A1 (en) | Application recommendation method, apparatus, server, and terminal | |
JP5610654B2 (en) | Apparatus for providing terminal management package and method for receiving terminal management package | |
CN107124713B (en) | Customized updating method and mobile terminal | |
WO2023020071A1 (en) | Upgrade package acquisition method and smart device | |
CN107370794B (en) | Method and device for publishing theme data | |
JP2013137687A (en) | Generation method of application which does not need compilation | |
CN112651523A (en) | Event determination method and device, storage medium and electronic device |
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 |