Upgrade task control method, device, electronic device and storage medium

By receiving and analyzing upgrade requests and results during the remote upgrade of mobile terminal devices, evaluating the risk level of the upgrade task, and performing current limit processing, the traffic consumption problem caused by upgrade failure or repeated downloads is solved, and a more efficient and stable upgrade process is achieved.

CN114064074BActive Publication Date: 2025-05-13BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111310004.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-05
Publication Date
2025-05-13
Estimated Expiration
2041-11-05

AI Technical Summary

Technical Problem

During the remote device upgrade process of mobile terminal devices, there may be problems such as upgrading failure or repeated downloads due to unpredictable reasons, resulting in unnecessary traffic consumption.

Method used

Provides an upgrade task control method, including receiving upgrade requests from target equipment, determining upgrade tasks, sending upgrade data, receiving and analyzing upgrade results and historical results, classifying upgrade task risk levels, and limiting current according to risk levels to control traffic consumption.

Benefits of technology

Through risk assessment and current limit processing of upgrade tasks, traffic consumption caused by upgrade failure or repeated downloads is reduced, the efficiency and stability of the upgrade process are improved, and the traffic cost of users is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114064074B_ABST
    Figure CN114064074B_ABST
Patent Text Reader

Abstract

The present invention provides an upgrade task management method, device, electronic device and storage medium, which relate to the field of data processing technology, and in particular to the field of cloud computing technology, including: receiving an upgrade request sent by a target device; determining an upgrade task according to the upgrade request; sending corresponding upgrade data to the target device according to the upgrade task, so that the target device is upgraded according to the upgrade data and generates an upgrade result; receiving the upgrade result sent by the target device and obtaining the historical upgrade result of the upgrade task; classifying the upgrade task according to the upgrade result and the historical upgrade result to obtain the risk level of the upgrade task; and limiting the flow of the upgrade task according to the risk level of the upgrade task.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing technology, and in particular to the field of cloud computing technology. Background Art

[0002] During the current remote device upgrade process for mobile terminal devices, the upgrade data may fail to upgrade or be downloaded repeatedly due to some unpredictable reasons, which may cause unnecessary traffic consumption. Summary of the invention

[0003] The present invention provides an upgrade task management method, device, electronic device and storage medium.

[0004] According to one aspect of the present disclosure, there is provided an upgrade task management method, comprising:

[0005] Receive an upgrade request sent by a target device;

[0006] Determine an upgrade task according to the upgrade request;

[0007] Sending corresponding upgrade data to the target device according to the upgrade task, so that the target device is upgraded according to the upgrade data and generates an upgrade result;

[0008] Receiving the upgrade result sent by the target device and obtaining the historical upgrade result of the upgrade task;

[0009] Classifying the upgrade task according to the upgrade result and historical upgrade results to obtain the upgrade task risk level;

[0010] The upgrade task is limited according to the risk level of the upgrade task.

[0011] According to another aspect of the present disclosure, there is provided an upgrade task management and control device, comprising:

[0012] A communication module, used for receiving an upgrade request sent by a target device;

[0013] A processing module, configured to determine an upgrade task according to the upgrade request;

[0014] The communication module is further used to send corresponding upgrade data to the target device according to the upgrade task, so that the target device is upgraded according to the upgrade data and generates an upgrade result;

[0015] The communication module is further used to receive the upgrade result sent by the target device and obtain the historical upgrade result of the upgrade task;

[0016] A classification module, used to classify the upgrade task according to the upgrade result and the historical upgrade result to obtain the upgrade task risk level;

[0017] A flow limiting module is used to limit the flow of the upgrade task according to the risk level of the upgrade task.

[0018] According to another aspect of the present disclosure, there is provided an electronic device, comprising:

[0019] at least one processor; and

[0020] a memory communicatively connected to the at least one processor; wherein,

[0021] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform any of the above methods.

[0022] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute any one of the above methods.

[0023] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, wherein the computer program implements any of the above methods when executed by a processor.

[0024] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0026] Figure 1 It is a flowchart of an upgrade task management method provided according to an embodiment of the present disclosure;

