CN116527503A - Method and device for determining upgrade strategy, storage medium and electronic device - Google Patents

Method and device for determining upgrade strategy, storage medium and electronic device Download PDF

Info

Publication number
CN116527503A
CN116527503A CN202310315951.7A CN202310315951A CN116527503A CN 116527503 A CN116527503 A CN 116527503A CN 202310315951 A CN202310315951 A CN 202310315951A CN 116527503 A CN116527503 A CN 116527503A
Authority
CN
China
Prior art keywords
upgrade
task
target
upgrading
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310315951.7A
Other languages
Chinese (zh)
Inventor
沈鹏飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Haier Uplus Intelligent Technology Beijing Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Haier Uplus Intelligent Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd, Haier Uplus Intelligent Technology Beijing Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202310315951.7A priority Critical patent/CN116527503A/en
Publication of CN116527503A publication Critical patent/CN116527503A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/0836Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability to enhance reliability, e.g. reduce downtime
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0883Semiautomatic configuration, e.g. proposals from system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0894Policy-based network configuration management

Landscapes

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

Abstract

The application discloses a method and a device for determining an upgrade strategy, a storage medium and an electronic device, and relates to the technical field of smart families, wherein the method for determining the upgrade strategy comprises the following steps: determining a target upgrading task to be configured; configuring upgrade times for the target upgrade task, wherein the upgrade times are the maximum times of the target upgrade task allowed to execute upgrade operation; and under the condition that the target upgrading task is started, controlling the upgrading strategy of the target upgrading task according to the upgrading times. The problem that an upgrading scheme in the related technology, the upgrading safety and reliability are controlled manually, and an abnormal upgrading task cannot be found and terminated in time, so that the upgrading task is caused to continuously influence more user equipment is solved.

Description

升级策略的确定方法及装置、存储介质及电子装置Method and device for determining upgrade strategy, storage medium and electronic device

技术领域technical field

本申请涉及智慧家庭技术领域,具体而言,涉及一种升级策略的确定方法及装置、存储介质及电子装置。The present application relates to the technical field of smart home, and in particular, relates to a method and device for determining an upgrade strategy, a storage medium, and an electronic device.

背景技术Background technique

设备OTA(Over-the-Air Technology,空中下载技术)升级基于适用版本进行固件升级时,一旦升级任务启动,则会针对全网匹配的设备生效,具体地,当设备在线时,若存在匹配且生效的升级任务,平台会下发升级指令。收到指令的设备会进行自动升级或弹窗并在用户确认后升级。在这一过程中,除非人为暂停任务,否则升级任务有效执行期内,匹配的设备均可以匹配升级,一旦出现异常而没有及时发现,后续则可能会持续产生异常升级,其中,异常的原因多样化,可能因为设备差异化,也可能固件包或平台出现bug。升级失败若设备仍可用,则仅影响用户体验。若失败且导致设备不可用,则直接对客户财产造成损失,后果相当严重。当出现此类不可预知的问题时,为减轻事故造成的影响,应当在高风险的升级场景中,进行更精细化的配置及管控限制。When the device OTA (Over-the-Air Technology, over-the-air technology) upgrade is based on the applicable version, once the upgrade task is started, it will take effect for the matching devices on the entire network. Specifically, when the device is online, if there is a matching and For upgrade tasks that take effect, the platform will issue upgrade instructions. The device that receives the instruction will automatically upgrade or pop up the window and upgrade after the user confirms. In this process, unless the task is artificially suspended, within the effective execution period of the upgrade task, the matching equipment can be matched and upgraded. Once an abnormality occurs and is not discovered in time, abnormal upgrades may continue to occur in the future. Among them, the reasons for the abnormality are various. It may be due to device differentiation, or there may be bugs in firmware packages or platforms. If the upgrade fails, if the device is still available, it will only affect the user experience. If it fails and causes the equipment to be unavailable, it will directly cause damage to the customer's property, and the consequences are quite serious. When such unpredictable problems occur, in order to reduce the impact of accidents, more refined configuration and control restrictions should be implemented in high-risk upgrade scenarios.

但是,目前的升级任务针对所有匹配的设备有效,而不同产线升级任务执行的范围不同、涉及的用户设备数量等也不尽相同,因此目前的升级任务不能精细的进行差异化控制;在特定异常出现、升级失败率较高时,升级任务的下发平台没有自动终止继续升级的能力;也没有按照“流量”升级的控制方式,不够灵活。However, the current upgrade task is valid for all matching devices, and the range of upgrade tasks performed by different production lines is different, and the number of user devices involved is also different. Therefore, the current upgrade task cannot be finely differentiated and controlled; When abnormalities occur and the upgrade failure rate is high, the platform for issuing the upgrade task does not have the ability to automatically terminate the upgrade; nor does it follow the "flow" upgrade control method, which is not flexible enough.

针对相关技术中,现有的升级方案,升级的安全可靠性依靠人为控制,出现异常可能无法及时发现并终止升级任务,进而导致升级任务持续对更多的用户设备造成影响的问题,尚未提出有效的解决方案。In the related technologies, in the existing upgrade scheme, the safety and reliability of the upgrade depends on human control, and the upgrade task may not be detected and terminated in time if an abnormality occurs, which will cause the upgrade task to continue to affect more user equipment. No effective solution has been proposed yet. s solution.

因此,有必要对相关技术予以改良以克服相关技术中的所述缺陷。Therefore, it is necessary to improve the related technology to overcome the above-mentioned defects in the related technology.

发明内容Contents of the invention

本申请实施例提供了一种升级策略的确定方法及装置、存储介质及电子装置,以至少解决相关技术中升级方案,升级的安全可靠性依靠人为控制,出现异常可能无法及时发现并终止升级任务,进而导致升级任务持续对更多的用户设备造成影响的问题。The embodiment of the present application provides a method and device for determining an upgrade strategy, a storage medium, and an electronic device, so as to at least solve the upgrade scheme in related technologies. The safety and reliability of the upgrade depends on human control, and the upgrade task may not be discovered in time if an abnormality occurs. , which in turn leads to the problem that the upgrade task continues to affect more user devices.

根据本申请实施例的一方面,提供一种升级策略的确定方法,包括:确定待配置的目标升级任务;为所述目标升级任务配置升级次数,其中,所述升级次数为所述目标升级任务允许执行升级操作的最大次数;在所述目标升级任务被启动的情况下,按照所述升级次数控制所述目标升级任务的升级策略。According to an aspect of an embodiment of the present application, a method for determining an upgrade strategy is provided, including: determining a target upgrade task to be configured; configuring an upgrade count for the target upgrade task, wherein the upgrade count is the target upgrade task The maximum number of upgrade operations allowed; when the target upgrade task is started, the upgrade policy of the target upgrade task is controlled according to the upgrade times.

在一个示例性的实施例中,按照所述升级次数控制所述目标升级任务的升级策略,包括:确定所述目标升级任务在指定设备的当前升级次数;在所述当前升级次数小于或等于所述升级次数的情况下,确定所述目标升级任务允许在所述指定设备继续升级;在所述当前升级次数大于所述升级次数的情况下,暂停所述目标升级任务在所述指定设备的升级操作。In an exemplary embodiment, controlling the upgrade policy of the target upgrade task according to the upgrade times includes: determining the current upgrade times of the target upgrade task on the specified device; when the current upgrade times are less than or equal to the In the case of the above upgrade times, it is determined that the target upgrade task is allowed to continue to upgrade on the designated device; when the current upgrade times are greater than the upgrade times, suspend the upgrade of the target upgrade task on the designated device operate.

在一个示例性的实施例中,按照所述升级次数控制所述目标升级任务的升级策略之后,所述方法还包括:获取所述目标升级任务在第一历史时间段的升级成功率;在所述升级成功率大于第一阈值的情况下,根据升级递增指数扩大所述升级次数;在所述升级成功率小于或等于第一阈值的情况下,根据升级递减指数降低所述升级次数。In an exemplary embodiment, after controlling the upgrade policy of the target upgrade task according to the upgrade times, the method further includes: acquiring the upgrade success rate of the target upgrade task in the first historical time period; When the upgrade success rate is greater than the first threshold, the upgrade times are increased according to the upgrade increment index; when the upgrade success rate is less than or equal to the first threshold, the upgrade times are decreased according to the upgrade decrement index.

