Software upgrading method, equipment, storage medium and device

By switching to the backup transmission channel during the business software upgrade process, and optimizing the upgrade sequence based on reliable transmission technology and terminal categories, the problem of business interruption caused by abnormal software upgrades in the existing technology is solved, and the reliability and business continuity of software upgrades are improved. .

CN118535182APending Publication Date: 2024-08-23BEIJING HONGTENG INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310154498.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-22
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Once an abnormality occurs in the business software upgrade in the existing technology, the business software may become unavailable, causing business interruption.

Method used

When the regular transmission channel upgrade fails, switch to the backup transmission channel. The backup transmission channel is pre-built based on reliable transmission technology. The upgrade sequence is determined according to the terminal category of the business terminal, and the software upgrade continues through the backup transmission channel.

Benefits of technology

It improves the reliability of software upgrades and ensures business continuity. Through the importance classification and priority transmission of business terminals, it ensures that important terminals are upgraded first and avoids business interruption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535182A
    Figure CN118535182A
Patent Text Reader

Abstract

The invention relates to the technical field of computers, and discloses a software upgrading method, equipment, a storage medium and a device.The method comprises the steps that when software in a service terminal fails to be upgraded through a conventional transmission channel, the service terminal is switched to a standby transmission channel, and the standby transmission channel is pre-constructed based on a reliable transmission technology; an upgrading sequence is determined according to the terminal category of the service terminal, the terminal category is determined based on the importance degree of the service terminal, and software in the service terminal continues to be upgraded through the standby transmission channel according to the upgrading sequence; due to the fact that the reliable standby transmission channel is adopted for upgrading when the conventional transmission channel is abnormal, the reliability of software upgrading is improved, and due to the fact that the service terminals are subjected to importance degree grading and transmission and updating of different priorities, service continuity is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a software upgrading method, equipment, storage medium and device. Background Art

[0002] At present, a large number of business software are in the server-client (Client-Server, C / S) mode, that is, business client programs are needed to complete core business work, and the upgrade of business software is to upgrade the client program.

[0003] Most of the existing business software upgrade mechanisms use software distribution technology, that is, the business software package that needs to be upgraded is distributed to the terminal and runs. When an exception occurs, it is generally handled by retrying until success. However, once an exception occurs in the upgrade of business software in the existing technology, the business software may become unavailable, thereby causing business interruption.

[0004] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention

[0005] The main purpose of the present invention is to provide a software upgrade method, equipment, storage medium and device, aiming to solve the technical problem in the prior art that once an abnormality occurs in the upgrade of business software, the business software may become unavailable, thereby causing business interruption.

[0006] To achieve the above object, the present invention provides a software upgrade method, which comprises the following steps:

[0007] When software upgrade in the service terminal fails through the conventional transmission channel, switching to the backup transmission channel, the backup transmission channel is pre-built based on the reliable transmission technology;

[0008] Determining an upgrade order according to the terminal category of the service terminal, wherein the terminal category is determined based on the importance of the service terminal;

[0009] The software in the service terminal continues to be upgraded through the standby transmission channel according to the upgrade sequence.

[0010] Optionally, before the step of switching to the backup transmission channel when the software upgrade in the service terminal fails through the conventional transmission channel, the method further includes:

[0011] When receiving an upgrade instruction, determining the upgrade order according to the terminal category of the service terminal;

[0012] The software in the service terminal is upgraded through a conventional transmission channel according to the upgrade sequence.

[0013] Optionally, before the step of switching to the backup transmission channel when the software upgrade in the service terminal fails through the conventional transmission channel, the method further includes:

[0014] Obtaining business requirements of business terminals, and determining the importance of the business terminals according to the business requirements;

[0015] The service terminals are classified according to the importance levels to obtain terminal categories of the service terminals.

[0016] Optionally, the backup transmission channel is pre-built based on HTTP and cluster technology.

[0017] Optionally, the conventional transmission channel is pre-constructed based on BT transmission technology.

[0018] Optionally, the step of continuing to upgrade the software in the service terminal through the standby transmission channel according to the upgrade sequence includes:

[0019] Grouping the service terminals according to terminal categories of the service terminals to obtain a first service terminal and a second service terminal;

[0020] Upgrading the software in the first service terminal through a conventional transmission channel;

[0021] The software in the second service terminal continues to be upgraded through the standby transmission channel according to the upgrade sequence.

[0022] Optionally, the step of grouping the service terminals according to terminal categories of the service terminals to obtain the first service terminal and the second service terminal includes:

[0023] Monitoring the transmission recovery status of the conventional transmission channel;

[0024] The service terminals are grouped according to the transmission recovery status and the terminal categories of the service terminals to obtain a first service terminal and a second service terminal.

[0025] Optionally, the step of grouping the service terminals according to the transmission recovery status and the terminal categories of the service terminals to obtain the first service terminal and the second service terminal includes:

[0026] Acquire transmission parameters of the standby transmission channel, and predict the transmission speed of the standby transmission channel according to the transmission parameters and the upgrade sequence;

[0027] The service terminals are grouped according to the transmission speed, the transmission recovery status, and the terminal categories of the service terminals to obtain a first service terminal and a second service terminal.

[0028] Optionally, the step of continuing to upgrade the software in the second service terminal through the backup transmission channel according to the upgrade sequence includes:

[0029] Acquire an interrupt transmission identifier corresponding to the second service terminal from the regular transmission channel;

[0030] The software in the second service terminal continues to be upgraded through the standby transmission channel according to the interrupted transmission identifier and the upgrade sequence.

[0031] Optionally, after the step of continuing to upgrade the software in the service terminal through the standby transmission channel according to the upgrade sequence, the method further includes:

[0032] Obtaining software upgrade results of the service terminal;

[0033] An upgrade statistics report is generated according to the software upgrade result and the upgrade sequence.

[0034] Optionally, after the step of generating an upgrade statistical report according to the software upgrade result and the upgrade sequence, the method further includes:

[0035] Generate an upgrade optimization strategy according to the upgrade statistical report and the business requirements of the business terminal;

[0036] The conventional transmission channel and the standby transmission channel are optimized according to the upgrade optimization strategy.

[0037] In addition, to achieve the above-mentioned purpose, the present invention also proposes a software upgrade device, which includes a memory, a processor, and a software upgrade program stored in the memory and executable on the processor, and the software upgrade program is configured to implement the software upgrade method as described above.

[0038] In addition, to achieve the above-mentioned purpose, the present invention further proposes a storage medium, on which a software upgrade program is stored, and when the software upgrade program is executed by a processor, the software upgrade method as described above is implemented.

[0039] In addition, to achieve the above-mentioned purpose, the present invention also proposes a software upgrade device, characterized in that the software upgrade device comprises: a channel switching module, a sequence determination module and a software upgrade module;

[0040] The channel switching module is used to switch to a backup transmission channel when the software upgrade in the service terminal fails through the conventional transmission channel, and the backup transmission channel is pre-built based on the reliable transmission technology;

[0041] The order determination module is used to determine the upgrade order according to the terminal category of the service terminal, and the terminal category is determined based on the importance of the service terminal;

[0042] The software upgrade module is used to continue upgrading the software in the service terminal through the backup transmission channel according to the upgrade sequence.

[0043] Optionally, the software upgrade device further includes: a conventional upgrade module;

[0044] The conventional upgrade module is used to determine the upgrade order according to the terminal category of the service terminal when receiving the upgrade instruction;

[0045] The conventional upgrade module is further used to upgrade the software in the service terminal through a conventional transmission channel according to the upgrade sequence.

[0046] Optionally, the software upgrade device further includes: a terminal classification module;

[0047] The terminal classification module is used to obtain the service requirements of the service terminals and determine the importance of the service terminals according to the service requirements;

[0048] The terminal classification module is further used to classify the service terminals according to the importance levels to obtain terminal categories of the service terminals.

[0049] Optionally, the backup transmission channel is pre-built based on HTTP and cluster technology.

[0050] Optionally, the conventional transmission channel is pre-constructed based on BT transmission technology.

[0051] Optionally, the software upgrade module is further used to group the service terminals according to terminal categories of the service terminals to obtain a first service terminal and a second service terminal;

[0052] The software upgrade module is further used to upgrade the software in the first service terminal through a conventional transmission channel;

[0053] The software upgrade module is further used to continue upgrading the software in the second service terminal through the backup transmission channel according to the upgrade sequence.

[0054] Optionally, the software upgrade module is further used to monitor the transmission recovery status of the conventional transmission channel;

[0055] The software upgrade module is further used to group the service terminals according to the transmission recovery status and the terminal categories of the service terminals to obtain a first service terminal and a second service terminal.