[0027] Figure 2 is a schematic diagram of risk levels of upgrade tasks provided according to an embodiment of the present disclosure;

[0028] Figure 3 It is a specific flow chart of the upgrade task management method provided according to an embodiment of the present disclosure;

[0029] Figure 4 is a structural diagram of an upgrade task control device provided according to an embodiment of the present disclosure;

[0030] Figure 5It is a block diagram of an electronic device used to implement the upgrade task management method of the embodiment of the present disclosure. DETAILED DESCRIPTION

[0031] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0032] In order to determine the risk of the upgrade task and reduce the consumption of server traffic by the risky upgrade task, such as Figure 1 As shown, an embodiment of the present disclosure provides an upgrade task management method, the method comprising:

[0033] Step 101: receiving an upgrade request sent by a target device.

[0034] Step 102: determining an upgrade task according to the upgrade request.

[0035] The upgrade request includes multiple parameters, such as version number, upgrade task identifier, etc. The corresponding upgrade task is determined based on these parameters.

[0036] Step 103: sending corresponding upgrade data to the target device according to the upgrade task, so that the target device is upgraded according to the upgrade data and generates an upgrade result.

[0037] Sending corresponding upgrade data to the target device according to the upgrade task; after receiving the upgrade data, the target device upgrades the target device and generates an upgrade result according to the upgrade situation;

[0038] Alternatively, the upgrade task may be directly sent to the target device. The upgrade task includes the download address of the upgrade data. After receiving the upgrade task, the target device downloads the upgrade data according to the upgrade data download address in the upgrade task, upgrades the target device after downloading, and generates an upgrade result according to the upgrade situation.

[0039] There are three types of upgrade results sent by the target device:

[0040] The first one: The target device fails to download the upgrade data;

[0041] The second type: The target device successfully downloads the upgrade data, but fails to upgrade the target device according to the upgrade data;

[0042] The third type: The target device successfully downloads the upgrade data, and the target device is successfully upgraded according to the upgrade data;

[0043] In addition to information on whether the download and upgrade are successful, the upgrade results also include the reasons for download failure or upgrade failure, parameters of the target device, network conditions and other data.

[0044] Step 104: Receive the upgrade result sent by the target device and obtain the historical upgrade result of the upgrade task.

[0045] Receive the upgrade result sent back by the target device, and obtain the historical upgrade result of the upgrade task, that is, the upgrade result sent back by other devices after upgrading other devices before the upgrade task.

[0046] Step 105: classify the upgrade task according to the upgrade result and the historical upgrade result to obtain the upgrade task risk level.

[0047] Classify the upgrade tasks according to the upgrade results and historical upgrade results. You can use the catboost model, which has a good classification effect on small feature sets, for classification. Before use, you need to train the catboost model with historical data. The historical data includes a large number of historical upgrade results and the corresponding upgrade task risk levels.

[0048] After using the catboost model to classify the upgrade tasks according to the upgrade results and historical upgrade results, the upgrade results, historical upgrade results and the corresponding upgrade task risk levels can be saved, and the cat boost model can be trained and updated periodically to ensure that the catboost model always matches the current business scenario, thereby improving the catboost model's ability to identify the risk levels of upgrade tasks in the current business scenario.

[0049] Step 106: Limit the flow of the upgrade task according to the risk level of the upgrade task.

[0050] By limiting the flow of upgrade tasks according to their risk levels, the flow of upgrade tasks can be limited according to different risk levels to prevent the situation where, when the risk of the upgrade task is high, the device cannot be successfully upgraded and a large amount of flow of the upgrade task is consumed, causing the user to waste a large amount of flow and reducing the flow cost of upgrading the device for the user to whom the upgrade task belongs.

[0051] In step 101, before receiving an upgrade request sent by a target device, in one embodiment, in step 201, upgrade data and corresponding task configuration information sent by a third party are received.

[0052] Receive the upgrade data and corresponding task configuration information sent by a third party. The third party can be any third-party enterprise or individual that needs to upgrade the devices of their users. The task configuration information can limit the target device for the upgrade, such as region and version. If the vehicle system is upgraded, it can also include parameters such as vehicle model.

