Intelligent self-adaptive upgrading method and device for client software of all-in-one machine

By obtaining the usage status of the all-in-one machine and system performance, determining the software upgrade conditions and sending upgrade requests, the problem of insufficient flexibility and accuracy of software updates in the existing technology is solved, and the user experience is improved.

CN119088419APending Publication Date: 2024-12-06JIANGSU CHUANGYUAN ELECTRON CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411176835.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-26
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

Existing software updates reduce flexibility and accuracy, and updating without users needing updates will reduce user experience.

Method used

By obtaining the usage of the all-in-one machine and system performance, we determine whether the pre-set upgrade conditions are met based on these conditions. If they are met, send an upgrade request to the display page, and wait for the user to agree to the software upgrade.

Benefits of technology

Improves the flexibility and accuracy of software updates, improves the user experience, and ensures that updates are carried out when users need them, avoiding unnecessary update interference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119088419A_ABST
    Figure CN119088419A_ABST
Patent Text Reader

Abstract

The invention provides an intelligent self-adaptive upgrading method and device for client software of an all-in-one machine, and relates to the technical field of software upgrading, and the intelligent self-adaptive upgrading method comprises the following steps: obtaining the use condition and system performance of the all-in-one machine; determining whether a preset upgrading condition of the client software of the all-in-one machine is met or not based on the use condition and the system performance; if the upgrading condition is met, prompt information corresponding to the upgrading request is sent to a display page of the all-in-one machine, so that the client software of the all-in-one machine is upgraded under the condition that the user selects immediate upgrading. In the mode, the client software of the all-in-one machine is upgraded under the conditions that the client software of the all-in-one machine meets the upgrading condition and the user agrees to upgrade immediately, so that the flexibility and accuracy of software updating are improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of software upgrade, and in particular to an intelligent adaptive upgrade method and device for all-in-one client software. Background Art

[0002] With the development of science and technology, more and more software products have been launched and widely used. In order to provide users with a better user experience, software developers will add new functions to software products or fix existing problems, and continuously update the software version for users.

[0003] In the related art, updateable software is generally updated and upgraded, but users have different update requirements for different software. The above method not only reduces the flexibility and accuracy of software updates, but also performs updates when users have no update requirements, which reduces the user experience. Summary of the invention

[0004] In view of this, an object of the present invention is to provide an intelligent adaptive upgrade method and device for all-in-one client software, so as to improve the flexibility and accuracy of software updates and improve user experience.

[0005] In the first aspect, an embodiment of the present invention provides an intelligent adaptive upgrade method for all-in-one machine client software, which obtains the usage and system performance of the all-in-one machine; determines whether the pre-set upgrade conditions of the all-in-one machine client software are met based on the usage and system performance; if the upgrade conditions are met, the prompt information corresponding to the upgrade request is sent to the display page of the all-in-one machine, so as to upgrade the all-in-one machine client software if the user chooses to upgrade immediately.

[0006] In a preferred embodiment of the present invention, the above-mentioned determination of whether the pre-set upgrade conditions of the all-in-one client software are met based on usage and system performance includes: determining new function requirements of the all-in-one client software based on usage; determining the performance bottleneck situation, software abnormality situation and security situation of the all-in-one client software based on system performance; determining whether the pre-set upgrade conditions of the all-in-one client software are met based on new function requirements, performance bottleneck situation, software abnormality situation and security situation.

[0007] In a preferred embodiment of the present invention, the above-mentioned determination of whether the pre-set upgrade conditions of the all-in-one client software are met based on usage and system performance includes: determining new function requirements of the all-in-one client software based on usage; determining the performance bottleneck situation, software abnormality situation and security situation of the all-in-one client software based on system performance; determining whether the pre-set upgrade conditions of the all-in-one client software are met based on new function requirements, performance bottleneck situation, software abnormality situation and security situation.

[0008] In a preferred embodiment of the present invention, the above-mentioned determination of the performance bottleneck situation, software abnormality and security situation of the all-in-one client software based on system performance includes: determining the CPU occupancy, memory usage, disk space occupancy, network status and security vulnerability situation of the all-in-one client software based on system performance; determining the performance bottleneck situation, software abnormality and security situation of the all-in-one client software based on CPU occupancy, memory usage, disk space occupancy, network status and security vulnerability situation.