[0056] The present invention discloses that when software upgrade in a service terminal fails through a conventional transmission channel, switching to a backup transmission channel is performed. The backup transmission channel is pre-constructed based on a reliable transmission technology, and an upgrade sequence is determined according to terminal categories of the service terminals. The terminal categories are determined based on the importance of the service terminals, and the software in the service terminal is continuously upgraded through the backup transmission channel according to the upgrade sequence. Since the present invention uses a reliable backup transmission channel for upgrading when an abnormality occurs in the conventional transmission channel, the reliability of the software upgrade is improved, and since the present invention classifies the importance of service terminals and performs transmission and updating with different priorities, business continuity is guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 It is a structural diagram of a software upgrade device in a hardware operating environment involved in an embodiment of the present invention;

[0058] Figure 2 This is a flowchart of a first embodiment of a software upgrade method of the present invention;

[0059] Figure 3 This is a flow chart of a second embodiment of a software upgrade method of the present invention;

[0060] Figure 4 A schematic diagram of a flow chart of a third embodiment of a software upgrade method of the present invention;

[0061] Figure 5 This is a flowchart of a fourth embodiment of a software upgrade method of the present invention;

[0062] Figure 6 It is a structural block diagram of the first embodiment of the software upgrading device of the present invention.

[0063] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0064] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0065] Reference Figure 1 , Figure 1 The figure is a schematic diagram of the structure of a software upgrade device in a hardware operating environment according to an embodiment of the present invention.

[0066] like Figure 1As shown, the software upgrade device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The wired interface of the user interface 1003 may be a USB interface in the present invention. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable memory (Non-volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0067] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the software upgrading device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0068] like Figure 1 As shown, the memory 1005 identified as a computer storage medium may include an operating system, a network communication module, a user interface module, and a software upgrade program.

[0069] exist Figure 1 In the software upgrade device shown, the network interface 1004 is mainly used to connect to the background server and communicate data with the background server; the user interface 1003 is mainly used to connect to the user device; the software upgrade device calls the software upgrade program stored in the memory 1005 through the processor 1001, and executes the software upgrade method provided by the embodiment of the present invention.

[0070] Based on the above hardware structure, an embodiment of the software upgrading method of the present invention is proposed.

[0071] Reference Figure 2 , Figure 2 The figure is a flowchart of the first embodiment of the software upgrading method of the present invention, and provides the first embodiment of the software upgrading method of the present invention.

[0072] In a first embodiment, the software upgrade method comprises the following steps:

[0073] Step S10: When the software upgrade in the service terminal fails through the conventional transmission channel, switch to the backup transmission channel, where the backup transmission channel is pre-built based on the reliable transmission technology.

[0074] It should be understood that the executor of the method of this embodiment can be a software upgrade device with data processing, network communication and program running functions, such as a server, etc., or other electronic devices that can achieve the same or similar functions, and this embodiment is not limited to this.

[0075] It can be understood that in order to increase the upgrade speed of business software, in this embodiment, when an upgrade instruction is received, the software in the business terminal can be upgraded through a conventional transmission channel with a faster transmission speed first. When the software upgrade in the business terminal fails through the conventional transmission channel, it will switch to the backup transmission channel.

[0076] It should be noted that the backup transmission channel can be pre-built based on a reliable transmission technology, wherein the reliable transmission technology can be HTTP and / or cluster technology, which is not limited in this embodiment.

[0077] Step S20: determining an upgrade sequence according to the terminal category of the service terminal, wherein the terminal category is determined based on the importance of the service terminal.

[0078] In a specific implementation, for example, the terminal categories of business terminals include three categories: core, important, and ordinary. The upgrade is carried out in the order of core terminals first, then important terminals, and finally ordinary terminals, thereby ensuring that business terminals with high importance are completed first and business is not interrupted.

[0079] Step S30: Continue to upgrade the software in the service terminal through the backup transmission channel according to the upgrade sequence.

[0080] It can be understood that, since this embodiment classifies the importance of service terminals and performs transmission and update at different priorities, service continuity is guaranteed.

[0081] In the first embodiment, it is disclosed that when the software upgrade in the service terminal fails through the conventional transmission channel, switching to the backup transmission channel is performed. The backup transmission channel is pre-constructed based on the reliable transmission technology, and the upgrade order is determined according to the terminal category of the service terminal. The terminal category is determined based on the importance of the service terminal, and the software in the service terminal is continuously upgraded through the backup transmission channel according to the upgrade order; because this embodiment adopts a reliable backup transmission channel for upgrading when an abnormality occurs in the conventional transmission channel, the reliability of the software upgrade is improved, and because this embodiment classifies the importance of the service terminals and performs transmission and updating with different priorities, the business continuity is guaranteed.