在一个示例性的实施例中,根据升级递增指数扩大所述升级次数,包括:获取所述升级任务在第二历史时间段的历史升级成功率,其中,所述第二历史时间段在所述第一历史时间段之前;确定所述升级成功率和所述历史升级成功率的平均升级成功率,根据所述平均升级成功率和所述升级递增指数扩大所述升级次数。In an exemplary embodiment, expanding the number of upgrades according to the upgrade increment index includes: obtaining the historical upgrade success rate of the upgrade task in a second historical time period, wherein the second historical time period is in the Before the first historical time period; determine the upgrade success rate and the average upgrade success rate of the historical upgrade success rate, and expand the upgrade times according to the average upgrade success rate and the upgrade increment index.

在一个示例性的实施例中,确定待配置的目标升级任务之后,所述方法还包括:为所述目标升级任务配置升级异常白名单,其中,所述升级异常白名单中包括多个目标升级任务的标识,所述多个目标升级任务允许执行升级操作的最大次数均未配置;在所述目标升级任务执行升级操作的升级次数超过第二阈值的情况下,通过正在执行所述目标升级任务的任一设备发出告警提示。In an exemplary embodiment, after the target upgrade task to be configured is determined, the method further includes: configuring an upgrade exception whitelist for the target upgrade task, wherein the upgrade exception whitelist includes a plurality of target upgrade tasks The identification of the task, the maximum number of upgrade operations allowed by the multiple target upgrade tasks is not configured; when the number of upgrade operations performed by the target upgrade task exceeds the second threshold, the target upgrade task is being executed Any device in the system will send out an alarm prompt.

在一个示例性的实施例中,确定待配置的目标升级任务之后,所述方法还包括:为所述目标升级任务配置升级异常黑名单,其中,所述升级异常黑名单中包括:一个或多个异常类型;获取所述目标升级任务执行升级操作的过程中所述一个或多个异常类型的出现次数;在目标异常类型的出现次数大于第三阈值的情况下,暂停执行所述目标升级任务。In an exemplary embodiment, after determining the target upgrade task to be configured, the method further includes: configuring an upgrade exception blacklist for the target upgrade task, wherein the upgrade exception blacklist includes: one or more Abnormal types; obtain the number of occurrences of the one or more abnormal types in the process of performing the upgrade operation of the target upgrade task; in the case that the occurrence times of the target abnormal type is greater than the third threshold, suspend execution of the target upgrade task .

在一个示例性的实施例中,按照所述升级次数控制所述目标升级任务的升级策略之后,所述方法还包括:在检测到所述目标升级任务异常终止的情况下,执行异常告警事件,以通知目标对象对所述目标升级任务的运行状态进行再次检测。In an exemplary embodiment, after controlling the upgrade strategy of the target upgrade task according to the upgrade times, the method further includes: when detecting that the target upgrade task is terminated abnormally, executing an abnormal alarm event, In order to notify the target object to check again the running state of the target upgrade task.

根据本申请实施例的另一方面,还提供了一种升级策略的确定装置,包括:确定模块,用于确定待配置的目标升级任务;配置模块,用于为所述目标升级任务配置升级次数,其中,所述升级次数为所述目标升级任务允许执行升级操作的最大次数;控制模块,用于在所述目标升级任务被启动的情况下,按照所述升级次数控制所述目标升级任务的升级策略。According to another aspect of the embodiment of the present application, there is also provided a device for determining an upgrade strategy, including: a determination module, configured to determine a target upgrade task to be configured; a configuration module, configured to configure the number of upgrades for the target upgrade task , wherein, the number of upgrades is the maximum number of upgrade operations allowed by the target upgrade task; the control module is configured to control the number of upgrades of the target upgrade task according to the number of upgrades when the target upgrade task is started Upgrade strategy.

根据本申请实施例的又一方面,还提供了一种计算机可读的存储介质,该计算机可读的存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述升级策略的确定方法。According to yet another aspect of the embodiments of the present application, there is also provided a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, wherein the computer program is set to execute the above-mentioned upgrade strategy when running. Determine the method.

根据本申请实施例的又一方面,还提供了一种电子装置,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,上述处理器通过计算机程序执行上述升级策略的确定方法。According to still another aspect of the embodiments of the present application, there is also provided an electronic device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the above-mentioned processor executes the above-mentioned upgrade through the computer program How to determine the strategy.

通过本申请,确定待配置的目标升级任务;为所述目标升级任务配置升级次数,其中,所述升级次数为所述目标升级任务允许执行升级操作的最大次数;在所述目标升级任务被启动的情况下,按照所述升级次数控制所述目标升级任务的升级策略。也就是说,通过配置目标升级任务允许执行升级操作的最大次数,进而根据允许执行升级操作的最大次数控制目标升级任务的升级策略,采用上述技术方案,解决了相关技术中升级方案,升级的安全可靠性依靠人为控制,出现异常可能无法及时发现并终止升级任务,进而导致升级任务持续对更多的用户设备造成影响的问题;实现了将异常影响控制在一定范围,进而提升系统稳定性和产品体验的技术效果。Through this application, the target upgrade task to be configured is determined; the upgrade times are configured for the target upgrade task, wherein the upgrade times are the maximum number of upgrade operations allowed by the target upgrade task; when the target upgrade task is started In the case of , the upgrade policy of the target upgrade task is controlled according to the upgrade times. That is to say, by configuring the maximum number of upgrade operations allowed by the target upgrade task, and then controlling the upgrade strategy of the target upgrade task according to the maximum number of upgrade operations allowed, the above technical solution solves the problem of upgrade solutions in related technologies, and the security of the upgrade Reliability depends on human control, and the upgrade task may not be discovered and terminated in time if an abnormality occurs, which will cause the upgrade task to continue to affect more user equipment; the impact of abnormalities can be controlled within a certain range, thereby improving system stability and product quality. Experienced technical effects.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description serve to explain the principles of the application.

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, In other words, other drawings can also be obtained from these drawings without paying creative labor.

图1是根据本申请实施例的一种可选的升级策略的确定方法的硬件环境示意图;FIG. 1 is a schematic diagram of a hardware environment according to an optional method for determining an upgrade strategy according to an embodiment of the present application;

图2是根据本申请实施例的一种可选的升级策略的确定方法的流程图;FIG. 2 is a flow chart of an optional method for determining an upgrade strategy according to an embodiment of the present application;

图3是根据本申请实施例的一种可选的升级策略的确定方法的流程示意图;FIG. 3 is a schematic flowchart of an optional method for determining an upgrade strategy according to an embodiment of the present application;

图4是根据本申请实施例的一种可选的升级策略的确定装置的结构框图;FIG. 4 is a structural block diagram of an optional device for determining an upgrade strategy according to an embodiment of the present application;

图5是根据本申请实施例的一种可选的升级策略的确定装置的另一种结构框图。Fig. 5 is another structural block diagram of an apparatus for determining an optional upgrade strategy according to an embodiment of the present application.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is an embodiment of a part of the application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first" and "second" in the description and claims of the present application and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the application described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.

根据本申请实施例的一个方面,提供了一种升级策略的确定方法。该升级策略的确定方法广泛应用于智慧家庭(Smart Home)、智能家居、智能家用设备生态、智慧住宅(IntelligenceHouse)生态等全屋智能数字化控制应用场景。可选地,在本实施例中,上述升级策略的确定方法可以应用于如图1所示的由多个终端设备102和服务器104所构成的硬件环境中。如图1所示,服务器104通过网络与多个终端设备102进行连接,可用于为终端或终端上安装的客户端提供服务(如应用服务等),可在服务器上或独立于服务器设置数据库,用于为服务器104提供数据存储服务,可在服务器上或独立于服务器配置云计算和/或边缘计算服务,用于为服务器104提供数据运算服务。According to an aspect of the embodiments of the present application, a method for determining an upgrade policy is provided. The method for determining the upgrade strategy is widely used in smart home (Smart Home), smart home, smart home device ecology, smart house (Intelligence House) ecology and other intelligent digital control application scenarios in the whole house. Optionally, in this embodiment, the above method for determining an upgrade policy may be applied to a hardware environment composed of multiple terminal devices 102 and servers 104 as shown in FIG. 1 . As shown in Figure 1, the server 104 is connected to a plurality of terminal devices 102 through the network, and can be used to provide services (such as application services, etc.) To provide data storage services for the server 104 , cloud computing and/or edge computing services may be configured on the server or independently of the server to provide data computing services for the server 104 .