[0009] In a preferred embodiment of the present invention, the above-mentioned determination of whether the pre-set upgrade conditions of the all-in-one client software are met based on the new function demand situation, performance bottleneck situation, software abnormality situation and security situation includes: if the new function demand situation indicates that the user's use frequency of the all-in-one client software meets the pre-set first frequency threshold, and the all-in-one client software to be updated contains the all-in-one client software, then the pre-set upgrade conditions of the all-in-one client software are met; if the new function demand situation indicates that the user's use frequency of the specified function of the all-in-one client software meets the pre-set second frequency threshold, and the content to be updated of the all-in-one client software to be updated includes the content corresponding to the specified function, then the pre-set upgrade conditions of the all-in-one client software are met; if the performance bottleneck situation indicates that the CPU occupancy rate of the all-in-one client software If it continues to increase, and the content to be updated of the all-in-one client software to be updated includes content corresponding to the optimization efficiency, then the pre-set upgrade conditions for the all-in-one client software are met; if the software abnormality indicates that the memory usage of the all-in-one client software exceeds the pre-set memory usage, and / or the disk space occupancy is that the disk space occupied by the cache and / or log files generated by the all-in-one client software exceeds the pre-set space threshold, and the content to be updated of the all-in-one client software to be updated includes content corresponding to the optimization software abnormality, then the pre-set upgrade conditions for the all-in-one client software are met; if the security situation indicates that the all-in-one client software has a security vulnerability, and the content to be updated of the all-in-one client software to be updated includes content corresponding to the vulnerability repair, then the pre-set upgrade conditions for the all-in-one client software are met.

[0010] In a preferred embodiment of the present invention, after determining whether the pre-set upgrade conditions for the all-in-one client software are met based on usage and system performance, the method also includes: determining the network status of the all-in-one; if the network status is offline, recording the upgrade request if the upgrade conditions are met, so that the all-in-one client software can be upgraded when the network status is online.

[0011] In a preferred embodiment of the present invention, the all-in-one client software supports customized configuration through a YAML file.

[0012] In the second aspect, an embodiment of the present invention also provides an intelligent adaptive upgrade device for all-in-one machine client software, including: a situation and performance acquisition module, used to obtain the usage situation and system performance of the all-in-one machine; a software upgrade judgment module, used to determine whether the pre-set upgrade conditions of the all-in-one machine client software are met based on the usage situation and system performance; a software upgrade module, used to send the prompt information corresponding to the upgrade request to the display page of the all-in-one machine if the upgrade conditions are met, so as to upgrade the all-in-one machine client software when the user chooses to upgrade immediately.

[0013] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the intelligent adaptive upgrade method of the all-in-one client software of the first aspect mentioned above.

[0014] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the intelligent adaptive upgrade method of the all-in-one client software of the first aspect mentioned above.

[0015] The embodiments of the present invention bring the following beneficial effects:

[0016] The embodiment of the present invention provides an intelligent adaptive upgrade method and device for the client software of an all-in-one machine, which obtains the usage and system performance of the all-in-one machine, determines whether the pre-set upgrade conditions of the client software of the all-in-one machine are met based on the usage and system performance, and if the upgrade conditions are met, sends the prompt information corresponding to the upgrade request to the display page of the all-in-one machine, so as to upgrade the client software of the all-in-one machine when the user chooses to upgrade immediately. In this method, the client software of the all-in-one machine is upgraded when the client software of the all-in-one machine meets the upgrade conditions and the user agrees to upgrade immediately, thereby improving the flexibility and accuracy of software updates and user experience.

[0017] Other features and advantages of the present disclosure will be set forth in the following description, or some features and advantages may be inferred or unambiguously determined from the description, or may be learned by implementing the above-mentioned technology of the present disclosure.

[0018] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0020] Figure 1 A flowchart of an intelligent adaptive upgrade method for all-in-one client software provided by an embodiment of the present invention;

[0021] Figure 2 A flowchart of another intelligent adaptive upgrade method of all-in-one client software provided by an embodiment of the present invention;

[0022] Figure 3 A schematic diagram of the structure of an intelligent adaptive upgrade device for all-in-one client software provided by an embodiment of the present invention;