[0053] Step 202: Create an upgrade task according to the upgrade data and corresponding task configuration information.

[0054] By creating upgrade tasks based on upgrade data and corresponding task configuration information, third parties can upgrade their own users' devices without having to set up servers and perform other tedious operations such as upgrade processes, thus saving a lot of costs.

[0055] In step 106, the upgrade task is limited according to the risk level of the upgrade task. In one embodiment, if the risk level of the upgrade task is level one risk, the upgrade task is limited according to a preset first percentage.

[0056] like Figure 2 As shown, the preset first percentage corresponding to the first-level risk is 0%, and no flow restriction is performed on an upgrade task whose risk level is the first-level risk.

[0057] If the risk level of the upgrade task is level 2 risk, the upgrade task is limited according to a preset second percentage, and the preset second percentage is higher than the preset first percentage.

[0058] like Figure 2 As shown, the preset second percentage corresponding to the second-level risk is 50%. For an upgrade task with a risk level of the second-level risk, the flow is limited by 50%, that is, for subsequent upgrade requests corresponding to the upgrade task, only 50% of the upgrade requests are responded to, so as to reduce the ineffective consumption of traffic;

[0059] For example, if 100 devices send 100 upgrade requests, and the 100 upgrade requests correspond to an upgrade task with a risk level of level 2, only 50 random upgrade requests from the 100 upgrade requests will be responded to.

[0060] If the risk level of the upgrade task is level three risk, the upgrade task is limited according to a preset third percentage, and the preset third percentage is higher than the preset second percentage.

[0061] like Figure 2As shown, the preset third percentage corresponding to the third-level risk is 90%. For an upgrade task with a third-level risk, the flow is limited according to 90%, that is, for subsequent upgrade requests corresponding to the upgrade task, only 10% of the upgrade requests are responded to, so as to reduce the ineffective consumption of traffic;

[0062] For example, if 100 devices send 100 upgrade requests, and the 100 upgrade requests correspond to an upgrade task with a risk level of level 3, only 5 random upgrade requests from the 100 upgrade requests will be responded to.

[0063] Upgrade tasks are divided into three risk levels according to their risks. Traffic is limited according to the risk level. This can effectively control the traffic of upgrade tasks with higher risks, while no traffic restriction is imposed on upgrade tasks with lower risks, thereby improving the efficiency and stability of traffic control for upgrade tasks.

[0064] In step 106, after limiting the flow of the upgrade task according to the risk level of the upgrade task, in one embodiment, in step 301, a flow limiting result corresponding to the upgrade task is generated.

[0065] A corresponding flow limiting result is generated according to the flow limiting of the upgrade task, and the flow limiting result includes data such as the upgrade task identifier, the upgrade task risk level of the upgrade task, the reason why the upgrade task is classified as the upgrade task risk level, and the flow limiting percentage.

[0066] Step 302: Send the current limiting result to the third party.

[0067] Sending the flow limiting result to a third party can enable the third party to receive early warning notifications in time to perform subsequent operations on the flow limiting of the upgrade task, thereby improving the user experience.

[0068] In step 302, after the current limiting result is sent to the third party, in one possible implementation mode, step 401 is to receive a request for releasing the current limiting or pausing the current limiting from the third party.

[0069] Step 402: according to the request to release the current limit or to pause, release the current limit or to pause the upgrade task corresponding to the request to release the current limit or to pause.

[0070] After receiving the flow limiting result, the third party can verify the flow limiting result. If the third party does not agree with the flow limiting result, it can send a flow limiting release request to release the flow limiting of the corresponding upgrade task. Or if the user agrees with the flow limiting result and feels that the corresponding upgrade task consumes a large amount of traffic, but the percentage of successfully upgraded devices is small, a pause request can be sent to pause the corresponding upgrade task to reduce the upgrade task from continuing to consume a large amount of traffic, thereby improving the user experience and the management and control of the upgrade task.