上述网络可以包括但不限于以下至少之一:有线网络,无线网络。上述有线网络可以包括但不限于以下至少之一:广域网,城域网,局域网,上述无线网络可以包括但不限于以下至少之一:WIFI(Wireless Fidelity,无线保真),蓝牙。终端设备102可以并不限定于为PC、手机、平板电脑、智能空调、智能烟机、智能冰箱、智能烤箱、智能炉灶、智能洗衣机、智能热水器、智能洗涤设备、智能洗碗机、智能投影设备、智能电视、智能晾衣架、智能窗帘、智能影音、智能插座、智能音响、智能音箱、智能新风设备、智能厨卫设备、智能卫浴设备、智能扫地机器人、智能擦窗机器人、智能拖地机器人、智能空气净化设备、智能蒸箱、智能微波炉、智能厨宝、智能净化器、智能饮水机、智能门锁等。The foregoing network may include but not limited to at least one of the following: a wired network and a wireless network. The above-mentioned wired network may include but not limited to at least one of the following: wide area network, metropolitan area network, and local area network, and the above-mentioned wireless network may include but not limited to at least one of the following: WIFI (Wireless Fidelity, Wireless Fidelity), Bluetooth. The terminal device 102 is not limited to PC, mobile phone, tablet computer, smart air conditioner, smart hood, smart refrigerator, smart oven, smart stove, smart washing machine, smart water heater, smart washing device, smart dishwasher, smart projection device , smart TV, smart drying rack, smart curtain, smart video, smart socket, smart audio, smart speaker, smart fresh air equipment, smart kitchen and bathroom equipment, smart bathroom equipment, smart sweeping robot, smart window cleaning robot, smart mopping robot, Smart air purification equipment, smart steamer, smart microwave oven, smart kitchen treasure, smart purifier, smart water dispenser, smart door lock, etc.

在本实施例中提供了一种升级策略的确定方法,包括但不限于应用于计算机终端,图2是根据本申请实施例的升级策略的确定方法的流程图,该流程包括如下步骤:In this embodiment, a method for determining an upgrade strategy is provided, including but not limited to being applied to a computer terminal. FIG. 2 is a flow chart of a method for determining an upgrade strategy according to an embodiment of the present application. The process includes the following steps:

步骤S202:确定待配置的目标升级任务;Step S202: Determine the target upgrade task to be configured;

步骤S204:为所述目标升级任务配置升级次数,其中,所述升级次数为所述目标升级任务允许执行升级操作的最大次数;Step S204: configuring the number of upgrades for the target upgrade task, wherein the number of upgrades is the maximum number of upgrade operations allowed by the target upgrade task;

可选的,可以通过升级策略配置平台为目标升级任务配置升级次数,也可以通过终端远程为目标升级任务配置升级次数,并通过云端下发到升级策略配置平台。Optionally, the number of upgrades can be configured for the target upgrade task through the upgrade policy configuration platform, or the number of upgrades can be remotely configured for the target upgrade task through the terminal, and sent to the upgrade strategy configuration platform through the cloud.

步骤S206:在所述目标升级任务被启动的情况下,按照所述升级次数控制所述目标升级任务的升级策略。Step S206: When the target upgrade task is started, control the upgrade policy of the target upgrade task according to the upgrade times.

通过上述步骤,确定待配置的目标升级任务;为所述目标升级任务配置升级次数,其中,所述升级次数为所述目标升级任务允许执行升级操作的最大次数;在所述目标升级任务被启动的情况下,按照所述升级次数控制所述目标升级任务的升级策略。也就是说,通过配置目标升级任务允许执行升级操作的最大次数,进而根据允许执行升级操作的最大次数控制目标升级任务的升级策略,采用上述技术方案,解决了相关技术中升级方案,升级的安全可靠性依靠人为控制,出现异常可能无法及时发现并终止升级任务,进而导致升级任务持续对更多的用户设备造成影响的问题;实现了将异常影响控制在一定范围,进而提升系统稳定性和产品体验的技术效果。Through the above steps, determine the target upgrade task to be configured; configure the number of upgrades for the target upgrade task, wherein the upgrade times are the maximum number of upgrade operations allowed by the target upgrade task; when the target upgrade task is started In the case of , the upgrade policy of the target upgrade task is controlled according to the upgrade times. That is to say, by configuring the maximum number of upgrade operations allowed by the target upgrade task, and then controlling the upgrade strategy of the target upgrade task according to the maximum number of upgrade operations allowed, the above technical solution solves the problem of upgrade solutions in related technologies, and the security of the upgrade Reliability depends on human control, and the upgrade task may not be discovered and terminated in time if an abnormality occurs, which will cause the upgrade task to continue to affect more user equipment; the impact of abnormalities can be controlled within a certain range, thereby improving system stability and product quality. Experienced technical effects.

在一个示例性的实施例中,按照所述升级次数控制所述目标升级任务的升级策略,包括:确定所述目标升级任务在指定设备的当前升级次数;在所述当前升级次数小于或等于所述升级次数的情况下,确定所述目标升级任务允许在所述指定设备继续升级;在所述当前升级次数大于所述升级次数的情况下,暂停所述目标升级任务在所述指定设备的升级操作。In an exemplary embodiment, controlling the upgrade policy of the target upgrade task according to the upgrade times includes: determining the current upgrade times of the target upgrade task on the specified device; when the current upgrade times are less than or equal to the In the case of the above upgrade times, it is determined that the target upgrade task is allowed to continue to upgrade on the designated device; when the current upgrade times are greater than the upgrade times, suspend the upgrade of the target upgrade task on the designated device operate.

可选的,确定待升级设备的数目(可以是估算结果),根据待升级设备的数目确定为所述目标升级任务配置升级次数。为保证在出现升级异常的情况下,将可能造成的影响控制在最小,在待升级设备数目极大的情况下,可以选择所述数目的千分之一、万分之一等作为所述升级次数,或者也可以选择待升级设备数目之内的一个较小数目作为所述升级次数。Optionally, the number of devices to be upgraded (which may be an estimation result) is determined, and the number of upgrades configured for the target upgrade task is determined according to the number of devices to be upgraded. In order to ensure that the possible impact is minimized in the event of abnormal upgrades, when the number of devices to be upgraded is extremely large, one thousandth, one ten thousandth, etc. of the number can be selected as the upgrade times, or a smaller number within the number of devices to be upgraded can also be selected as the number of upgrades.

示例性的,待升级设备可以为10000台,则为目标升级任务配置的升级次数可以为待升级设备的千分之一,即10次;也可以将升级次数直接设置为50次。现设定升级次数设置为50,进而在执行到指定设备的情况下,确定指定设备为升级任务被执行升级操作的第N台设备(即升级任务在执行到指定设备时已经被第N次执行了),进而在N小于或等于50的情况下,确定目标升级任务可以在指定设备执行;在N大于50的情况下,确定目标升级任务不可以在指定设备执行,并确定暂停目标升级任务在所有剩余待升级设备上的升级操作。需要说明的是,指定设备可以为待升级设备中的任一设备。Exemplarily, if there are 10,000 devices to be upgraded, the number of upgrades configured for the target upgrade task may be one-thousandth of the number of devices to be upgraded, that is, 10 times; the number of upgrades may also be directly set to 50 times. Now set the number of upgrades to 50, and then when the specified device is executed, it is determined that the specified device is the Nth device on which the upgrade task is performed (that is, the upgrade task has been executed for the Nth time when the upgrade task is executed to the specified device) ), and then when N is less than or equal to 50, it is determined that the target upgrade task can be executed on the designated device; when N is greater than 50, it is determined that the target upgrade task cannot be executed on the designated device, and it is determined to suspend the target upgrade task at Upgrade operations on all remaining devices to be upgraded. It should be noted that the designated device may be any device among the devices to be upgraded.

在一个示例性的实施例中,按照所述升级次数控制所述目标升级任务的升级策略之后,所述方法还包括:获取所述目标升级任务在第一历史时间段的升级成功率;在所述升级成功率大于第一阈值的情况下,根据升级递增指数扩大所述升级次数;在所述升级成功率小于或等于第一阈值的情况下,根据升级递减指数降低所述升级次数。In an exemplary embodiment, after controlling the upgrade policy of the target upgrade task according to the upgrade times, the method further includes: acquiring the upgrade success rate of the target upgrade task in the first historical time period; When the upgrade success rate is greater than the first threshold, the upgrade times are increased according to the upgrade increment index; when the upgrade success rate is less than or equal to the first threshold, the upgrade times are decreased according to the upgrade decrement index.

