Software version updating method, electronic equipment, storage medium and computer program product
By detecting network device performance data and obtaining threat information on the cloud detection server, automatically judge the update conditions and pushing update packages, the problem of cumbersome and error-prone update of network device firewall version is solved, and the software version is timely updated and security improvement is achieved.
Patent Information
- Application Number
- CN202411916578.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-03-25
AI Technical Summary
In the prior art, the update of the firewall version of network equipment needs to be manually uploaded through official channels. The process is cumbersome and error-prone, resulting in untimely or error-based software version updates, increasing the security risks of the network system.
By implementing a software version update method on the cloud detection server, detect the performance data of the target network device and obtain network threat information, automatically determine whether the software version update conditions are triggered, all software version data are obtained, query the target software version, generate software update push information, and download and install the update package after the user confirms.
It realizes timely update of network equipment software versions, avoids security problems caused by untimely updates or errors, and simplifies software update operations.
Smart Images

Figure CN119690482A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of software updating, and in particular, to a software version updating method, electronic device, storage medium and computer program product. Background Art
[0002] Currently, for network devices, the firewall version can only be obtained through the official product release channel, and then manually uploaded to the firewall device. This method is not only cumbersome and inefficient, but also prone to human error, resulting in incorrect or untimely version installation, which exposes the network system to potential security risks. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a software version update method, electronic device, storage medium and computer program product, which are used to automatically detect the software update version based on the performance data of the network device or the network threat information, so as to update the software version of the network device in time, and avoid the security problems caused by the untimely update or installation error of the software version of the network device. At the same time, the present application is also used to simplify the software update operation.
[0004] In a first aspect, the present invention provides a software version update method, which is applied to a cloud detection server, and the method comprises:
[0005] Detect performance data of target network devices and obtain network threat information;
[0006] Determining whether the target network device triggers a software version update condition based on the performance data of the target network device or the network threat information;
[0007] When the target network device triggers the software version update condition, acquiring data of all software versions, wherein the data of all software versions is pre-stored in a version storage server;
[0008] Querying the data of the target software version from the data of all software versions;
[0009] Software update push information is generated based on the data of the target software version, and the software update push information is sent to the target network device, so that the target network device requests the version storage server to download the installation package of the target software version based on the user's operation instructions for the software update push information, and completes the software update based on the installation package.
[0010] The method of the first aspect of the present application detects performance data of a target network device and obtains network threat information, and then can determine whether the target network device triggers a software version update condition based on the performance data of the target network device or the network threat information, and then when the target network device triggers the software version update condition, can obtain data of all software versions, wherein the data of all software versions are pre-stored in a version storage server, and then the data of the target software version can be queried based on the data of all software versions, so that software update push information can be generated based on the data of the target software version, and the software update push information can be sent to the target network device, so that the target network device requests the version storage server to download an installation package of the target software version based on the user's operation instruction for the software update push information, and completes the software update based on the installation package.
[0011] Compared with the prior art, the embodiment of the present application can automatically detect the software update version based on the performance data of the network device or the network threat information, thereby updating the software version of the network device in a timely manner, avoiding security issues caused by untimely software version updates or installation errors of the network device. At the same time, the present application can simplify the software update operation by automatically obtaining the software update package and installing the installation package.
[0012] In an optional implementation manner, judging whether the target network device triggers a software version update condition based on the performance data of the target network device includes:
[0013] Determine a value of a performance indicator of the target network device based on the performance data of the target network device;
[0014] It is determined whether the value of the performance indicator of the target network device is within a reference value range. If the value of the performance indicator of the target network device exceeds the reference value range, it is determined that the target network device triggers the software version update condition.
[0015] This optional implementation can determine the value of the performance indicator of the target network device based on the performance data of the target network device, and further can determine whether the value of the performance indicator of the target network device is within a reference numerical range, wherein if the value of the performance indicator of the target network device exceeds the reference numerical range, it is determined that the target network device triggers the software version update condition.
[0016] In an optional implementation manner, determining whether the target network device triggers a software version update condition based on the network threat information includes:
[0017] The security threat assessment information of the target network device is determined based on the network threat information. If the security threat assessment information indicates that the current software version of the target network device cannot resist the network threat, the target network device is determined to trigger the software version update condition.
[0018] This optional implementation can determine the security threat assessment information of the target network device based on the network threat information. If the security threat assessment information indicates that the current software version of the target network device cannot resist the network threat, it is determined that the target network device triggers the software version update condition.
[0019] In an optional implementation manner, determining the security threat assessment information of the target network device based on the network threat information includes:
[0020] Performing a simulated attack on the current software version of the target network device based on the network threat information to obtain simulated attack information;
[0021] Based on the simulated attack information, it is determined whether the current software version of the target network device has a protection strategy against network threats. If the current software version of the target network device does not have the protection strategy against network threats, it is determined that the current software version of the target network device cannot resist network threats.
[0022] This optional implementation manner can simulate an attack on the current software version of the target network device based on the network threat information to obtain simulated attack information, and then can determine whether the current software version of the target network device has a protection strategy against network threats based on the simulated attack information, wherein, if the current software version of the target network device does not have the protection strategy against network threats, it is determined that the current software version of the target network device cannot resist network threats.
[0023] In an optional implementation, querying the data of the target software version based on the data of all software versions includes:
[0024] Based on the data of all the software versions, it is determined whether there is a software version for overcoming network threats among all the software versions; if there is the software version for overcoming network threats, the software version for overcoming network threats is determined as the target software version, and the data of the target software version is determined.
[0025] This optional implementation can determine whether there is a software version for overcoming network threats among all the software versions based on the data of all the software versions, wherein, if the software version for overcoming network threats exists, the software version for overcoming network threats is determined as the target software version, and the data of the target software version is determined.
[0026] In an optional implementation, querying the data of the target software version based on the data of all software versions includes:
[0027] Based on the data of all the software versions, it is determined whether there is a software version for optimizing device performance among all the software versions; if there is the software version for optimizing device performance, the software version for optimizing device performance is determined as the target software version, and the data of the target software version is determined.
[0028] This optional implementation can determine whether there is a software version for optimizing device performance among all the software versions based on the data of all the software versions, wherein, if the software version for optimizing device performance exists, the software version for optimizing device performance is determined as the target software version, and the data of the target software version is determined.
[0029] In an optional embodiment, the method further comprises:
[0030] Execute a scheduled task based on a target detection frequency, the scheduled task being used to synchronize the data of all software versions pre-stored by the version storage server, wherein when data of a major software version is generated, the target detection frequency is once a day, and when data of a software patch version is generated, the target detection frequency is once a week;
[0031] When the scheduled task is completed, the data of the target software version is queried based on the data of all software versions, and software update push information is generated based on the data of the target software version, and the software update push information is sent to the target network device, so that the target network device requests the version storage server to download the installation package of the target software version based on the user's operation instructions for the software update push information, and completes the software update based on the installation package.
[0032] This optional implementation can execute a scheduled task of synchronizing the data of all software versions pre-stored by the version storage server based on the target detection frequency.
[0033] In a second aspect, the present invention provides a software version update device, which is applied to a cloud detection server, and the device includes:
[0034] Detection module, used to detect the performance data of target network devices and obtain network threat information;
[0035] A judgment module, used for judging whether the target network device triggers a software version update condition based on the performance data of the target network device or the network threat information;
[0036] An acquisition module, used for acquiring data of all software versions when the target network device triggers the software version update condition, wherein the data of all software versions is pre-stored in a version storage server;
[0037] A query module, used to query the data of the target software version based on the data of all software versions;
[0038] The push module is used to generate software update push information based on the data of the target software version, and send the software update push information to the target network device, so that the target network device requests the version storage server to download the installation package of the target software version based on the user's operation instructions for the software update push information, and completes the software update based on the installation package.
[0039] The device of the second aspect of the present application detects the performance data of the target network device and obtains network threat information, and then can determine whether the target network device triggers the software version update condition based on the performance data of the target network device or the network threat information, and then when the target network device triggers the software version update condition, it can obtain data of all software versions, wherein the data of all software versions are pre-stored in a version storage server, and then the data of the target software version can be queried based on the data of all software versions, so that software update push information can be generated based on the data of the target software version, and the software update push information can be sent to the target network device, so that the target network device requests the version storage server to download the installation package of the target software version based on the user's operation instruction for the software update push information, and completes the software update based on the installation package.
[0040] Compared with the prior art, the embodiments of the present application can automatically detect the software update version based on the performance data of the network device or the network threat information, thereby updating the software version of the network device in a timely manner, avoiding security issues caused by untimely software version updates or installation errors of the network device. At the same time, the present application can simplify the software update operation by automatically obtaining the software update package and installing the installation package. In a third aspect, the present invention provides an electronic device, comprising:
[0041] Processor; and
[0042] A memory configured to store machine-readable instructions, which, when executed by the processor, perform the method described in any of the aforementioned embodiments.
[0043] The electronic device of the third aspect of the present application can detect the performance data of the target network device and obtain network threat information by executing the software version update method, and then can judge whether the target network device triggers the software version update condition based on the performance data of the target network device or the network threat information, and then can obtain data of all software versions when the target network device triggers the software version update condition, wherein the data of all software versions are pre-stored in a version storage server, and then the data of the target software version can be queried based on the data of all software versions, so that software update push information can be generated based on the data of the target software version, and the software update push information can be sent to the target network device, so that the target network device requests the version storage server to download the installation package of the target software version based on the user's operation instruction for the software update push information, and completes the software update based on the installation package.
[0044] Compared with the prior art, the embodiment of the present application can automatically detect the software update version based on the performance data of the network device or the network threat information, thereby updating the software version of the network device in a timely manner, avoiding security issues caused by untimely software version updates or installation errors of the network device. At the same time, the present application can simplify the software update operation by automatically obtaining the software update package and installing the installation package.
[0045] In a fourth aspect, the present invention provides a storage medium storing a computer program, wherein the computer program is executed by a processor as described in any one of the aforementioned embodiments.
[0046] The storage medium of the fourth aspect of the present application can detect the performance data of the target network device and obtain network threat information by executing the software version update method, and then can judge whether the target network device triggers the software version update condition based on the performance data of the target network device or the network threat information, and then can obtain data of all software versions when the target network device triggers the software version update condition, wherein the data of all software versions are pre-stored in a version storage server, and then the data of the target software version can be queried based on the data of all software versions, so that software update push information can be generated based on the data of the target software version, and the software update push information can be sent to the target network device, so that the target network device requests the version storage server to download the installation package of the target software version based on the user's operation instruction for the software update push information, and completes the software update based on the installation package.
[0047] Compared with the prior art, the embodiment of the present application can automatically detect the software update version based on the performance data of the network device or the network threat information, thereby updating the software version of the network device in a timely manner, avoiding security issues caused by untimely software version updates or installation errors of the network device. At the same time, the present application can simplify the software update operation by automatically obtaining the software update package and installing the installation package.
[0048] In a fifth aspect, the present invention provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the method described in any one of the claims in the aforementioned implementation methods.
[0049] The computer program product of the fifth aspect of the present application can detect the performance data of the target network device and obtain network threat information by executing the software version update method, and then can judge whether the target network device triggers the software version update condition based on the performance data of the target network device or the network threat information, and then when the target network device triggers the software version update condition, it can obtain data of all software versions, wherein the data of all software versions are pre-stored in a version storage server, and then the data of the target software version can be queried based on the data of all software versions, so that software update push information can be generated based on the data of the target software version, and the software update push information can be sent to the target network device, so that the target network device requests the version storage server to download the installation package of the target software version based on the user's operation instruction for the software update push information, and completes the software update based on the installation package.
[0050] Compared with the prior art, the embodiment of the present application can automatically detect the software update version based on the performance data of the network device or the network threat information, thereby updating the software version of the network device in a timely manner, avoiding security issues caused by untimely software version updates or installation errors of the network device. At the same time, the present application can simplify the software update operation by automatically obtaining the software update package and installing the installation package. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0052] Figure 1 It is a flowchart of a software version update method disclosed in an embodiment of the present application;
[0053] Figure 2 It is a structural diagram of a software version updating device disclosed in an embodiment of the present application;
[0054] Figure 3 It is a structural schematic diagram of an electronic device disclosed in an embodiment of the present application. DETAILED DESCRIPTION
[0055] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0056] Embodiment 1
[0057] See also Figure 1 , Figure 1 is a flowchart of a software version update method disclosed in an embodiment of the present application, wherein the method is applied to a cloud detection server, such as Figure 1 As shown, the method of the embodiment of the present application includes the following steps:
[0058] 101. Detect performance data of target network devices and obtain network threats;
[0059] 102. Determine whether the target network device triggers a software version update condition based on the performance data or network threat information of the target network device;
[0060] 103. When the target network device triggers a software version update condition, data of all software versions is obtained, wherein the data of all software versions is pre-stored in a version storage server;
[0061] 104. Query the data of the target software version from the data of all software versions;
[0062] 105. Generate software update push information based on the data of the target software version, and send the software update push information to the target network device, so that the target network device requests the version storage server to download the installation package of the target software version based on the user's operation instruction for the software update push information, and completes the software update based on the installation package.
[0063] The method of the embodiment of the present application detects the performance data of the target network device and obtains network threat information, and then can determine whether the target network device triggers the software version update condition based on the performance data or network threat information of the target network device, and then when the target network device triggers the software version update condition, it can obtain data of all software versions, wherein the data of all software versions are pre-stored in the version storage server, and then it can query the data of the target software version based on the data of all software versions, so that it can generate software update push information based on the data of the target software version, and send the software update push information to the target network device, so that the target network device requests the version storage server to download the installation package of the target software version based on the user's operation instruction for the software update push information, and completes the software update based on the installation package.
[0064] Compared with the prior art, the embodiment of the present application can automatically detect the software update version based on the performance data of the network device or the network threat information, thereby updating the software version of the network device in a timely manner, avoiding security issues caused by untimely software version updates or installation errors of the network device. At the same time, the present application can simplify the software update operation by automatically obtaining the software update package and installing the installation package.
[0065] In an embodiment of the present application, the target network device may refer to a network device on which firewall software is installed, wherein the firewall software in the network device is software that requires version detection.
[0066] In the embodiments of the present application, the performance data of the target network device reflects the operating capability of the target network device. In some scenarios, if the version of the firewall of the target network device is too low and cannot resist new network attacks, the new network attacks can bypass the firewall to attack the target network device. The firewall may become stuck after receiving the attack. Accordingly, the memory usage and CPU processing speed of the target network device can be used to preliminarily determine whether the target network device is under attack.
[0067] In the embodiment of the present application, the network threat information can directly reflect that the firewall version of the target device is not updated in time and is vulnerable to network attacks. Further, the network threat information can be attack feature information.
[0068] In an embodiment of the present application, the data of all software versions refers to all version numbers of the firewall software, the description content of each version, and the installation package of each version, wherein the description content of the version may include the release timestamp, function information, version level, etc. of the version, wherein the function information may indicate what kind of attack the version can resist.
[0069] In an embodiment of the present application, the data of the target software version may include the version number and the release timestamp, function information and other information of the target version. In addition, the data of the target software version may also include the installation package download link of the target software version.
[0070] In an embodiment of the present application, when the target network device receives software update push information, an operation option pop-up box can be generated, wherein the operation options may include a confirm installation option and a cancel installation option. The user can click the installation option to enable the target network device to download the installation package of the target software version according to the installation package download connection of the target software version after detecting the user's operation instruction, and install the installation package.
[0071] In an embodiment of the present application, as an optional implementation, the step of determining whether the target network device triggers a software version update condition based on the performance data of the target network device includes the following steps:
[0072] Determine a value of a performance indicator of the target network device based on the performance data of the target network device;
[0073] It is determined whether the value of the performance indicator of the target network device is within a reference value range. If the value of the performance indicator of the target network device exceeds the reference value range, it is determined that the target network device triggers a software version update condition.
[0074] This optional implementation can determine the value of the performance indicator of the target network device based on the performance data of the target network device, and then determine whether the value of the performance indicator of the target network device is within a reference numerical range. If the value of the performance indicator of the target network device exceeds the reference numerical range, it is determined that the target network device triggers the software version update condition.
[0075] In the above optional implementation manner, the performance indicator of the target network device may refer to the CPU usage rate and memory occupancy rate of the target network device, and the value of the performance indicator of the target network device may refer to the numerical value of the CPU usage rate and the numerical value of the memory occupancy rate.
[0076] In the above optional implementation manner, the reference value range corresponding to the value of the performance indicator of the target network device may be preset. For example, for the value of the CPU usage rate, the corresponding reference value range may be 90%-100%.
[0077] In an embodiment of the present application, as an optional implementation, step: judging whether the target network device triggers a software version update condition based on network threat information includes the following steps:
[0078] The security threat assessment information of the target network device is determined based on the network threat information. If the security threat assessment information indicates that the current software version of the target network device cannot resist the network threat, the target network device is determined to trigger a software version update condition.
[0079] This optional implementation can determine the security threat assessment information of the target network device based on the network threat information. If the security risk assessment information indicates that the current software version of the target network device cannot resist the network threat, the target network device is determined to trigger a software version update condition. In the embodiment of the present application, as an optional implementation, the step of determining the security threat assessment information of the target network device based on the network threat information includes the following sub-steps:
[0080] Based on the network threat information, a simulated attack is performed on the current software version of the target network device to obtain simulated attack information;
[0081] Based on the simulated attack information, it is determined whether the current software version of the target network device has a protection strategy for network threats. If the current software version of the target network device does not have a protection strategy for network threats, it is determined that the current software version of the target network device cannot resist network threats.
[0082] This optional implementation can simulate an attack on the current software version of the target network device based on the network threat information to obtain simulated attack information, and then can determine whether the current software version of the target network device has a protection strategy against the network threat based on the simulated attack information. If the current software version of the target network device does not have a protection strategy against the network threat, it is determined that the current software version of the target network device cannot resist the network threat.
[0083] In the above optional implementation, if the simulated attack information indicates that the simulated attack has successfully invaded the target network device, it means that the target network device has no corresponding protection strategy for the simulated attack, that is, the target network device does not have a protection strategy for network threats.
[0084] In the embodiment of the present application, as an optional implementation, step: querying the data of the target software version based on the data of all software versions includes the following steps:
[0085] Based on the data of all software versions, it is determined whether there is a software version for overcoming network threats among all software versions. If there is a software version for overcoming network threats, the software version for overcoming network threats is determined as the target software version, and the data of the target software version is determined.
[0086] This optional implementation can determine whether there is a software version for overcoming network threats among all software versions based on the data of all software versions, wherein, if there is a software version for overcoming network threats, the software version for overcoming network threats is determined as the target software version, and the data of the target software version is determined.
[0087] For the above optional implementation, whether the software version can be used to overcome network threats can be determined based on the functional description of the software version. Therefore, whether there is a software version for overcoming network threats among all software versions can be determined based on the functional descriptions of all software versions.
[0088] In an embodiment of the present application, as an optional implementation, step: querying the data of the target software version based on the data of all software versions includes the following steps:
[0089] Based on the data of all software versions, it is determined whether there is a software version for optimizing device performance among all software versions. If there is a software version for optimizing device performance, the software version for optimizing device performance is determined as the target software version, and the data of the target software version is determined.
[0090] This optional implementation can determine whether there is a software version for optimizing device performance among all software versions based on the data of all software versions, wherein, if there is a software version for optimizing device performance, the software version for optimizing device performance is determined as the target software version, and the data of the target software version is determined.
[0091] With respect to the above optional implementation manner, whether the software version can be used to optimize the device performance of the target network device can be determined based on the functional description of the software version.
[0092] In the embodiment of the present application, as an optional implementation, the method of the embodiment of the present application further includes the following steps:
[0093] Execute scheduled tasks based on the target detection frequency. Scheduled tasks are used to synchronize the data of all software versions pre-stored on the version storage server. When data of major software versions is generated, the target detection frequency is once a day. When data of software patch versions is generated, the target detection frequency is once a week.
[0094] When the scheduled task is completed, the data of the target software version is queried from the data of all software versions, and software update push information is generated based on the data of the target software version, and the software update push information is sent to the target network device, so that the target network device requests the version storage server to download the installation package of the target software version based on the user's operation instructions for the software update push information, and completes the software update based on the installation package.
[0095] This optional implementation can execute a scheduled task of synchronizing data of all software versions pre-stored by the version storage server based on the target detection frequency.
[0096] In the above optional implementation, the major software version may refer to a software version with core function upgrades, and the patch software version may refer to a software version for patching minor vulnerabilities.
[0097] In the embodiment of the present application, as an example, all published versions and version information can be placed in a version storage server.
[0098] Furthermore, the data synchronization function between the cloud detection server and the version storage server is enabled, and the scheduled detection function of the cloud detection server is enabled.
[0099] Furthermore, log in to a firewall device and connect to the cloud detection server and the version storage server through identity authentication.
[0100] Furthermore, wait to see if the firewall device has the latest version push message, choose whether to download the update, and check whether the cloud detection server has generated logs.
[0101] Furthermore, simulate malicious traffic to attack the firewall device, check whether the firewall device has the latest version of the push message, and check whether the cloud detection server has generated logs.
[0102] Embodiment 2
[0103] See also Figure 2 , Figure 2 is a schematic diagram of the structure of a software version update device disclosed in an embodiment of the present application, wherein the device is applied to a cloud detection server. Figure 2 As shown, the device of the embodiment of the present application includes the following functional modules:
[0104] Detection module 201, used to detect performance data of target network devices and obtain network threat information;
[0105] A determination module 202, configured to determine whether a target network device triggers a software version update condition based on performance data or network threat information of the target network device;
[0106] The acquisition module 203 is used to acquire data of all software versions when the target network device triggers a software version update condition, wherein the data of all software versions is pre-stored in a version storage server;
[0107] A query module 204, configured to query data of a target software version based on data of all software versions;
[0108] The push module 205 is used to generate software update push information based on the data of the target software version, and send the software update push information to the target network device, so that the target network device requests the version storage server to download the installation package of the target software version based on the user's operation instructions for the software update push information, and completes the software update based on the installation package.
[0109] The apparatus of the embodiment of the present application detects the performance data of the target network device and obtains network threat information, and can determine whether the target network device triggers the software version update condition based on the performance data or network threat information of the target network device, and can obtain data of all software versions when the target network device triggers the software version update condition, wherein the data of all software versions are pre-stored in the version storage server, and can query the data of the target software version based on the data of all software versions, so that software update push information can be generated based on the data of the target software version, and the software update push information can be sent to the target network device, so that the target network device requests the version storage server to download the installation package of the target software version based on the user's operation instruction for the software update push information, and completes the software update based on the installation package.
[0110] Compared with the prior art, the embodiment of the present application can automatically detect the software update version based on the performance data of the network device or the network threat information, thereby updating the software version of the network device in a timely manner, avoiding security issues caused by untimely software version updates or installation errors of the network device. At the same time, the present application can simplify the software update operation by automatically obtaining the software update package and installing the installation package.
[0111] Embodiment 3
[0112] See also Figure 3 , Figure 3 is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present application, such as Figure 3 As shown, the electronic device of the embodiment of the present application includes:
[0113] Processor 301; and
[0114] The memory 302 is configured to store machine-readable instructions, which, when executed by the processor 301, perform the method of any one of the aforementioned implementations.
[0115] The electronic device of the embodiment of the present application can detect the performance data of the target network device and obtain network threat information by executing the software version update method, and then can judge whether the target network device triggers the software version update condition based on the performance data or network threat information of the target network device, and then can obtain the data of all software versions when the target network device triggers the software version update condition, wherein the data of all software versions are pre-stored in the version storage server, and then can query the data of the target software version based on the data of all software versions, so that the software update push information can be generated based on the data of the target software version, and the software update push information can be sent to the target network device, so that the target network device requests the version storage server to download the installation package of the target software version based on the user's operation instruction for the software update push information, and completes the software update based on the installation package.
[0116] Compared with the prior art, the embodiment of the present application can automatically detect the software update version based on the performance data of the network device or the network threat information, thereby updating the software version of the network device in a timely manner, avoiding security issues caused by untimely software version updates or installation errors of the network device. At the same time, the present application can simplify the software update operation by automatically obtaining the software update package and installing the installation package.
[0117] Embodiment 4
[0118] An embodiment of the present application provides a storage medium, wherein the storage medium stores a computer program, and the computer program is executed by a processor as in any of the methods described in the foregoing implementations.
[0119] The storage medium of the embodiment of the present application can detect the performance data of the target network device and obtain network threat information by executing the software version update method, and then can determine whether the target network device triggers the software version update condition based on the performance data or network threat information of the target network device, and then when the target network device triggers the software version update condition, it can obtain data of all software versions, wherein the data of all software versions are pre-stored in the version storage server, and then it can query the data of the target software version based on the data of all software versions, so that it can generate software update push information based on the data of the target software version, and send the software update push information to the target network device, so that the target network device requests the version storage server to download the installation package of the target software version based on the user's operation instruction for the software update push information, and completes the software update based on the installation package.
[0120] Compared with the prior art, the embodiment of the present application can automatically detect the software update version based on the performance data of the network device or the network threat information, thereby updating the software version of the network device in a timely manner, avoiding security issues caused by untimely software version updates or installation errors of the network device. At the same time, the present application can simplify the software update operation by automatically obtaining the software update package and installing the installation package.
[0121] Embodiment 5
[0122] An embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed by a processor, any method claimed in any of the above-mentioned embodiments is implemented.
[0123] The computer program product of the embodiment of the present application can detect the performance data of the target network device and obtain network threat information by executing the software version update method, and then can determine whether the target network device triggers the software version update condition based on the performance data or network threat information of the target network device, and then when the target network device triggers the software version update condition, it can obtain data of all software versions, wherein the data of all software versions are pre-stored in a version storage server, and then it can query the data of the target software version based on the data of all software versions, so that it can generate software update push information based on the data of the target software version, and send the software update push information to the target network device, so that the target network device requests the version storage server to download the installation package of the target software version based on the user's operation instruction for the software update push information, and completes the software update based on the installation package.
[0124] Compared with the prior art, the embodiment of the present application can automatically detect the software update version based on the performance data of the network device or the network threat information, thereby updating the software version of the network device in a timely manner, avoiding security issues caused by untimely software version updates or installation errors of the network device. At the same time, the present application can simplify the software update operation by automatically obtaining the software update package and installing the installation package.
[0125] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0126] In addition, the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0127] Furthermore, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0128] It should be noted that if the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.
[0129] In this document, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any such actual relationship or order between these entities or operations.
[0130] The above are only embodiments of the present application and are not intended to limit the scope of protection of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the scope of protection of the present application.
Claims
1. A software version updating method, characterized in that: The method is applied to a cloud detection server, and the method comprises: Detect performance data of target network devices and obtain network threat information; Determining whether the target network device triggers a software version update condition based on the performance data of the target network device or the network threat information; When the target network device triggers the software version update condition, acquiring data of all software versions, wherein the data of all software versions is pre-stored in a version storage server; Querying the data of the target software version from the data of all software versions; Software update push information is generated based on the data of the target software version, and the software update push information is sent to the target network device, so that the target network device requests the version storage server to download the installation package of the target software version based on the user's operation instructions for the software update push information, and completes the software update based on the installation package.
2. The method according to claim 1, characterized in that Determining whether the target network device triggers a software version update condition based on the performance data of the target network device includes: Determine a value of a performance indicator of the target network device based on the performance data of the target network device; It is determined whether the value of the performance indicator of the target network device is within a reference value range. If the value of the performance indicator of the target network device exceeds the reference value range, it is determined that the target network device triggers the software version update condition.
3. The method according to claim 1, characterized in that Determining whether the target network device triggers a software version update condition based on the network threat information includes: The security threat assessment information of the target network device is determined based on the network threat information. If the security threat assessment information indicates that the current software version of the target network device cannot resist the network threat, the target network device is determined to trigger the software version update condition.
4. The method according to claim 3, characterized in that Determining security threat assessment information of the target network device based on the network threat information includes: Performing a simulated attack on the current software version of the target network device based on the network threat information to obtain simulated attack information; Based on the simulated attack information, it is determined whether the current software version of the target network device has a protection strategy against network threats. If the current software version of the target network device does not have the protection strategy against network threats, it is determined that the current software version of the target network device cannot resist network threats.
5. The method according to claim 1, characterized in that Querying the data of the target software version from the data of all software versions includes: Based on the data of all the software versions, it is determined whether there is a software version for overcoming network threats among all the software versions; if there is the software version for overcoming network threats, the software version for overcoming network threats is determined as the target software version, and the data of the target software version is determined.
6. The method according to claim 1, characterized in that Querying the data of the target software version from the data of all software versions includes: Based on the data of all the software versions, it is determined whether there is a software version for optimizing device performance among all the software versions; if there is the software version for optimizing device performance, the software version for optimizing device performance is determined as the target software version, and the data of the target software version is determined.
7. The method according to claim 1, characterized in that The method further comprises: Execute a scheduled task based on a target detection frequency, the scheduled task being used to synchronize the data of all software versions pre-stored by the version storage server, wherein when data of a major software version is generated, the target detection frequency is once a day, and when data of a software patch version is generated, the target detection frequency is once a week; When the scheduled task is completed, the data of the target software version is queried based on the data of all software versions, and software update push information is generated based on the data of the target software version, and the software update push information is sent to the target network device, so that the target network device requests the version storage server to download the installation package of the target software version based on the user's operation instructions for the software update push information, and completes the software update based on the installation package.
8. An electronic device, characterized in that: include: processor; as well as A memory configured to store machine-readable instructions, which, when executed by the processor, perform the method according to any one of claims 1 to 7.
9. A storage medium, characterized in that: The storage medium stores a computer program, and the computer program is executed by a processor to perform the method according to any one of claims 1 to 7.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.