[0082] Reference Figure 3 , Figure 3 This is a flow chart of the second embodiment of the software upgrade method of the present invention, based on the above Figure 2 The first embodiment shown provides a second embodiment of the software upgrading method of the present invention.

[0083] In the second embodiment, before step S10, the method further includes:

[0084] Step S01: upon receiving an upgrade instruction, determining an upgrade sequence according to the terminal category of the service terminal.

[0085] It should be understood that in order to ensure that the service terminals with high importance are completed first and the service is not interrupted, in this embodiment, when the upgrade instruction is received, the upgrade sequence can be determined according to the terminal category of the service terminal.

[0086] It should be noted that the upgrade instruction can be initiated by the service terminal or automatically initiated by the software upgrade device according to the software information of the service terminal. For example, the server automatically initiates the upgrade instruction according to the service software version in the terminal computer. This embodiment does not limit this.

[0087] Furthermore, in order to improve the accuracy of terminal classification, the software upgrade method further includes:

[0088] The business requirements of the business terminal are obtained, and the importance of the business terminal is determined according to the business requirements.

[0089] The service terminals are classified according to the importance levels to obtain terminal categories of the service terminals.

[0090] It is understandable that in order to improve the accuracy of terminal classification, in this embodiment, the service terminals may be classified according to the service requirements of the service terminals.

[0091] In a specific implementation, for example, there are 20 terminal computers in the network, and the computers in the network have different business office needs. The importance of the business terminal is determined according to the business office needs, and the business terminals are divided into three categories: core, important, and ordinary according to the importance. The terminals marked as core are recorded as C1 to C6, the terminals marked as important are recorded as C7 to C10, and the terminals marked as ordinary are recorded as C11 to C20. The upgrade is carried out in the order of core terminals first, important terminals second, and ordinary terminals last.

[0092] Step S02: Upgrading the software in the service terminal through a conventional transmission channel according to the upgrade sequence.

[0093] It should be understood that in order to increase the upgrade speed of the service software, in this embodiment, when an upgrade instruction is received, the software in the service terminal can be upgraded first through a conventional transmission channel with a faster transmission speed according to the upgrade sequence.

[0094] In the second embodiment, it is disclosed that when an upgrade instruction is received, the upgrade order is determined according to the terminal category of the business terminal, and the software in the business terminal is upgraded through a conventional transmission channel according to the upgrade order; because in this embodiment, when an upgrade instruction is received, the upgrade order can be determined according to the terminal category of the business terminal, and then the software in the business terminal is upgraded through a conventional transmission channel with a faster transmission speed according to the upgrade order, thereby ensuring that business terminals with high importance are completed first, thereby improving the upgrade speed of the business software.

[0095] In the second embodiment, the backup transmission channel is pre-built based on HTTP and cluster technology.

[0096] It should be understood that, in order to improve the stability and reliability of the backup transmission channel, in this embodiment, the backup transmission channel can be pre-built based on HTTP and cluster technology.

[0097] In the second embodiment, the conventional transmission channel is pre-constructed based on BT transmission technology.

[0098] It can be understood that in order to improve the transmission efficiency of the conventional transmission channel, in this embodiment, the conventional transmission channel can be pre-constructed based on the BT transmission technology.

[0099] Reference Figure 4 , Figure 4 This is a flow chart of a third embodiment of a software upgrading method of the present invention. Based on the above embodiments, a third embodiment of a software upgrading method of the present invention is proposed.

[0100] In the third embodiment, the step S30 includes:

[0101] Step S301: grouping the service terminals according to their terminal categories to obtain a first service terminal and a second service terminal.

[0102] It should be understood that in actual applications, the conventional transmission channel may have a short-term abnormality that causes the upgrade to fail, and then quickly recover. At this time, if all service terminals are upgraded through the backup transmission channel, the conventional transmission channel may be idle, resulting in low upgrade efficiency. Therefore, in order to improve the efficiency of software upgrade, in this embodiment, the service terminals can be grouped according to their terminal categories, and the grouped service terminals can be upgraded through the conventional transmission channel and the backup transmission channel respectively.

[0103] It can be understood that grouping the service terminals according to their terminal categories to obtain the first service terminal and the second service terminal may be to group the terminal categories with higher importance into the first service terminals and to group the terminal categories with lower importance into the second service terminals.

[0104] In a specific implementation, for example, when the business terminals include three categories: core, important, and common, the core and important terminals are classified as first business terminals, and the common terminals are classified as second business terminals.