可以理解的是,控制目标升级任务对升级次数个的待升级设备进行升级之后,获取升级次数个待升级设备中升级成功的设备数目,并以所设置的升级次数为基数,计算升级成功率。可选的,第一阈值可以设置为80%,则在升级成功率大于80%的情况下,根据升级递增指数扩大升级次数,可选的,升级递增指数可以设置为倍数、百分数等,本申请实施例对此不做限定。在升级成功率小于或等于第一阈值的情况下,进一步确定升级成功率是否小于第一阈值的一半,在小于第一阈值的一半的情况下,确定是否升级任务与待升级设备的对应关系设置错误(如设备标识、升级任务的版本号出现错误);也可以根据升级递减指数降低所述升级次数,重新确定升级成功率。It can be understood that, after the upgrade task of the control target upgrades the devices to be upgraded with the number of upgrades, the number of successfully upgraded devices among the devices to be upgraded with the number of upgrades is obtained, and the success rate of the upgrade is calculated based on the set number of upgrades. Optionally, the first threshold can be set to 80%, then when the upgrade success rate is greater than 80%, the number of upgrades will be expanded according to the upgrade increment index. Optionally, the upgrade increment index can be set as a multiple, a percentage, etc., the present application The embodiment does not limit this. When the upgrade success rate is less than or equal to the first threshold, it is further determined whether the upgrade success rate is less than half of the first threshold, and if it is less than half of the first threshold, it is determined whether the corresponding relationship between the upgrade task and the device to be upgraded is set Errors (such as errors in the device identification and the version number of the upgrade task); it is also possible to reduce the number of upgrades according to the upgrade decrement index, and re-determine the success rate of the upgrade.

在一个示例性的实施例中,根据升级递增指数扩大所述升级次数,包括:获取所述升级任务在第二历史时间段的历史升级成功率,其中,所述第二历史时间段在所述第一历史时间段之前;确定所述升级成功率和所述历史升级成功率的平均升级成功率,根据所述平均升级成功率和所述升级递增指数扩大所述升级次数。In an exemplary embodiment, expanding the number of upgrades according to the upgrade increment index includes: obtaining the historical upgrade success rate of the upgrade task in a second historical time period, wherein the second historical time period is in the Before the first historical time period; determine the upgrade success rate and the average upgrade success rate of the historical upgrade success rate, and expand the upgrade times according to the average upgrade success rate and the upgrade increment index.

可选的,根据升级递增指数扩大所述升级次数之后,将所述升级成功率作为历史升级成功率,并用于确定下一个升级次数。可选的,在目标升级任务的升级次数扩大多次的情况下,确定多个历史时间段对应的多个升级成功率,确定所述多个升级成功率的平均升级成功率,并根据所述平均升级成功率和所述升级递增指数扩大所述升级次数。可以理解的是,根据所述平均升级成功率和所述升级递增指数扩大所述升级次数包括:根据平均升级成功率、升级递增指数与所述升级次数的乘积扩大所述升级次数。Optionally, after the upgrade times are expanded according to the upgrade increment index, the upgrade success rate is used as the historical upgrade success rate and used to determine the next upgrade times. Optionally, in the case that the number of upgrades of the target upgrade task is expanded multiple times, determine multiple upgrade success rates corresponding to multiple historical time periods, determine the average upgrade success rate of the multiple upgrade success rates, and according to the The average upgrade success rate and the upgrade incremental index expand the number of upgrades. It can be understood that expanding the upgrade times according to the average upgrade success rate and the upgrade incremental index includes: expanding the upgrade times according to the product of the average upgrade success rate, the upgrade incremental index and the upgrade times.

在一个示例性的实施例中,确定待配置的目标升级任务之后,所述方法还包括:为所述目标升级任务配置升级异常白名单,其中,所述升级异常白名单中包括多个目标升级任务的标识,所述多个目标升级任务允许执行升级操作的最大次数均未配置;在所述目标升级任务执行升级操作的升级次数超过第二阈值的情况下,通过正在执行所述目标升级任务的任一设备发出告警提示。In an exemplary embodiment, after the target upgrade task to be configured is determined, the method further includes: configuring an upgrade exception whitelist for the target upgrade task, wherein the upgrade exception whitelist includes a plurality of target upgrade tasks The identification of the task, the maximum number of upgrade operations allowed by the multiple target upgrade tasks is not configured; when the number of upgrade operations performed by the target upgrade task exceeds the second threshold, the target upgrade task is being executed Any device in the system will send out an alarm prompt.

可以理解的是,存在升级风险较低的目标升级任务,风险较低的目标升级任务一般是不涉及设备主要程序、设备固件的升级任务,即可知,这样的升级任务不会对设备本身的运行造成影响。因此,可以为风险较低的多个目标升级任务设置升级异常白名单,将多个目标升级任务在目标升级任务生成时产生的或被分配的标识记载在升级异常白名单中。可选的,为低风险的目标升级任务也可以设置第二阈值,第二阈值可以设置为待升级设备的数目,进而在升级异常白名单中的目标升级任务的升级次数超过第二阈值的情况下,可以确定升级流程重复执行,或者升级流程出错,进而执行告警提示。It is understandable that there are target upgrade tasks with low upgrade risks, and target upgrade tasks with low risk are generally upgrade tasks that do not involve the main program of the device or device firmware. make an impact. Therefore, an upgrade exception whitelist can be set for multiple target upgrade tasks with low risk, and the identifiers generated or assigned to multiple target upgrade tasks when the target upgrade tasks are generated are recorded in the upgrade exception whitelist. Optionally, a second threshold can also be set for a low-risk target upgrade task, and the second threshold can be set as the number of devices to be upgraded, and then when the number of upgrades of the target upgrade task in the upgrade exception whitelist exceeds the second threshold In this case, it can be determined that the upgrade process is repeatedly executed, or that an error occurs in the upgrade process, and then an alarm prompt is executed.

在一个示例性的实施例中,确定待配置的目标升级任务之后,所述方法还包括:为所述目标升级任务配置升级异常黑名单,其中,所述升级异常黑名单中包括:一个或多个异常类型;获取所述目标升级任务执行升级操作的过程中所述一个或多个异常类型的出现次数;在目标异常类型的出现次数大于第三阈值的情况下,暂停执行所述目标升级任务。In an exemplary embodiment, after determining the target upgrade task to be configured, the method further includes: configuring an upgrade exception blacklist for the target upgrade task, wherein the upgrade exception blacklist includes: one or more Abnormal types; obtain the number of occurrences of the one or more abnormal types in the process of performing the upgrade operation of the target upgrade task; in the case that the occurrence times of the target abnormal type is greater than the third threshold, suspend execution of the target upgrade task .

可选的,将目标升级任务在待升级设备出现升级异常的原因中,对待升级设备影响最大的,或者目标对象想要收集数据的异常类型记载在升级异常黑名单中,进而统计在升级次数内任一异常类型出现的次数,并在目标异常类型的出现次数大于第三阈值的情况下,暂停执行所述目标升级任务。Optionally, record the target upgrade task in the upgrade exception blacklist, and then count it in the upgrade times The number of occurrences of any abnormal type, and in the case that the number of occurrences of the target abnormal type is greater than the third threshold, suspend execution of the target upgrade task.

在一个示例性的实施例中,按照所述升级次数控制所述目标升级任务的升级策略之后,所述方法还包括:在检测到所述目标升级任务异常终止的情况下,执行异常告警事件,以通知目标对象对所述目标升级任务的运行状态进行再次检测。In an exemplary embodiment, after controlling the upgrade strategy of the target upgrade task according to the upgrade times, the method further includes: when detecting that the target upgrade task is terminated abnormally, executing an abnormal alarm event, In order to notify the target object to check again the running state of the target upgrade task.

可选的,执行异常告警事件包括:发送异常告警信息到目标对象的终端,或者语音播报异常告警事件。Optionally, executing the abnormal alarm event includes: sending abnormal alarm information to the terminal of the target object, or broadcasting the abnormal alarm event by voice.

显然,上述所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。为了更好的理解上述升级策略的确定方法,以下结合实施例对上述过程进行说明,但不用于限定本申请实施例的技术方案,具体地:Apparently, the above-described embodiments are only some of the embodiments of the present application, rather than all the embodiments. In order to better understand the method for determining the above-mentioned upgrade strategy, the above-mentioned process is described below in conjunction with an embodiment, but it is not used to limit the technical solution of the embodiment of the present application, specifically:

设备升级为高风险操作,为达到增强OTA(Over-the-Air Technology,空中下载技术)过程的流程控制,提高设备升级的安全性,改善用户体验,提升产品竞争力的目的,也为了避免因设备升级出现问题导致客户设备不可用,进而造成客户及公司财产损失,影响产品体验和品牌形象等情况的出现。提升OTA过程的可靠性和安全性非常重要。因而在配置及管控环节注意细节,加强流程管控是很有必要的。Equipment upgrade is a high-risk operation, in order to enhance the process control of the OTA (Over-the-Air Technology, air download technology) process, improve the security of equipment upgrades, improve user experience, and enhance product competitiveness. Problems in equipment upgrades lead to unusable customer equipment, which in turn causes property losses to customers and the company, and affects product experience and brand image. Improving the reliability and security of the OTA process is very important. Therefore, it is necessary to pay attention to details and strengthen process control in the configuration and control links.

因此,在升级任务执行环节,尤其在对客户设备进行较高风险升级或大面积升级时,为防止意外及不可预知的问题导致设备升级出现大批量异常进而引发严重生产事故,本申请可选实施例可以根据不同场景配置并限制升级次数,配置并限制升级次数包括:配置执行升级次数、配置异常升级次数,进而实现逐步升级客户设备、及时发现问题并及时终止升级任务,以防止问题进一步扩散的效果。Therefore, in the implementation of the upgrade task, especially when the customer equipment is upgraded with high risk or large-scale upgrade, in order to prevent unexpected and unpredictable problems from causing large batches of abnormal equipment upgrades and causing serious production accidents, this application can be implemented as an option. For example, you can configure and limit the number of upgrades according to different scenarios. Configuring and limiting the number of upgrades includes: configuring the number of upgrades to be executed and configuring the number of abnormal upgrades, so as to gradually upgrade customer devices, detect problems in time, and terminate the upgrade task in time to prevent further spread of problems Effect.

可选的,图3是根据本申请实施例的一种可选的升级策略的确定方法的流程示意图,如图3所示,具有以下步骤:Optionally, FIG. 3 is a schematic flowchart of an optional method for determining an upgrade strategy according to an embodiment of the present application. As shown in FIG. 3 , it has the following steps:

步骤S301:升级任务配置。Step S301: Updating task configuration.

步骤S301还包括:步骤S3011:正常配置升级任务的相关配置;步骤S3012:限制升级任务的可升级次数;步骤S3013:配置升级异常白名单。Step S301 also includes: step S3011: normally configure related configurations of the upgrade task; step S3012: limit the upgradeable times of the upgrade task; step S3013: configure a white list of upgrade exceptions.

步骤S302:任务启动。Step S302: the task starts.

步骤S303:根据升级任务对待升级设备执行升级操作。Step S303: Perform an upgrade operation on the device to be upgraded according to the upgrade task.

步骤S304:升级记录。Step S304: Updating records.

步骤S305:判断是否存在升级限制,存在升级限制,则同时进入步骤S306和步骤S309;不存在升级限制,则升级任务结束。Step S305: Determine whether there is an upgrade restriction, and if there is an upgrade restriction, proceed to step S306 and step S309 at the same time; if there is no upgrade restriction, the upgrade task ends.

需要说明的是,升级限制包括升级次数限制、升级异常等。It should be noted that the upgrade restriction includes the limit on the number of upgrades, upgrade exceptions, and the like.

步骤S306:通过升级次数限制控制器监测升级任务。Step S306: Monitoring the upgrade task by the controller for limiting the number of upgrade times.

步骤S307:确定步骤S306中的升级次数限制控制器是否触发,在触发的情况下,进入步骤S308;未触发的情况下,升级任务结束。Step S307: Determine whether the upgrade times limit controller in step S306 is triggered, if it is triggered, go to step S308; if it is not triggered, the upgrade task ends.

步骤S308:任务暂停。Step S308: the task is suspended.

步骤S309:通过升级异常控制器监测升级任务。Step S309: Monitor the upgrade task through the upgrade exception controller.

步骤S310:确定步骤S309中的升级异常控制器是否触发,在触发的情况下,进入步骤S311;未触发的情况下,升级任务结束。Step S310: Determine whether the upgrade abnormal controller in step S309 is triggered, if it is triggered, go to step S311; if not, the upgrade task ends.

步骤S308:任务暂停并告警。Step S308: The task is suspended and an alarm is issued.

在执行步骤S308和/或步骤S311之后,升级任务结束。After performing step S308 and/or step S311, the upgrade task ends.

基于上述步骤,可以理解的是,平台提供并执行升级次数限制配置。在升级任务配置阶段,配置人员可以为升级任务配置固定的升级次数限制数,每次任务启动后,允许升级的设备数量就是升级次数限制数对应的数量(例如,升级次数限制数为50,则执行升级任务的设备数为50),超出升级次数限制数后升级任务会自动暂停,等待配置人员进一步确认并再次启动任务继续升级。配置人员不对升级任务配置时则表示任务不限制升级次数,一般来说,不配置的升级任务为低风险的升级任务,风险较高的需要给出提示。Based on the above steps, it can be understood that the platform provides and executes the configuration of limiting the number of upgrades. In the upgrade task configuration stage, the configurator can configure a fixed limit number of upgrade times for the upgrade task. After each task is started, the number of devices allowed to be upgraded is the number corresponding to the limit number of upgrade times (for example, if the limit number of upgrade times is 50, then The number of devices performing the upgrade task is 50), and the upgrade task will be automatically suspended after the number of upgrade times exceeds the limit, waiting for further confirmation by the configurator and restarting the task to continue the upgrade. If the configurator does not configure the upgrade task, it means that the task does not limit the number of upgrades. Generally speaking, the upgrade task that is not configured is a low-risk upgrade task, and a reminder needs to be given if the risk is high.

进一步的,1)平台还提供升级次数递增配置策略,升级任务配置阶段,设置初始升级次数,合格升级率指标,升级次数递增指数。当一阶段升级次数到达后,升级成功率达标,则自动根据升级递增指数扩大升级次数,持续高效升级。Further, 1) the platform also provides an upgrade times incremental configuration strategy, and in the upgrade task configuration stage, set the initial upgrade times, the qualified upgrade rate index, and the upgrade times incremental index. When the number of upgrades in the first stage is reached and the success rate of the upgrade reaches the standard, the number of upgrades will be automatically expanded according to the upgrade increment index to continue to upgrade efficiently.

2)平台可以为升级任务配置升级异常黑名单,用于限制异常升级次数,升级任务执行过程中某些特定异常一旦出现n次后,升级任务自动暂停,方便人工后续分析处理。2) The platform can configure an upgrade exception blacklist for the upgrade task, which is used to limit the number of abnormal upgrades. Once certain specific exceptions occur n times during the execution of the upgrade task, the upgrade task will be automatically suspended to facilitate manual follow-up analysis and processing.

3)平台还提供升级终止告警,上述步骤中一旦出现任务异常终止,将触发OTA升级异常告警,通知相关人员及时处理。3) The platform also provides an upgrade termination alarm. Once the task is terminated abnormally in the above steps, an OTA upgrade abnormal alarm will be triggered to notify relevant personnel to deal with it in a timely manner.

进而本申请实施例具有如下关键点:OTA为高风险操作,升级任务一旦启动对全网所有匹配的设备有效,因而需要针对不同场景的升级精细化控制升级过程,本申请可选实施例将升级任务进行升级次数限制,具体包括对执行升级次数和异常升级次数的控制。其中,执行升级的次数控制用于精细化控制升级任务,把控升级整理进度和流程,及时发现问题并处理,防患于未然;异常升级的次数控制用于系统出现升级异常时,自动启动保护机制,暂停升级任务并触发告警,防止异常导致的问题进一步扩散严重,将产生的影响控制在一定范围。Furthermore, the embodiment of this application has the following key points: OTA is a high-risk operation. Once the upgrade task is started, it will be effective for all matching devices in the entire network. Therefore, it is necessary to refine the upgrade process for different scenarios. The optional embodiment of this application will upgrade The number of upgrade times for tasks is limited, including the control of the number of execution upgrades and the number of abnormal upgrades. Among them, the control of the number of upgrades is used to finely control the upgrade task, control the progress and process of the upgrade, find and deal with problems in time, and prevent problems before they happen; the control of the number of abnormal upgrades is used to automatically start the protection when the system upgrades abnormally The mechanism suspends the upgrade task and triggers an alarm to prevent the further spread of the problem caused by the abnormality, and to control the impact within a certain range.