[0023] Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0025] With the development of science and technology, more and more software products have been launched and widely used. In order to provide users with a better user experience, software developers will add new functions to software products or fix existing problems, and continuously update the software version for users.

[0026] In the related art, updateable software is generally updated and upgraded, but users have different update requirements for different software. The above method not only reduces the flexibility and accuracy of software updates, but also performs updates when users have no update requirements, which reduces the user experience.

[0027] Based on this, an embodiment of the present invention provides an intelligent adaptive upgrade method and device for the client software of an all-in-one machine, which obtains the usage and system performance of the all-in-one machine, determines whether the pre-set upgrade conditions of the client software of the all-in-one machine are met based on the usage and system performance, and if the upgrade conditions are met, sends the prompt information corresponding to the upgrade request to the display page of the all-in-one machine, so as to upgrade the client software of the all-in-one machine when the user chooses to upgrade immediately. In this method, the client software of the all-in-one machine is upgraded when the client software of the all-in-one machine meets the upgrade conditions and the user agrees to upgrade immediately, thereby improving the flexibility and accuracy of software updates and user experience.

[0028] To facilitate understanding of this embodiment, firstly, an intelligent adaptive upgrade method of an all-in-one client software disclosed in an embodiment of the present invention is introduced in detail.

[0029] Example 1

[0030] The embodiment of the present invention provides an intelligent adaptive upgrade method for all-in-one client software. Figure 1 The present invention provides a flowchart of an intelligent adaptive upgrade method for an all-in-one client software. Figure 1 As shown, the intelligent adaptive upgrade method of the all-in-one client software may include the following steps:

[0031] Step S101, obtaining the usage status and system performance of the all-in-one machine.

[0032] The usage status may be the frequency of use of the all-in-one client software and the usage of its functions by the user.

[0033] The system performance may include CPU usage, memory usage, disk space usage, network status, security vulnerability status, and other performance indicators of the all-in-one client software.

[0034] Step S102: determining whether a preset upgrade condition of the all-in-one client software is met based on the usage situation and system performance.

[0035] Among them, new function requirements, performance bottlenecks, software anomalies and security conditions can be determined through usage and system performance, and then whether the upgrade conditions are met can be determined through new function requirements, performance bottlenecks, software anomalies and security conditions.

[0036] Among them, the all-in-one client software can support customized configuration through YAML files, which can adapt to the actual needs of different factories. The architecture and interface design of the all-in-one client software also fully consider the needs of secondary development, making it convenient for users to expand and customize according to actual needs.

[0037] Specifically, first use the configuration file in YAML format, because YAML is easy to read and write and is suitable for storing structured data. In the secondary development software, it is allowed to adjust the behavior of the software by editing this configuration file, such as the interface language, function switch, etc.; then perform configuration loading and parsing. When the software starts, read the YAML configuration file and parse it into a data structure in memory so that the behavior of the software can be dynamically adjusted according to these configurations at runtime; finally, perform configuration verification. In order to prevent configuration errors, the software should have a built-in configuration validator to ensure that all required fields exist and are in the correct format.

[0038] Furthermore, after determining whether the pre-set upgrade conditions of the all-in-one client software are met based on usage and system performance, the method may also include: determining the network status of the all-in-one; if the network status is offline, recording the upgrade request if the upgrade conditions are met, so as to upgrade the all-in-one client software when the network status is online.

[0039] The offline state may be that the integrated machine is turned off, or the network environment in which the integrated machine is located is different from the network environment pre-set by the user. For example, the user pre-sets the upgrade to be performed under a wireless network, but the network environment in which the integrated machine is located does not have a wireless network.

[0040] The online state means that the all-in-one machine is powered on, and the network environment in which the all-in-one machine is located is the same as the network environment preset by the user.

[0041] Among them, when the network status of the integrated machine is offline, the integrated machine client software will record the upgrade request, and when the network status of the integrated machine is online, the integrated machine client software automatically checks and executes the corresponding upgrade operation to ensure that all integrated machines can obtain the latest upgrade information in time.

[0042] Step S103: If the upgrade condition is met, a prompt message corresponding to the upgrade request is sent to the display page of the all-in-one machine, so as to upgrade the client software of the all-in-one machine when the user chooses to upgrade immediately.