[0105] Furthermore, in order to improve the grouping accuracy, the step S301 includes:

[0106] Monitoring the transmission recovery status of the conventional transmission channel;

[0107] The service terminals are grouped according to the transmission recovery status and the terminal categories of the service terminals to obtain a first service terminal and a second service terminal.

[0108] It should be understood that, in order to improve grouping accuracy, in this embodiment, the service terminals may be grouped according to the transmission recovery status of the conventional transmission channel and the terminal categories of the service terminals.

[0109] It can be understood that monitoring the transmission recovery status of the conventional transmission channel may be performed by monitoring the transmission recovery status of the conventional transmission channel through a preset monitoring script.

[0110] Further, in order to improve grouping accuracy, grouping the service terminals according to the transmission recovery situation and the terminal category of the service terminal to obtain the first service terminal and the second service terminal includes:

[0111] Acquire transmission parameters of the standby transmission channel, and predict the transmission speed of the standby transmission channel according to the transmission parameters and the upgrade sequence;

[0112] The service terminals are grouped according to the transmission speed, the transmission recovery status, and the terminal categories of the service terminals to obtain a first service terminal and a second service terminal.

[0113] It should be understood that in order to improve the accuracy of grouping, in this embodiment, the transmission speed of the backup transmission channel can also be predicted based on the transmission parameters and upgrade order of the backup transmission channel, and the service terminals can be grouped according to the transmission speed, transmission recovery status and terminal category of the service terminals to obtain the first service terminal and the second service terminal.

[0114] Step S302: Upgrading the software in the first service terminal through a conventional transmission channel.

[0115] It should be understood that, in order to improve the efficiency of software upgrading, in this embodiment, the software in the first service terminal is upgraded through a conventional transmission channel.

[0116] Step S303: Continue to upgrade the software in the second service terminal through the backup transmission channel according to the upgrade sequence.

[0117] It is understandable that in order to ensure that the service terminals with high importance are completed first and the services are not interrupted, in this embodiment, the software in the second service terminal is continuously upgraded through the backup transmission channel according to the upgrade sequence.

[0118] In the second embodiment, it is disclosed that the service terminals are grouped according to their terminal categories to obtain a first service terminal and a second service terminal, the software in the first service terminal is upgraded through a conventional transmission channel, and the software in the second service terminal is further upgraded through a backup transmission channel according to an upgrade sequence; since this embodiment groups the service terminals according to their terminal categories and upgrades the grouped service terminals respectively through the conventional transmission channel and the backup transmission channel, the software upgrade efficiency can be improved.

[0119] Furthermore, in order to improve the software upgrade efficiency, the step S303 includes:

[0120] Acquire an interrupt transmission identifier corresponding to the second service terminal from the regular transmission channel;

[0121] The software in the second service terminal continues to be upgraded through the standby transmission channel according to the interrupted transmission identifier and the upgrade sequence.

[0122] It should be understood that, in order to improve the efficiency of software upgrade, in this embodiment, when switching to the backup transmission channel, the software upgrade can also be continued based on the interrupted transmission flag in the regular transmission channel.

[0123] It should be noted that the interrupted transmission flag is used to indicate the upgrade information when the service terminal fails to upgrade in the regular transmission channel.

[0124] Reference Figure 5 , Figure 5 This is a flow chart of a fourth embodiment of a software upgrading method of the present invention. Based on the above embodiments, a fourth embodiment of a software upgrading method of the present invention is proposed.

[0125] In the fourth embodiment, after step S30, the method further includes:

[0126] Step S40: Obtain the software upgrade result of the service terminal.

[0127] It should be understood that, in order to facilitate viewing of upgrade information, in this embodiment, an upgrade statistical report may be generated according to the software upgrade results and upgrade sequence of the service terminal.

[0128] It should be noted that the software upgrade result may be the software upgrade result after all service terminals have been upgraded, or may be the software upgrade result after a certain category of service terminals have been upgraded, and this embodiment does not impose any limitation on this.

[0129] Step S50: Generate an upgrade statistics report according to the software upgrade result and the upgrade sequence.

[0130] In a specific implementation, for example, after the core terminal upgrade is completed, the phased software upgrade results are fed back, and the service upgrades of the important and common terminals are continued.

[0131] In the fourth embodiment, it is disclosed to obtain the software upgrade results of the service terminal, and generate an upgrade statistical report based on the software upgrade results and the upgrade sequence; since this embodiment generates an upgrade statistical report based on the software upgrade results and the upgrade sequence of the service terminal, it is convenient to view the upgrade information later.