[0071] like Figure 3 As shown, an embodiment of the present disclosure provides a specific method for upgrading task management and control, the method comprising:

[0072] Step 201: receiving upgrade data and corresponding task configuration information sent by a third party.

[0073] Step 202: Create an upgrade task according to the upgrade data and corresponding task configuration information.

[0074] After step 202, step 101 is executed to receive an upgrade request sent by the target device.

[0075] Step 102: determining an upgrade task according to the upgrade request.

[0076] Step 103: sending corresponding upgrade data to the target device according to the upgrade task, so that the target device is upgraded according to the upgrade data and generates an upgrade result.

[0077] Step 104: Receive the upgrade result sent by the target device and obtain the historical upgrade result of the upgrade task.

[0078] Step 105: classify the upgrade task according to the upgrade result and the historical upgrade result to obtain the upgrade task risk level.

[0079] If the risk level of the upgrade task is level one risk, the upgrade task is limited according to a preset first percentage.

[0080] If the risk level of the upgrade task is level 2 risk, the upgrade task is limited according to a preset second percentage.

[0081] If the risk level of the upgrade task is level three risk, the upgrade task is limited according to a preset third percentage.

[0082] After the upgrade task is current limited, step 301 is executed to generate a current limiting result corresponding to the upgrade task.

[0083] Step 302: Send the current limiting result to the third party.

[0084] After step 302, step 401 is executed to receive a request for releasing current limiting or pausing sent by a third party.

[0085] Step 402: according to the request to release the current limit or to pause, release the current limit or to pause the upgrade task corresponding to the request to release the current limit or to pause.

[0086] An embodiment of the present disclosure provides an upgrade task management device, such as Figure 4 As shown, the device comprises:

[0087] The communication module 10 is used to receive an upgrade request sent by a target device;

[0088] A processing module 20, configured to determine an upgrade task according to the upgrade request;

[0089] The communication module 10 is further used to send corresponding upgrade data to the target device according to the upgrade task, so that the target device is upgraded according to the upgrade data and generates an upgrade result;

[0090] The communication module 10 is further used to receive the upgrade result sent by the target device and obtain the historical upgrade result of the upgrade task;

[0091] A classification module 30, configured to classify the upgrade task according to the upgrade result and the historical upgrade result to obtain the upgrade task risk level;

[0092] The flow limiting module 40 is used to limit the flow of the upgrade task according to the risk level of the upgrade task.

[0093] Wherein, the communication module 10 is also used to receive the upgrade data and corresponding task configuration information sent by a third party;

[0094] The processing module 20 is further configured to create an upgrade task according to the upgrade data and corresponding task configuration information.

[0095] The flow limiting module 40 is further configured to limit the flow of the upgrade task according to a preset first percentage if the risk level of the upgrade task is level one risk;

[0096] The current limiting module 40 is further configured to limit the current of the upgrade task according to a preset second percentage if the risk level of the upgrade task is level 2 risk, and the preset second percentage is higher than the preset first percentage;

[0097] The current limiting module 40 is further configured to limit the current of the upgrade task according to a preset third percentage if the risk level of the upgrade task is level three risk, and the preset third percentage is higher than the preset second percentage.

[0098] The processing module 20 is further used to generate a current limiting result corresponding to the upgrade task;

[0099] The communication module 40 is further configured to send the current limiting result to the third party.

[0100] The communication module 40 is also used to receive a request for releasing current limiting or pausing sent by a third party;

[0101] The current limiting module 40 is further configured to release the current limiting or suspend the upgrade task corresponding to the current limiting or suspend request according to the current limiting or suspend request.

[0102] In the technical solution disclosed herein, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0103] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0104] Figure 5 A schematic block diagram of an example electronic device 500 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0105] like Figure 5 As shown, the device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the device 500 can also be stored. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0106] A number of components in the device 500 are connected to the I / O interface 505, including: an input unit 506, such as a keyboard, a mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage unit 508, such as a disk, an optical disk, etc.; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 509 allows the device 500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0107] The computing unit 501 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 501 performs the various methods and processes described above, such as the upgrade task control method. For example, in some embodiments, the upgrade task control method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 500 via ROM 502 and / or communication unit 509. When the computer program is loaded into RAM 503 and executed by the computing unit 501, one or more steps of the upgrade task control method described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to perform the upgrade task control method in any other appropriate manner (e.g., by means of firmware).