[0043] Among them, the prompt information includes immediate upgrade and later upgrade. The user can select the prompt information on the display page. After the user selects immediate upgrade, the all-in-one client software will immediately perform the upgrade operation. After the user selects later upgrade, the display page will pop up prompt information including the prompt time. The user can select the required prompt time. The all-in-one client software will prompt the user to upgrade again after the prompt time selected by the user.

[0044] Among them, by considering the user's upgrade time requirements, the all-in-one client software is upgraded to avoid automatic upgrades during the user's peak work hours, ensuring that the impact of the upgrade process on users is minimized.

[0045] In the embodiment of the present application, after the all-in-one client software is upgraded, it not only runs more smoothly, but also reduces the CPU and memory usage, improves the system response speed, and through the update of the all-in-one client software, new functions are added to the all-in-one client software, the interface is optimized and errors are fixed, etc., which significantly improves user satisfaction. In addition, through flexible optimization methods, the disk space usage is retrieved, thereby extending the hardware life.

[0046] The intelligent adaptive upgrade method of the all-in-one client software provided by the embodiment of the present invention obtains the usage and system performance of the all-in-one machine, determines whether the pre-set upgrade conditions of the all-in-one client software are met based on the usage and system performance, and if the upgrade conditions are met, sends the prompt information corresponding to the upgrade request to the display page of the all-in-one machine, so as to upgrade the all-in-one client software if the user chooses to upgrade immediately. In this method, the all-in-one client software is upgraded when the all-in-one client software meets the upgrade conditions and the user agrees to upgrade immediately, thereby improving the flexibility and accuracy of software updates and user experience.

[0047] Example 2

[0048] An embodiment of the present invention also provides another intelligent adaptive upgrade method for all-in-one client software; this method is implemented on the basis of the method in the above embodiment; this method focuses on describing a specific implementation method for determining whether the pre-set upgrade conditions for the all-in-one client software are met based on usage and system performance.

[0049] Figure 2 A flowchart of another intelligent adaptive upgrade method of all-in-one client software provided by an embodiment of the present invention, such as Figure 2 As shown, the step of determining whether the preset upgrade conditions of the all-in-one client software are met based on the usage and system performance may include the following steps:

[0050] Step S201, determining new function requirements of the all-in-one client software based on usage.

[0051] Specifically, determining new function requirements of the all-in-one client software based on usage may include: determining the software usage frequency and software function usage of the all-in-one client software based on usage; determining new function requirements of the all-in-one client software based on the software usage frequency and software function usage.

[0052] Among them, when it is monitored that the user uses the all-in-one client software frequently, it can be determined that the user has a relatively high demand for the all-in-one client software; and when it is analyzed that the user uses certain functions of the all-in-one client software frequently, it can be determined that the user has a relatively high demand for certain functions of the all-in-one client software.

[0053] Step S202: determining the performance bottleneck, software abnormality and security status of the all-in-one client software based on the system performance.

[0054] Specifically, the performance bottleneck, software abnormality and security status of the all-in-one client software are determined based on the system performance, including: determining the CPU occupancy, memory usage, disk space occupancy, network status and security vulnerability status of the all-in-one client software based on the system performance; determining the performance bottleneck, software abnormality and security status of the all-in-one client software based on the CPU occupancy, memory usage, disk space occupancy, network status and security vulnerability status.

[0055] If the CPU usage rate of the all-in-one client software is found to be continuously high when it is running, it may mean that there are efficiency issues with the software, and the all-in-one client software has a performance bottleneck. If the memory usage of the all-in-one client software exceeds a certain value when it is running, and / or the cache or log files generated by the all-in-one client software occupy too much disk space, software anomalies may occur. If the network status of the all-in-one meets the requirements, executing the upgrade can avoid interruptions or failures during the upgrade process. When a security vulnerability is detected, it is determined that there is a security risk.

[0056] Step S203, based on the new function requirement, performance bottleneck, software abnormality and security situation, determine whether the pre-set upgrade conditions of the all-in-one client software are met.

[0057] Specifically, if the new function requirement indicates that the user's usage frequency of the all-in-one client software meets a preset first frequency threshold, and the all-in-one client software to be updated includes the all-in-one client software, then the preset upgrade condition of the all-in-one client software is met.