[0132] Furthermore, in order to optimize the software upgrade, after step S50, the following steps are further included:

[0133] Generate an upgrade optimization strategy according to the upgrade statistical report and the business requirements of the business terminal;

[0134] The conventional transmission channel and the standby transmission channel are optimized according to the upgrade optimization strategy.

[0135] It can be understood that, in order to optimize the software upgrade, in this embodiment, the conventional transmission channel and the standby transmission channel are also optimized according to the upgrade statistical report and the service requirements of the service terminal.

[0136] It should be understood that generating an upgrade optimization strategy based on the upgrade statistical report and the business needs of the business terminal may be generating an upgrade optimization strategy based on the upgrade statistical report and the business needs of the business terminal through a preset optimization model. The preset optimization model may be preset, for example, the preset optimization model may be a neural network model for analyzing optimization problems.

[0137] It can be understood that optimizing the conventional transmission channel and the standby transmission channel according to the upgrade optimization strategy may be optimizing the channel settings of the conventional transmission channel and the standby transmission channel according to the upgrade optimization strategy.

[0138] In addition, an embodiment of the present invention further provides a storage medium, on which a software upgrade program is stored. When the software upgrade program is executed by a processor, the software upgrade method as described above is implemented.

[0139] In addition, refer to Figure 6 , an embodiment of the present invention further provides a software upgrade device, the software upgrade device comprising: a channel switching module 10, a sequence determination module 20 and a software upgrade module 30;

[0140] The channel switching module 10 is used to switch to a backup transmission channel when software upgrade in the service terminal fails through a conventional transmission channel. The backup transmission channel is pre-built based on a reliable transmission technology.

[0141] It can be understood that in order to increase the upgrade speed of business software, in this embodiment, when an upgrade instruction is received, the software in the business terminal can be upgraded through a conventional transmission channel with a faster transmission speed first. When the software upgrade in the business terminal fails through the conventional transmission channel, it will switch to the backup transmission channel.

[0142] It should be noted that the backup transmission channel can be pre-built based on a reliable transmission technology, wherein the reliable transmission technology can be HTTP and / or cluster technology, which is not limited in this embodiment.

[0143] The order determination module 20 is used to determine the upgrade order according to the terminal category of the service terminal, and the terminal category is determined based on the importance of the service terminal.

[0144] In a specific implementation, for example, the terminal categories of business terminals include three categories: core, important, and ordinary. The upgrade is carried out in the order of core terminals first, then important terminals, and finally ordinary terminals, thereby ensuring that business terminals with high importance are completed first and business is not interrupted.

[0145] The software upgrade module 30 is used to continue upgrading the software in the service terminal through the backup transmission channel according to the upgrade sequence.

[0146] It can be understood that, since this embodiment classifies the importance of service terminals and performs transmission and update at different priorities, service continuity is guaranteed.

[0147] In the present embodiment, it is disclosed that when the software upgrade in the service terminal fails through the conventional transmission channel, switching to the backup transmission channel is performed. The backup transmission channel is pre-constructed based on the reliable transmission technology, and the upgrade sequence is determined according to the terminal category of the service terminal. The terminal category is determined based on the importance of the service terminal, and the software in the service terminal is continuously upgraded through the backup transmission channel according to the upgrade sequence; because the present embodiment adopts a reliable backup transmission channel for upgrading when an abnormality occurs in the conventional transmission channel, the reliability of the software upgrade is improved, and because the present embodiment classifies the importance of the service terminals and performs transmission and updating with different priorities, the service continuity is guaranteed.

[0148] Other embodiments or specific implementations of the software upgrading device of the present invention can refer to the above-mentioned method embodiments and will not be described in detail here.

[0149] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0150] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0151] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence or in other words, the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory image (ROM) / random access memory (RAM), a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0152] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

[0153] The present invention discloses A1, a software upgrading method, the software upgrading method comprising the following steps:

[0154] When software upgrade in the service terminal fails through the conventional transmission channel, switching to the backup transmission channel, the backup transmission channel is pre-built based on the reliable transmission technology;

[0155] Determining an upgrade order according to the terminal category of the service terminal, wherein the terminal category is determined based on the importance of the service terminal;

[0156] The software in the service terminal continues to be upgraded through the standby transmission channel according to the upgrade sequence.

[0157] A2. The software upgrade method as described in A1, before the step of switching to the backup transmission channel when the software upgrade in the service terminal fails through the conventional transmission channel, further comprising:

[0158] When receiving an upgrade instruction, determining the upgrade order according to the terminal category of the service terminal;

[0159] The software in the service terminal is upgraded through a conventional transmission channel according to the upgrade sequence.

[0160] A3. The software upgrade method as described in A1, before the step of switching to the backup transmission channel when the software upgrade in the service terminal fails through the conventional transmission channel, further comprising:

[0161] Obtaining business requirements of business terminals, and determining the importance of the business terminals according to the business requirements;

[0162] The service terminals are classified according to the importance levels to obtain terminal categories of the service terminals.

[0163] A4. In the software upgrade method as described in A1, the backup transmission channel is pre-built based on HTTP and cluster technology.

[0164] A5. In the software upgrade method as described in A1, the conventional transmission channel is pre-constructed based on BT transmission technology.

[0165] A6. In the software upgrade method as described in any one of A1 to A5, the step of continuing to upgrade the software in the service terminal through the backup transmission channel according to the upgrade sequence comprises:

[0166] Grouping the service terminals according to terminal categories of the service terminals to obtain a first service terminal and a second service terminal;

[0167] Upgrading the software in the first service terminal through a conventional transmission channel;

[0168] The software in the second service terminal continues to be upgraded through the standby transmission channel according to the upgrade sequence.

[0169] A7. In the software upgrade method described in A6, the step of grouping the service terminals according to the terminal categories of the service terminals to obtain the first service terminal and the second service terminal comprises:

[0170] Monitoring the transmission recovery status of the conventional transmission channel;

[0171] The service terminals are grouped according to the transmission recovery status and the terminal categories of the service terminals to obtain a first service terminal and a second service terminal.

[0172] A8. The software upgrade method as described in A7, wherein the step of grouping the service terminals according to the transmission recovery status and the terminal category of the service terminals to obtain the first service terminal and the second service terminal comprises:

[0173] Acquire transmission parameters of the standby transmission channel, and predict the transmission speed of the standby transmission channel according to the transmission parameters and the upgrade sequence;

[0174] The service terminals are grouped according to the transmission speed, the transmission recovery status, and the terminal categories of the service terminals to obtain a first service terminal and a second service terminal.

[0175] A9. In the software upgrade method described in A6, the step of continuing to upgrade the software in the second service terminal through the backup transmission channel according to the upgrade sequence comprises:

[0176] Acquire an interrupt transmission identifier corresponding to the second service terminal from the regular transmission channel;

[0177] The software in the second service terminal continues to be upgraded through the standby transmission channel according to the interrupted transmission identifier and the upgrade sequence.

[0178] A10. The software upgrade method as described in any one of A1 to A5, after the step of continuing to upgrade the software in the service terminal through the standby transmission channel according to the upgrade sequence, further comprising:

[0179] Obtaining software upgrade results of the service terminal;

[0180] An upgrade statistics report is generated according to the software upgrade result and the upgrade sequence.

[0181] A11. The software upgrade method as described in A10, after the step of generating an upgrade statistical report according to the software upgrade result and the upgrade sequence, further comprising:

[0182] Generate an upgrade optimization strategy according to the upgrade statistical report and the business requirements of the business terminal;

[0183] The conventional transmission channel and the standby transmission channel are optimized according to the upgrade optimization strategy.

[0184] The present invention also discloses B12, a software upgrade device, which includes: a memory, a processor, and a software upgrade program stored in the memory and executable on the processor, wherein the software upgrade program implements the software upgrade method described above when executed by the processor.

[0185] The present invention also discloses C13, a storage medium, on which a software upgrade program is stored, and when the software upgrade program is executed by a processor, the software upgrade method as described above is implemented.

[0186] The present invention also discloses D14, a software upgrade device, the software upgrade device comprising: a channel switching module, a sequence determination module and a software upgrade module;

[0187] The channel switching module is used to switch to a backup transmission channel when the software upgrade in the service terminal fails through the conventional transmission channel, and the backup transmission channel is pre-built based on the reliable transmission technology;

[0188] The order determination module is used to determine the upgrade order according to the terminal category of the service terminal, and the terminal category is determined based on the importance of the service terminal;

[0189] The software upgrade module is used to continue upgrading the software in the service terminal through the backup transmission channel according to the upgrade sequence.

[0190] D15. The software upgrade device as described in D14, further comprising: a conventional upgrade module;

[0191] The conventional upgrade module is used to determine the upgrade order according to the terminal category of the service terminal when receiving the upgrade instruction;

[0192] The conventional upgrade module is further used to upgrade the software in the service terminal through a conventional transmission channel according to the upgrade sequence.