进一步的,OTA设备升级若不控制升级次数,而通过人为发现问题并解决,则问题处理的时效性差,升级执行中异常失败升级过多则用户体验差,一旦用户设备升级后不可用,则危害更大。基于此,本申请可选实施例严格把控升级过程,限制升级次数,先小范围升级用户设备,待稳定无误后可大面积或全面对设备升级。本申请可选实施例还可以提前感知异常,根据可配置的异常升级限制,提前监控升级异常,触发临界值自动终止升级任务,方便后续人员处理,将异常及事故影响控制在一定范围,提升系统稳定性和产品体验。Furthermore, if the OTA device upgrade does not control the number of upgrades, but finds and solves the problem artificially, the timeliness of problem handling will be poor. If there are too many abnormal failures during the upgrade execution, the user experience will be poor. Once the user equipment is upgraded and unavailable, it will endanger bigger. Based on this, an optional embodiment of the present application strictly controls the upgrade process, limits the number of upgrades, first upgrades the user equipment in a small area, and then upgrades the equipment in a large area or comprehensively after it is stable and correct. The optional embodiment of this application can also detect abnormalities in advance, monitor the abnormality in advance according to the configurable abnormality upgrade limit, trigger the critical value to automatically terminate the upgrade task, facilitate subsequent personnel to deal with, control the impact of abnormalities and accidents within a certain range, and improve the system Stability and product experience.

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

在本实施例中还提供了一种升级策略的确定装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的设备较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。This embodiment also provides a device for determining an upgrade strategy, which is used to implement the above embodiments and preferred implementation modes, and those that have already been described will not be described again. As used below, the term "module" may be a combination of software and/or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.

图4是根据本申请实施例的一种可选的升级策略的确定装置的结构框图,该装置包括:Fig. 4 is a structural block diagram of an optional device for determining an upgrade strategy according to an embodiment of the present application, and the device includes:

确定模块42,用于确定待配置的目标升级任务;A determining module 42, configured to determine the target upgrade task to be configured;

配置模块44,用于为所述目标升级任务配置升级次数,其中,所述升级次数为所述目标升级任务允许执行升级操作的最大次数;The configuration module 44 is configured to configure the number of upgrades for the target upgrade task, wherein the number of upgrades is the maximum number of upgrade operations allowed by the target upgrade task;

控制模块46,用于在所述目标升级任务被启动的情况下,按照所述升级次数控制所述目标升级任务的升级策略。The control module 46 is configured to control the upgrade strategy of the target upgrade task according to the upgrade times when the target upgrade task is started.

通过上述装置,确定待配置的目标升级任务;为所述目标升级任务配置升级次数,其中,所述升级次数为所述目标升级任务允许执行升级操作的最大次数;在所述目标升级任务被启动的情况下,按照所述升级次数控制所述目标升级任务的升级策略。也就是说,通过配置目标升级任务允许执行升级操作的最大次数,进而根据允许执行升级操作的最大次数控制目标升级任务的升级策略,采用上述技术方案,解决了相关技术中升级方案,升级的安全可靠性依靠人为控制,出现异常可能无法及时发现并终止升级任务,进而导致升级任务持续对更多的用户设备造成影响的问题;实现了将异常影响控制在一定范围,进而提升系统稳定性和产品体验的技术效果。Through the above-mentioned device, determine the target upgrade task to be configured; configure the upgrade times for the target upgrade task, wherein the upgrade times are the maximum number of upgrade operations allowed by the target upgrade task; when the target upgrade task is started In the case of , the upgrade policy of the target upgrade task is controlled according to the upgrade times. That is to say, by configuring the maximum number of upgrade operations allowed by the target upgrade task, and then controlling the upgrade strategy of the target upgrade task according to the maximum number of upgrade operations allowed, the above technical solution solves the problem of upgrade solutions in related technologies, and the security of the upgrade Reliability depends on human control, and the upgrade task may not be discovered and terminated in time if an abnormality occurs, which will cause the upgrade task to continue to affect more user equipment; the impact of abnormalities can be controlled within a certain range, thereby improving system stability and product quality. Experienced technical effects.

在一个示例性的实施例中,控制模块46,还用于确定所述目标升级任务在指定设备的当前升级次数;在所述当前升级次数小于或等于所述升级次数的情况下,确定所述目标升级任务允许在所述指定设备继续升级;在所述当前升级次数大于所述升级次数的情况下,暂停所述目标升级任务在所述指定设备的升级操作。In an exemplary embodiment, the control module 46 is further configured to determine the current upgrade times of the target upgrade task on the designated device; when the current upgrade times are less than or equal to the upgrade times, determine the The target upgrade task is allowed to continue the upgrade on the designated device; in the case that the current upgrade times are greater than the upgrade times, the upgrade operation of the target upgrade task on the designated device is suspended.

可选的,确定待升级设备的数目(可以是估算结果),根据待升级设备的数目确定为所述目标升级任务配置升级次数。为保证在出现升级异常的情况下,将可能造成的影响控制在最小,在待升级设备数目极大的情况下,可以选择所述数目的千分之一、万分之一等作为所述升级次数,或者也可以选择待升级设备数目之内的一个较小数目作为所述升级次数。Optionally, the number of devices to be upgraded (which may be an estimation result) is determined, and the number of upgrades configured for the target upgrade task is determined according to the number of devices to be upgraded. In order to ensure that the possible impact is minimized in the event of abnormal upgrades, when the number of devices to be upgraded is extremely large, one thousandth, one ten thousandth, etc. of the number can be selected as the upgrade times, or a smaller number within the number of devices to be upgraded can also be selected as the number of upgrades.

示例性的,待升级设备可以为10000台,则为目标升级任务配置的升级次数可以为待升级设备的千分之一,即10次;也可以将升级次数直接设置为50次。现设定升级次数设置为50,进而在执行到指定设备的情况下,确定指定设备为升级任务被执行升级操作的第N台设备(即升级任务在执行到指定设备时已经被第N次执行了),进而在N小于或等于50的情况下,确定目标升级任务可以在指定设备执行;在N大于50的情况下,确定目标升级任务不可以在指定设备执行,并确定暂停目标升级任务在所有剩余待升级设备上的升级操作。需要说明的是,指定设备可以为待升级设备中的任一设备。Exemplarily, if there are 10,000 devices to be upgraded, the number of upgrades configured for the target upgrade task may be one-thousandth of the number of devices to be upgraded, that is, 10 times; the number of upgrades may also be directly set to 50 times. Now set the number of upgrades to 50, and then when the specified device is executed, it is determined that the specified device is the Nth device on which the upgrade task is performed (that is, the upgrade task has been executed for the Nth time when the upgrade task is executed to the specified device) ), and then when N is less than or equal to 50, it is determined that the target upgrade task can be executed on the designated device; when N is greater than 50, it is determined that the target upgrade task cannot be executed on the designated device, and it is determined to suspend the target upgrade task at Upgrade operations on all remaining devices to be upgraded. It should be noted that the designated device may be any device among the devices to be upgraded.

在一个示例性的实施例中,如图5所示,上述装置还包括扩大模块58,用于获取所述目标升级任务在第一历史时间段的升级成功率;在所述升级成功率大于第一阈值的情况下,根据升级递增指数扩大所述升级次数;在所述升级成功率小于或等于第一阈值的情况下,根据升级递减指数降低所述升级次数。In an exemplary embodiment, as shown in FIG. 5 , the above-mentioned device further includes an expansion module 58, configured to acquire the upgrade success rate of the target upgrade task in the first historical time period; In the case of a threshold, the number of upgrades is increased according to the upgrade increment index; when the success rate of the upgrade is less than or equal to the first threshold, the number of upgrades is decreased according to the upgrade decrement index.