[0058] Among them, if it is monitored that users use the all-in-one client software frequently and the all-in-one client software has major updates or performance improvements, the system may determine that it is an appropriate time to upgrade to provide a better user experience.

[0059] Specifically, if the new function demand situation indicates that the user's usage frequency of the specified function of the all-in-one client software meets the pre-set second frequency threshold, and the updated content of the all-in-one client software includes the content corresponding to the specified function, then the pre-set upgrade conditions of the all-in-one client software are met.

[0060] Among them, analyze which functions of the all-in-one client software are most frequently used by users. If there are major improvements or new functions to these functions in the content to be updated, the system may recommend upgrading first.

[0061] Specifically, if the performance bottleneck situation indicates that the CPU usage of the all-in-one client software continues to increase, and the content to be updated of the all-in-one client software to be updated includes content corresponding to the optimization efficiency, then the pre-set upgrade conditions of the all-in-one client software are met.

[0062] Among them, when the operation of the all-in-one client software causes the system performance to decline, such as when the CPU and memory usage reaches a certain threshold, an upgrade can be triggered in order to improve performance.

[0063] Specifically, if the software abnormality is characterized by the memory usage of the all-in-one client software exceeding the pre-set memory usage, and / or the disk space occupancy being the disk space occupied by the cache and / or log files generated by the all-in-one client software exceeding the pre-set space threshold, and the content to be updated of the all-in-one client software to be updated includes content corresponding to the optimization software abnormality, then the pre-set upgrade conditions for the all-in-one client software are met.

[0064] Among them, the above situation may cause the crash of the all-in-one client software. If the all-in-one client software crashes and error reports are frequent, upgrading can fix these problems and improve stability.

[0065] Specifically, if the security situation indicates that a security vulnerability exists in the all-in-one client software, and the updated content of the all-in-one client software to be updated includes content corresponding to the vulnerability repair, then the pre-set upgrade condition of the all-in-one client software is met.

[0066] Among them, if there is a security vulnerability in the all-in-one client software, regardless of the performance of the all-in-one client software, an upgrade will be triggered immediately to ensure the security of user data.

[0067] The intelligent adaptive upgrade method for the all-in-one client software provided in the embodiment of the present invention determines whether the all-in-one client software meets the upgrade conditions based on the new function requirements, the performance bottlenecks, the software abnormalities and the security conditions, and then upgrades the all-in-one client software, thereby improving the flexibility and accuracy of software updates and improving user experience.

[0068] Example 3

[0069] Corresponding to the above method embodiment, the embodiment of the present invention provides an intelligent adaptive upgrade device for the client software of an all-in-one machine, Figure 3 A schematic diagram of the structure of an intelligent adaptive upgrade device for an all-in-one client software provided by an embodiment of the present invention, such as Figure 3 As shown, the intelligent adaptive upgrade device of the all-in-one client software may include:

[0070] The status and performance acquisition module 301 is used to acquire the usage status and system performance of the all-in-one machine.

[0071] The software upgrade determination module 302 is used to determine whether a preset upgrade condition of the all-in-one client software is met based on the usage situation and system performance.

[0072] The software upgrade module 303 is used to send prompt information corresponding to the upgrade request to the display page of the integrated machine if the upgrade conditions are met, so as to upgrade the client software of the integrated machine when the user chooses to upgrade immediately.

[0073] The intelligent adaptive upgrade device for the client software of the integrated machine provided by the embodiment of the present invention obtains the usage and system performance of the integrated machine, determines whether the preset upgrade conditions of the client software of the integrated machine are met based on the usage and system performance, and if the upgrade conditions are met, sends the prompt information corresponding to the upgrade request to the display page of the integrated machine, so as to upgrade the client software of the integrated machine when the user chooses to upgrade immediately. In this way, the client software of the integrated machine is upgraded when the client software of the integrated machine meets the upgrade conditions and the user agrees to upgrade immediately, thereby improving the flexibility and accuracy of software updates and user experience.

[0074] In some embodiments, the software upgrade judgment module is also used to determine new function requirements of the all-in-one client software based on usage; determine the performance bottleneck, software abnormality and security status of the all-in-one client software based on system performance; and determine whether the pre-set upgrade conditions for the all-in-one client software are met based on new function requirements, performance bottlenecks, software abnormalities and security status.