[0193] D16. The software upgrade device as described in D14, further comprising: a terminal classification module;

[0194] The terminal classification module is used to obtain the service requirements of the service terminals and determine the importance of the service terminals according to the service requirements;

[0195] The terminal classification module is further used to classify the service terminals according to the importance levels to obtain terminal categories of the service terminals.

[0196] D17. In the software upgrade device as described in D14, the backup transmission channel is pre-built based on HTTP and cluster technology.

[0197] D18. In the software upgrade device as described in D14, the conventional transmission channel is pre-constructed based on BT transmission technology.

[0198] D19. The software upgrade device as described in any one of D14 to D18, wherein the software upgrade module is further used to group the service terminals according to terminal categories of the service terminals to obtain a first service terminal and a second service terminal;

[0199] The software upgrade module is further used to upgrade the software in the first service terminal through a conventional transmission channel;

[0200] The software upgrade module is further used to continue upgrading the software in the second service terminal through the backup transmission channel according to the upgrade sequence.

[0201] D20. The software upgrade device as described in D19, wherein the software upgrade module is further used to monitor the transmission recovery status of the conventional transmission channel;

[0202] The software upgrade module is further used to group the service terminals according to the transmission recovery status and the terminal categories of the service terminals to obtain a first service terminal and a second service terminal.

Claims

1. A software upgrade method, characterized in that: The software upgrade method comprises the following steps: When software upgrade in the service terminal fails through the conventional transmission channel, switching to the backup transmission channel, the backup transmission channel is pre-built based on the reliable transmission technology; Determining an upgrade order according to the terminal category of the service terminal, wherein the terminal category is determined based on the importance of the service terminal; The software in the service terminal continues to be upgraded through the standby transmission channel according to the upgrade sequence.

2. The software upgrade method according to claim 1, characterized in that: Before the step of switching to the backup transmission channel when the software upgrade in the service terminal fails through the conventional transmission channel, the method further includes: When receiving an upgrade instruction, determining the upgrade order according to the terminal category of the service terminal; The software in the service terminal is upgraded through a conventional transmission channel according to the upgrade sequence.

3. The software upgrade method according to claim 1, characterized in that: Before the step of switching to the backup transmission channel when the software upgrade in the service terminal fails through the conventional transmission channel, the method further includes: Obtaining business requirements of business terminals, and determining the importance of the business terminals according to the business requirements; The service terminals are classified according to the importance levels to obtain terminal categories of the service terminals.

4. The software upgrade method according to claim 1, characterized in that: The backup transmission channel is pre-built based on HTTP and cluster technology.

5. The software upgrade method according to claim 1, characterized in that: The conventional transmission channel is pre-constructed based on BT transmission technology.

6. The software upgrade method according to any one of claims 1 to 5, characterized in that: The step of continuing to upgrade the software in the service terminal through the standby transmission channel according to the upgrade sequence includes: Grouping the service terminals according to terminal categories of the service terminals to obtain a first service terminal and a second service terminal; Upgrading the software in the first service terminal through a conventional transmission channel; The software in the second service terminal continues to be upgraded through the standby transmission channel according to the upgrade sequence.

7. The software upgrade method according to claim 6, characterized in that: The step of grouping the service terminals according to the terminal categories of the service terminals to obtain the first service terminal and the second service terminal includes: Monitoring the transmission recovery status of the conventional transmission channel; The service terminals are grouped according to the transmission recovery status and the terminal categories of the service terminals to obtain a first service terminal and a second service terminal.

8. A software upgrade device, characterized in that: The software upgrade device comprises: a memory, a processor, and a software upgrade program stored in the memory and executable on the processor, wherein the software upgrade program implements the software upgrade method according to any one of claims 1 to 7 when executed by the processor.

9. A storage medium, characterized in that: The storage medium stores a software upgrade program, and when the software upgrade program is executed by the processor, the software upgrade method according to any one of claims 1 to 7 is implemented.

10. A software upgrade device, characterized in that: The software upgrade device comprises: a channel switching module, a sequence determination module and a software upgrade module; The channel switching module is used to switch to a backup transmission channel when the software upgrade in the service terminal fails through the conventional transmission channel, and the backup transmission channel is pre-built based on the reliable transmission technology; The order determination module is used to determine the upgrade order according to the terminal category of the service terminal, and the terminal category is determined based on the importance of the service terminal; The software upgrade module is used to continue upgrading the software in the service terminal through the backup transmission channel according to the upgrade sequence.