可以理解的是,控制目标升级任务对升级次数个的待升级设备进行升级之后,获取升级次数个待升级设备中升级成功的设备数目,并以所设置的升级次数为基数,计算升级成功率。可选的,第一阈值可以设置为80%,则在升级成功率大于80%的情况下,根据升级递增指数扩大升级次数,可选的,升级递增指数可以设置为倍数、百分数等,本申请实施例对此不做限定。在升级成功率小于或等于第一阈值的情况下,进一步确定升级成功率是否小于第一阈值的一半,在小于第一阈值的一半的情况下,确定是否升级任务与待升级设备的对应关系设置错误(如设备标识、升级任务的版本号出现错误);也可以根据升级递减指数降低所述升级次数,重新确定升级成功率。It can be understood that, after the upgrade task of the control target upgrades the devices to be upgraded with the number of upgrades, the number of successfully upgraded devices among the devices to be upgraded with the number of upgrades is obtained, and the success rate of the upgrade is calculated based on the set number of upgrades. Optionally, the first threshold can be set to 80%, then when the upgrade success rate is greater than 80%, the number of upgrades will be expanded according to the upgrade increment index. Optionally, the upgrade increment index can be set as a multiple, a percentage, etc., the present application The embodiment does not limit this. When the upgrade success rate is less than or equal to the first threshold, it is further determined whether the upgrade success rate is less than half of the first threshold, and if it is less than half of the first threshold, it is determined whether the corresponding relationship between the upgrade task and the device to be upgraded is set Errors (such as errors in the device identification and the version number of the upgrade task); it is also possible to reduce the number of upgrades according to the upgrade decrement index, and re-determine the success rate of the upgrade.

在一个示例性的实施例中,扩大模块58,还用于获取所述升级任务在第二历史时间段的历史升级成功率,其中,所述第二历史时间段在所述第一历史时间段之前;确定所述升级成功率和所述历史升级成功率的平均升级成功率,根据所述平均升级成功率和所述升级递增指数扩大所述升级次数。In an exemplary embodiment, the expansion module 58 is further configured to obtain the historical upgrade success rate of the upgrade task in the second historical time period, wherein the second historical time period is within the first historical time period Before: determining the upgrade success rate and the average upgrade success rate of the historical upgrade success rate, expanding the number of upgrades according to the average upgrade success rate and the upgrade increment index.

可选的,根据升级递增指数扩大所述升级次数之后,将所述升级成功率作为历史升级成功率,并用于确定下一个升级次数。可选的,在目标升级任务的升级次数扩大多次的情况下,确定多个历史时间段对应的多个升级成功率,确定所述多个升级成功率的平均升级成功率,并根据所述平均升级成功率和所述升级递增指数扩大所述升级次数。可以理解的是,根据所述平均升级成功率和所述升级递增指数扩大所述升级次数包括:根据平均升级成功率、升级递增指数与所述升级次数的乘积扩大所述升级次数。Optionally, after the upgrade times are expanded according to the upgrade increment index, the upgrade success rate is used as the historical upgrade success rate and used to determine the next upgrade times. Optionally, in the case that the number of upgrades of the target upgrade task is expanded multiple times, determine multiple upgrade success rates corresponding to multiple historical time periods, determine the average upgrade success rate of the multiple upgrade success rates, and according to the The average upgrade success rate and the upgrade incremental index expand the number of upgrades. It can be understood that expanding the upgrade times according to the average upgrade success rate and the upgrade incremental index includes: expanding the upgrade times according to the product of the average upgrade success rate, the upgrade incremental index and the upgrade times.

在一个示例性的实施例中,确定待配置的目标升级任务之后,配置模块44,还用于为所述目标升级任务配置升级异常白名单,其中,所述升级异常白名单中包括多个目标升级任务的标识,所述多个目标升级任务允许执行升级操作的最大次数均未配置;在所述目标升级任务执行升级操作的升级次数超过第二阈值的情况下,通过正在执行所述目标升级任务的任一设备发出告警提示。In an exemplary embodiment, after determining the target upgrade task to be configured, the configuration module 44 is further configured to configure an upgrade exception whitelist for the target upgrade task, wherein the upgrade exception whitelist includes multiple targets The identification of the upgrade task, the maximum number of upgrade operations allowed by the multiple target upgrade tasks is not configured; when the number of upgrade operations performed by the target upgrade task exceeds the second threshold, the target upgrade is being executed Any device in the task sends out an alarm prompt.

可以理解的是,存在升级风险较低的目标升级任务,风险较低的目标升级任务一般是不涉及设备主要程序、设备固件的升级任务,即可知,这样的升级任务不会对设备本身的运行造成影响。因此,可以为风险较低的多个目标升级任务设置升级异常白名单,将多个目标升级任务在目标升级任务生成时产生的或被分配的标识记载在升级异常白名单中。可选的,为低风险的目标升级任务也可以设置第二阈值,第二阈值可以设置为待升级设备的数目,进而在升级异常白名单中的目标升级任务的升级次数超过第二阈值的情况下,可以确定升级流程重复执行,或者升级流程出错,进而执行告警提示。It is understandable that there are target upgrade tasks with low upgrade risk, and target upgrade tasks with low risk generally do not involve the upgrade tasks of the main program of the device and the device firmware. That is to say, such upgrade tasks will not affect the running make an impact. Therefore, an upgrade exception whitelist can be set for multiple target upgrade tasks with low risk, and the identifiers generated or assigned to multiple target upgrade tasks when the target upgrade tasks are generated are recorded in the upgrade exception whitelist. Optionally, a second threshold can also be set for a low-risk target upgrade task, and the second threshold can be set as the number of devices to be upgraded, and then when the number of upgrades of the target upgrade task in the upgrade exception whitelist exceeds the second threshold In this case, it can be determined that the upgrade process is repeatedly executed, or that an error occurs in the upgrade process, and then an alarm prompt is executed.

在一个示例性的实施例中,确定待配置的目标升级任务之后,配置模块44,还用于为所述目标升级任务配置升级异常黑名单,其中,所述升级异常黑名单中包括:一个或多个异常类型;获取所述目标升级任务执行升级操作的过程中所述一个或多个异常类型的出现次数;在目标异常类型的出现次数大于第三阈值的情况下,暂停执行所述目标升级任务。In an exemplary embodiment, after determining the target upgrade task to be configured, the configuration module 44 is further configured to configure an upgrade exception blacklist for the target upgrade task, wherein the upgrade exception blacklist includes: one or A plurality of exception types; obtaining the number of occurrences of the one or more exception types during the upgrade operation of the target upgrade task; when the number of occurrences of the target exception type is greater than a third threshold, suspending the execution of the target upgrade Task.

可选的,将目标升级任务在待升级设备出现升级异常的原因中,对待升级设备影响最大的,或者目标对象想要收集数据的异常类型记载在升级异常黑名单中,进而统计在升级次数内任一异常类型出现的次数,并在目标异常类型的出现次数大于第三阈值的情况下,暂停执行所述目标升级任务。Optionally, record the target upgrade task in the upgrade exception blacklist, and then count it in the upgrade times The number of occurrences of any abnormal type, and in the case that the number of occurrences of the target abnormal type is greater than the third threshold, suspend execution of the target upgrade task.

在一个示例性的实施例中,按照所述升级次数控制所述目标升级任务的升级策略之后,控制模块46,还用于在检测到所述目标升级任务异常终止的情况下,执行异常告警事件,以通知目标对象对所述目标升级任务的运行状态进行再次检测。In an exemplary embodiment, after controlling the upgrade strategy of the target upgrade task according to the upgrade times, the control module 46 is further configured to execute an abnormal alarm event when detecting that the target upgrade task terminates abnormally , to notify the target object to check again the running status of the target upgrade task.

可选的,执行异常告警事件包括:发送异常告警信息到目标对象的终端,或者语音播报异常告警事件。Optionally, executing the abnormal alarm event includes: sending abnormal alarm information to the terminal of the target object, or broadcasting the abnormal alarm event by voice.

本申请的实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。Embodiments of the present application also provide a computer-readable storage medium, in which a computer program is stored, wherein the computer program is set to execute the steps in any one of the above method embodiments when running.

可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:Optionally, in this embodiment, the above-mentioned storage medium may be configured to store a computer program for performing the following steps:

S1,确定待配置的目标升级任务;S1. Determine the target upgrade task to be configured;

S2,为所述目标升级任务配置升级次数,其中,所述升级次数为所述目标升级任务允许执行升级操作的最大次数;S2. Configure an upgrade count for the target upgrade task, where the upgrade count is the maximum number of upgrade operations allowed by the target upgrade task;

S3,在所述目标升级任务被启动的情况下,按照所述升级次数控制所述目标升级任务的升级策略。S3. When the target upgrade task is started, control the upgrade policy of the target upgrade task according to the upgrade times.