[0108] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0109] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0110] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0111] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0112] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0113] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0114] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0115] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. An upgrade task management and control method, comprising: Receive an upgrade request sent by a target device; Determine an upgrade task according to the upgrade request; Sending corresponding upgrade data to the target device according to the upgrade task, so that the target device is upgraded according to the upgrade data and generates an upgrade result; Receiving the upgrade result sent by the target device and obtaining the historical upgrade result of the upgrade task; Classifying the upgrade task according to the upgrade result and historical upgrade results to obtain the upgrade task risk level; The upgrade task is limited according to the risk level of the upgrade task.

2. The method according to claim 1, before receiving the upgrade request sent by the target device, further comprising: Receive upgrade data and corresponding task configuration information sent by a third party; An upgrade task is created according to the upgrade data and corresponding task configuration information.

3. According to the method of claim 1, limiting the flow of the upgrade task according to the risk level of the upgrade task comprises: If the risk level of the upgrade task is level one, the upgrade task is limited according to a preset first percentage; If the risk level of the upgrade task is level 2 risk, the upgrade task is limited according to a preset second percentage, and the preset second percentage is higher than the preset first percentage; If the risk level of the upgrade task is level three risk, the upgrade task is limited according to a preset third percentage, and the preset third percentage is higher than the preset second percentage.

4. The method according to claim 2, after limiting the flow of the upgrade task according to the risk level of the upgrade task, further comprising: Generate a current limiting result corresponding to the upgrade task; The current limiting result is sent to the third party.

5. The method according to claim 4, after sending the current limiting result to the third party, further comprising: Receive requests from third parties to lift or pause traffic restrictions; According to the request for releasing current limiting or pausing, the upgrade task corresponding to the request for releasing current limiting or pausing is released from current limiting or suspended.

6. An upgrade task control device, comprising: A communication module, used for receiving an upgrade request sent by a target device; A processing module, configured to determine an upgrade task according to the upgrade request; The communication module is further used to send corresponding upgrade data to the target device according to the upgrade task, so that the target device is upgraded according to the upgrade data and generates an upgrade result; The communication module is further used to receive the upgrade result sent by the target device and obtain the historical upgrade result of the upgrade task; A classification module, used to classify the upgrade task according to the upgrade result and the historical upgrade result to obtain the upgrade task risk level; A flow limiting module is used to limit the flow of the upgrade task according to the risk level of the upgrade task.

7. The device according to claim 6, comprising: The communication module is also used to receive the upgrade data and corresponding task configuration information sent by a third party; The processing module is further used to create an upgrade task according to the upgrade data and corresponding task configuration information.

8. The device according to claim 6, comprising: The flow limiting module is further configured to limit the flow of the upgrade task according to a preset first percentage if the risk level of the upgrade task is level one risk; The current limiting module is further configured to limit the current of the upgrade task according to a preset second percentage if the risk level of the upgrade task is a level 2 risk, and the preset second percentage is higher than the preset first percentage; The current limiting module is also used to limit the current of the upgrade task according to a preset third percentage if the risk level of the upgrade task is level three risk, and the preset third percentage is higher than the preset second percentage.

9. The device according to claim 7, comprising: The processing module is further used to generate a current limiting result corresponding to the upgrade task; The communication module is further used to send the current limiting result to the third party.

10. The device according to claim 9, comprising: The communication module is also used to receive a request for releasing current limiting or pausing sent by a third party; The current limiting module is further used to release the current limiting or suspend the upgrade task corresponding to the current limiting or suspend request according to the current limiting or suspend request.

11. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 5.

12. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-5.

13. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method, device and equipment for upgrading object and storage medium

    CN111782254A

  • System and Method for Optimal Hierarchical Upgrade Time Prediction

    US20210048996A1