[0075] In some embodiments, the software upgrade judgment module is also used to determine the software usage frequency and software function usage of the all-in-one client software based on usage; and determine the new function requirements of the all-in-one client software based on the software usage frequency and software function usage.

[0076] In some embodiments, the software upgrade judgment module is also used to determine the CPU occupancy, memory usage, disk space occupancy, network status and security vulnerability of the all-in-one client software based on system performance; based on the CPU occupancy, memory usage, disk space occupancy, network status and security vulnerability, determine the performance bottleneck, software abnormality and security status of the all-in-one client software.

[0077] In some embodiments, the software upgrade judgment module is also used to satisfy the pre-set upgrade conditions of the all-in-one client software if the new function demand situation indicates that the user's use frequency of the all-in-one client software meets the pre-set first frequency threshold, and the all-in-one client software to be updated includes the all-in-one client software; if the new function demand situation indicates that the user's use frequency of the specified function of the all-in-one client software meets the pre-set second frequency threshold, and the content to be updated of the all-in-one client software to be updated includes the content corresponding to the specified function, then the pre-set upgrade conditions of the all-in-one client software are satisfied; if the performance bottleneck situation indicates that the CPU occupancy rate of the all-in-one client software continues to increase, and the content to be updated of the all-in-one client software to be updated includes If the content corresponding to the optimization efficiency is detected, the pre-set upgrade conditions for the all-in-one client software are met; if the software abnormality indicates that the memory usage of the all-in-one client software exceeds the pre-set memory usage, and / or the disk space occupancy is that the disk space occupied by the cache and / or log files generated by the all-in-one client software exceeds the pre-set space threshold, and the content to be updated of the all-in-one client software to be updated includes the content corresponding to the optimization software abnormality, then the pre-set upgrade conditions for the all-in-one client software are met; if the security situation indicates that a security vulnerability has occurred in the all-in-one client software, and the content to be updated of the all-in-one client software to be updated includes the content corresponding to the vulnerability repair, then the pre-set upgrade conditions for the all-in-one client software are met.

[0078] In some embodiments, the software upgrade judgment module is also used to determine the network status of the all-in-one machine; if the network status is offline, the upgrade request will be recorded if the upgrade conditions are met, so that the all-in-one machine client software can be upgraded when the network status is online.

[0079] In some embodiments, the all-in-one client software supports customized configuration through YAML files.

[0080] The device provided in the embodiment of the present invention has the same implementation principle and technical effects as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.

[0081] Example 4

[0082] The embodiment of the present invention also provides an electronic device for running the intelligent adaptive upgrade method of the all-in-one client software; see Figure 4 A structural schematic diagram of an electronic device is shown, which includes a memory 400 and a processor 401, wherein the memory 400 is used to store one or more computer instructions, and the one or more computer instructions are executed by the processor 401 to implement the above-mentioned intelligent adaptive upgrade method of the all-in-one client software.

[0083] Further, Figure 4 The electronic device shown further includes a bus 402 and a communication interface 403 , and the processor 401 , the communication interface 403 and the memory 400 are connected via the bus 402 .

[0084] The memory 400 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 403 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 402 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0085] The processor 401 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 401. The above processor 401 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 400, and the processor 401 reads the information in the memory 400 and completes the steps of the method of the above embodiment in combination with its hardware.

[0086] An embodiment of the present invention also provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the above-mentioned intelligent adaptive upgrade method of the all-in-one client software. The specific implementation can be found in the method embodiment, which will not be repeated here.

[0087] The computer program product for the intelligent adaptive upgrade method of the all-in-one client software provided in the embodiment of the present invention includes a computer-readable storage medium storing a non-volatile program code executable by a processor. The instructions included in the program code can be used to execute the method described in the previous method embodiment. The specific implementation can be found in the method embodiment, which will not be repeated here.

[0088] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0089] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the 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.

[0090] 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.

[0091] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0092] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present invention, 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. The computer software product is stored in a storage medium, including several instructions for enabling 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 method described in each embodiment of the present invention. 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 magnetic disk or an optical disk.