在一个示例性实施例中,上述计算机可读存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。In an exemplary embodiment, the above-mentioned computer-readable storage medium may include but not limited to: U disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM) , mobile hard disk, magnetic disk or optical disk and other media that can store computer programs.

本实施例中的具体示例可以参考上述实施例及示例性实施方式中所描述的示例,本实施例在此不再赘述。For specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and exemplary implementation manners, and details will not be repeated here in this embodiment.

本申请的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。An embodiment of the present application also provides an electronic device, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to perform the steps in any one of the above method embodiments.

可选地,在本实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:Optionally, in this embodiment, the above-mentioned processor may be configured to execute the following steps through a computer program:

S1,确定待配置的目标升级任务;S1. Determine the target upgrade task to be configured;

S2,为所述目标升级任务配置升级次数,其中,所述升级次数为所述目标升级任务允许执行升级操作的最大次数;S2. Configure an upgrade count for the target upgrade task, where the upgrade count is the maximum number of upgrade operations allowed by the target upgrade task;

S3,在所述目标升级任务被启动的情况下,按照所述升级次数控制所述目标升级任务的升级策略。S3. When the target upgrade task is started, control the upgrade policy of the target upgrade task according to the upgrade times.

在一个示例性实施例中,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。In an exemplary embodiment, the electronic device may further include a transmission device and an input and output device, wherein the transmission device is connected to the processor, and the input and output device is connected to the processor.

本实施例中的具体示例可以参考上述实施例及示例性实施方式中所描述的示例,本实施例在此不再赘述。For specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and exemplary implementation manners, and details will not be repeated here in this embodiment.

显然,本领域的技术人员应该明白,上述的本申请的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本申请不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that each module or each step of the above-mentioned application can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed in a network composed of multiple computing devices In fact, they can be implemented in program code executable by a computing device, and thus, they can be stored in a storage device to be executed by a computing device, and in some cases, can be executed in an order different from that shown here. Or described steps, or they are fabricated into individual integrated circuit modules, or multiple modules or steps among them are fabricated into a single integrated circuit module for implementation. As such, the present application is not limited to any specific combination of hardware and software.

以上所述仅是本申请的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。The above description is only the preferred embodiment of the present application. It should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present application, some improvements and modifications can also be made. These improvements and modifications are also It should be regarded as the protection scope of this application.

Claims (10)

1. A method for determining an upgrade policy, comprising:
determining a target upgrading task to be configured;
Configuring upgrade times for the target upgrade task, wherein the upgrade times are the maximum times of the target upgrade task allowed to execute upgrade operation;
and under the condition that the target upgrading task is started, controlling the upgrading strategy of the target upgrading task according to the upgrading times.
2. The method according to claim 1, wherein controlling the upgrade policy of the target upgrade task according to the number of upgrades comprises:
determining the current upgrading times of the target upgrading task in the appointed equipment;
determining that the target upgrading task allows the designated equipment to continue upgrading under the condition that the current upgrading frequency is smaller than or equal to the upgrading frequency;
and under the condition that the current upgrading times are larger than the upgrading times, suspending the upgrading operation of the target upgrading task on the appointed equipment.
3. The method according to claim 1, wherein after controlling the upgrade policy of the target upgrade task according to the number of upgrades, the method further comprises:
acquiring the upgrading success rate of the target upgrading task in a first historical time period;
Under the condition that the upgrade success rate is greater than a first threshold value, expanding the upgrade times according to an upgrade increment index;
and under the condition that the upgrade success rate is smaller than or equal to a first threshold value, reducing the upgrade times according to the upgrade decremental index.
4. The method of claim 3, wherein expanding the number of upgrades according to an upgrade increment index comprises:
acquiring a historical upgrade success rate of the upgrade task in a second historical time period, wherein the second historical time period is before the first historical time period;
and determining the average upgrading success rate of the upgrading success rate and the historical upgrading success rate, and expanding the upgrading times according to the average upgrading success rate and the upgrading increment index.
5. The method for determining an upgrade policy according to claim 1, wherein after determining a target upgrade task to be configured, the method further comprises:
configuring an upgrade exception white list for the target upgrade task, wherein the upgrade exception white list comprises identifiers of a plurality of target upgrade tasks, and the maximum number of times that the plurality of target upgrade tasks allow to execute upgrade operations is not configured;
And under the condition that the upgrading times of the target upgrading task for executing the upgrading operation exceeds a second threshold value, sending out an alarm prompt through any device which is executing the target upgrading task.
6. The method of determining an upgrade policy according to claim 4, wherein after determining a target upgrade task to be configured, the method further comprises:
configuring an upgrade exception blacklist for the target upgrade task, wherein the upgrade exception blacklist comprises: one or more exception types;
acquiring the occurrence times of the one or more abnormal types in the process of executing the upgrading operation by the target upgrading task;
and if the occurrence number of the target abnormal type is greater than a third threshold value, suspending executing the target upgrading task.
7. The method according to claim 1, wherein after controlling the upgrade policy of the target upgrade task according to the number of upgrades, the method further comprises:
and under the condition that the abnormal termination of the target upgrading task is detected, executing an abnormal alarm event to inform a target object to detect the running state of the target upgrading task again.
8. An upgrade policy determination apparatus, comprising:
the determining module is used for determining a target upgrading task to be configured;
the configuration module is used for configuring the upgrade times for the target upgrade task, wherein the upgrade times are the maximum times of the target upgrade task allowed to execute upgrade operation;
and the control module is used for controlling the upgrading strategy of the target upgrading task according to the upgrading times under the condition that the target upgrading task is started.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein the program when run performs the method of any one of claims 1 to 7.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of claims 1 to 7 by means of the computer program.
CN202310315951.7A 2023-03-28 2023-03-28 Method and device for determining upgrade strategy, storage medium and electronic device Pending CN116527503A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310315951.7A CN116527503A (en) 2023-03-28 2023-03-28 Method and device for determining upgrade strategy, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310315951.7A CN116527503A (en) 2023-03-28 2023-03-28 Method and device for determining upgrade strategy, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN116527503A true CN116527503A (en) 2023-08-01

Family

ID=87403726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310315951.7A Pending CN116527503A (en) 2023-03-28 2023-03-28 Method and device for determining upgrade strategy, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN116527503A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117573172A (en) * 2024-01-15 2024-02-20 天津异乡好居网络科技股份有限公司 Client updating method, device, equipment and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117573172A (en) * 2024-01-15 2024-02-20 天津异乡好居网络科技股份有限公司 Client updating method, device, equipment and medium
CN117573172B (en) * 2024-01-15 2024-04-12 天津异乡好居网络科技股份有限公司 Client updating method, device, equipment and medium

Similar Documents

Publication Publication Date Title
US12333296B1 (en) Systems and methods for user-controlled deployment of software updates
CN116527503A (en) Method and device for determining upgrade strategy, storage medium and electronic device
JP7209033B2 (en) Scheduling system and method for online program updates
CN113760494B (en) Task scheduling method and device
CN116055285B (en) Process management method and system for industrial control system
CN115001885B (en) Equipment control method and device, storage medium and electronic device
CN108563472A (en) Based on the service plug loading method and device for more opening application
US8392966B2 (en) Limiting the availability of computational resources to a device to stimulate a user of the device to apply necessary updates
CN117008941B (en) Interrupt processing program noninductive upgrading method and computer system
CN108111343A (en) Method, equipment and the computer storage media of terminal monitoring are realized based on cloud platform
CN116308191A (en) Combined application method, device, equipment and medium of RPA equipment
CN116781389B (en) Determination method of abnormal data list, electronic equipment and storage medium
CN109918257B (en) Hard disk exception handling method and device
WO2023169173A1 (en) Memory cleaning method and apparatus, storage medium, and electronic device
CN117240645A (en) OTA upgrading method and device of intelligent home system, electronic equipment and medium
CN110986291A (en) Equipment management method and device and air conditioner
CN106452878B (en) Service switch method, device and system in a kind of local area network
WO2017190575A1 (en) Driver control method and device
CN115473808A (en) Task execution method and related device
CN115967608A (en) Networking management method of intelligent household equipment, router and storage medium
CN113805957A (en) Dynamic loading method and device for edge terminal program
CN112214437A (en) Storage device, communication method and device and computer readable storage medium
CN116185466A (en) Method and device for sending upgrading result, storage medium and electronic device
CN116709071B (en) Optical network unit upgrade method, optical line terminal and computer readable storage medium
CN106155731B (en) System and method for automatically replacing peripheral device

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