[0093] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. An intelligent adaptive upgrade method for all-in-one client software, characterized in that: The method comprises: Obtain the usage and system performance of the all-in-one machine; Determining whether a preset upgrade condition of the all-in-one client software is met based on the usage situation and the system performance; If the upgrade condition is met, a prompt message corresponding to the upgrade request is sent to the display page of the all-in-one machine, so that the client software of the all-in-one machine is upgraded if the user chooses to upgrade immediately.

2. The method according to claim 1, characterized in that The determining whether a preset upgrade condition of the all-in-one client software is met based on the usage situation and the system performance includes: Determining new function requirements of the all-in-one client software based on the usage; Determine the performance bottleneck, software abnormality and security status of the all-in-one client software based on the system performance; Based on the new function requirement, the performance bottleneck, the software abnormality and the security situation, it is determined whether the pre-set upgrade conditions of the all-in-one client software are met.

3. The method according to claim 2, characterized in that The determining of the new function requirement of the all-in-one client software based on the usage includes: Determine the software usage frequency and software function usage of the all-in-one client software based on the usage; Determine the new function requirements of the all-in-one client software based on the software usage frequency and the software function usage.

4. The method according to claim 3, characterized in that The determining of the performance bottleneck, software abnormality and security status of the all-in-one client software based on the system performance includes: Determine the CPU occupancy rate, memory usage, disk space occupancy, network status and security vulnerability of the all-in-one client software based on the system performance; Based on the CPU occupancy rate, the memory usage, the disk space occupancy, the network status and the security vulnerability status, the performance bottleneck status, software abnormality status and security status of the all-in-one client software are determined.

5. The method according to claim 4, characterized in that The determining whether a preset upgrade condition of the all-in-one client software is met based on the new function requirement, the performance bottleneck, the software abnormality and the security condition includes: If the new function requirement indicates that the frequency of use of the all-in-one client software by the user meets a preset first frequency threshold, and the all-in-one client software to be updated includes the all-in-one client software, then the preset upgrade condition of the all-in-one client software is met; If the new function requirement indicates that the frequency of use of the designated function of the all-in-one client software by the user meets a preset second frequency threshold, and the content to be updated of the all-in-one client software to be updated includes the content corresponding to the designated function, then the preset upgrade condition of the all-in-one client software is met; If the performance bottleneck situation indicates that the CPU usage of the all-in-one client software continues to increase, and the content to be updated of the all-in-one client software to be updated includes content corresponding to the optimization efficiency, then the pre-set upgrade condition of the all-in-one client software is met; If the software abnormality indicates that the memory usage of the all-in-one client software exceeds the preset memory usage, and / or the disk space usage indicates that the disk space occupied by the cache and / or log files generated by the all-in-one client software exceeds the preset space threshold, and the updated content of the all-in-one client software to be updated includes the content corresponding to the optimization software abnormality, then the preset upgrade condition of the all-in-one client software is met; If the security situation indicates that a security vulnerability exists in the all-in-one client software, and the content to be updated of the all-in-one client software to be updated includes content corresponding to the vulnerability repair, then the pre-set upgrade condition of the all-in-one client software is met.

6. The method according to claim 1, characterized in that After determining whether a preset upgrade condition of the all-in-one client software is met based on the usage situation and the system performance, the method further includes: Determine the network status of the all-in-one machine; If the network status is an offline status, the upgrade request is recorded when the upgrade condition is met, so as to upgrade the all-in-one client software when the network status is an online status.

7. The method according to claim 1, characterized in that The all-in-one client software supports customized configuration through YAML files.

8. An intelligent adaptive upgrade device for all-in-one client software, characterized in that: The device comprises: A status and performance acquisition module is used to acquire the usage status and system performance of the all-in-one machine; A software upgrade judgment module, used to determine whether a preset upgrade condition of the all-in-one client software is met based on the usage situation and the system performance; The software upgrade module is used to send prompt information corresponding to the upgrade request to the display page of the all-in-one machine if the upgrade condition is met, so as to upgrade the client software of the all-in-one machine when the user chooses to upgrade immediately.

9. An electronic device, characterized in that: It includes a processor and a memory, the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the intelligent adaptive upgrade method of the all-in-one client software as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by the processor, the computer-executable instructions prompt the processor to implement the intelligent adaptive upgrade method of the all-in-one client software as described in any one of claims 1 to 7.