CN116257278B - Patch execution method of application software and storage medium - Google Patents

Patch execution method of application software and storage medium Download PDF

Info

Publication number
CN116257278B
CN116257278B CN202310544061.3A CN202310544061A CN116257278B CN 116257278 B CN116257278 B CN 116257278B CN 202310544061 A CN202310544061 A CN 202310544061A CN 116257278 B CN116257278 B CN 116257278B
Authority
CN
China
Prior art keywords
patch
application software
information
file
latest
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310544061.3A
Other languages
Chinese (zh)
Other versions
CN116257278A (en
Inventor
黄叶青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Apoco Blue Technology Co ltd
Original Assignee
Beijing Apoco Blue Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Apoco Blue Technology Co ltd filed Critical Beijing Apoco Blue Technology Co ltd
Priority to CN202310544061.3A priority Critical patent/CN116257278B/en
Publication of CN116257278A publication Critical patent/CN116257278A/en
Application granted granted Critical
Publication of CN116257278B publication Critical patent/CN116257278B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/656Updates while running
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/57Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/57Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
    • G06F21/572Secure firmware programming, e.g. of basic input output system [BIOS]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
    • G06F9/45508Runtime interpretation or emulation, e g. emulator loops, bytecode interpretation
    • G06F9/45512Command shells
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention relates to the technical field of software, in particular to a patch execution method and a storage medium of application software, wherein the patch execution method of the application software comprises the following steps: acquiring an application software starting signal, and initializing a thermal repair component to acquire a patch file of the application software; initializing a patch execution environment, and detecting whether an initial patch information cache file corresponding to a patch file exists or not based on the environment; if the patch information exists, executing the patch file based on the initial patch information cache file to repair the application software, acquiring request information initiated by the repaired application software, acquiring and providing latest patch information based on the request information, and replacing the initial patch information cache file with the latest patch information cache file corresponding to the latest patch information; if the latest patch information does not exist, acquiring request information initiated by the application software, acquiring and providing the latest patch information based on the request information, executing the latest patch information, and caching a latest patch information cache file corresponding to the latest patch information.

Description

Patch execution method of application software and storage medium
[ field of technology ]
The present invention relates to the field of software technologies, and in particular, to a patch execution method and a storage medium for application software.
[ background Art ]
In daily APP (Application), on-line problems are always caused by the fact that testing cannot be completely covered, a system and three parties are not completely covered, and on-line problems are caused by an apple audit and release mechanism, so that a link is overlong through release of a new version, timeliness is poor, a hot repair function is usually developed, and on-line problems are solved through release of patches.
The patch is usually issued through a network, so that the patch acquisition time is easily prolonged, the patch repair time rate is influenced, and if the patch acquisition is unsuccessful, the repair success rate is also reduced; and the conventional hot repair patch is usually only carried out during APP cold start, but the code range which can be covered by the patch repair can be influenced by user cold start time and the like, so that the repair timeliness rate and success rate are reduced.
[ invention ]
The invention provides a patch execution method and a storage medium of application software, which aim to solve the problems of low repair time rate and success rate and small repair range of the existing patch.
The invention provides the following technical scheme for solving the technical problems: the patch execution method of the application software is used for the electronic equipment provided with the application software, and a thermal repair component is arranged in a starting program of the application software, and comprises the following steps:
Acquiring an application software starting signal, and initializing a thermal repair component to acquire a patch file of the application software; initializing a patch execution environment, and detecting whether an initial patch information cache file corresponding to a patch file exists or not based on the patch execution environment, wherein the initial patch information cache file stores patch information acquired by application software in a local cache; if the patch information exists, executing the patch file based on the initial patch information cache file to repair the application software, acquiring request information initiated by the repaired application software, acquiring and providing latest patch information based on the request information, and replacing the initial patch information cache file with the latest patch information cache file corresponding to the latest patch information; the method comprises the steps of executing the latest patch information, and caching the latest patch information cache file corresponding to the latest patch information specifically as follows: executing the latest patch information, judging whether the patch file is repaired based on the latest patch information, and if not, caching the latest patch information cache file corresponding to the latest patch information; if yes, replacing and caching the latest patch information cache file corresponding to the latest patch information; if the latest patch information does not exist, acquiring request information initiated by the application software, acquiring and providing the latest patch information based on the request information, executing the latest patch information, and caching a latest patch information cache file corresponding to the latest patch information; preferably, the latest patch information is executed, and the latest patch information cache file corresponding to the latest patch information is cached specifically as follows: executing the latest patch information, judging whether the patch file is repaired based on the latest patch information, and if not, caching the latest patch information cache file corresponding to the latest patch information; if yes, replacing and caching the latest patch information cache file corresponding to the latest patch information.
Preferably, the method for acquiring the application software start signal and initializing the thermal repair component to acquire the patch file of the application software specifically comprises the following steps: the background of the application software is provided with a thermal repair interface, a thermal repair assembly is initialized and integrated with the thermal repair interface, patch information corresponding to the application software is searched based on the thermal repair interface, and a data field generated by the thermal repair assembly is returned to obtain a patch file.
Preferably, the initialization patch execution environment is specifically: and embedding a JS script execution function based on the JS construction function, and initializing an execution patch environment.
Preferably, the initial patch information cache file comprises information returned by the patch file based on the thermal repair interface and version number information of the application software.
Preferably, the detecting whether the initial patch information cache file corresponding to the patch file exists based on the patch execution environment is specifically: and checking the version number information of the initial patch information cache file, and if the version number information is consistent with the verification, storing the initial patch information cache file corresponding to the patch file.
Preferably, the execution patch file specifically includes: the patch script is cut into the object code and run based on the AOP.
Preferably, obtaining the request information initiated by the repaired application software, obtaining and providing the latest patch information based on the request information, and replacing the initial patch information cache file with the latest patch information cache file corresponding to the latest patch information specifically comprises: the repaired application software initiates request information, acquires and provides latest patch information based on the request information, and replaces an initial patch information cache file with the latest patch information cache file corresponding to the latest patch information if the acquisition is successful; if the acquisition fails and the application software is not repaired, the repair is performed again based on the foreground and background switching of the operable network and the application software through notification monitoring.
The invention provides another technical scheme for solving the technical problems as follows: a computer storage medium having a computer program stored thereon, characterized by: the computer program when executed implements the steps of a patch execution method of application software according to any of the preceding claims.
Compared with the prior art, the patch execution method and the storage medium for the application software have the following beneficial effects:
1. the patch execution method of the application software is used for the electronic equipment provided with the application software, and a thermal repair component is arranged in a starting program of the application software, and comprises the following steps: firstly, acquiring an application software starting signal, and initializing a thermal repair component to acquire a patch file of the application software; then initializing a patch execution environment, and detecting whether an initial patch information cache file corresponding to the patch file exists or not based on the patch execution environment; if the patch information exists, executing the patch file based on the initial patch information cache file to repair the application software, acquiring request information initiated by the repaired application software, acquiring and providing latest patch information based on the request information, and replacing the initial patch information cache file with the latest patch information cache file corresponding to the latest patch information; if the latest patch information does not exist, acquiring request information initiated by the application software, acquiring and providing the latest patch information based on the request information, executing the latest patch information, and caching a latest patch information cache file corresponding to the latest patch information; the patch is executed through patch caching and application software starting, so that the repair of the application software is ensured to be timely, the stability of the application software is improved, namely, the repair time rate is higher, and the execution based on the latest patch information can reduce the repair time and cost, avoid errors and risks in the repair process, and improve the repair success rate; corresponding operations are carried out on patched cache or non-patched cache Ding Huancun, so that the repair range can be enlarged, and the practicability is improved.
2. The method for acquiring the application software starting signal and initializing the thermal repair component to acquire the patch file of the application software provided by the embodiment of the invention comprises the following specific steps: the background of the application software is provided with a thermal repair interface, a thermal repair assembly is initialized and integrated with the thermal repair interface, patch information corresponding to the application software is searched based on the thermal repair interface, and a data field acquired through the thermal repair interface is returned to obtain a patch file; namely, the thermal repair interface is provided, so that the complexity of integration can be reduced, and the repair time rate can be ensured; corresponding patch information matching can be realized for application software of different versions, and the correctness and the effectiveness of the patch are ensured.
3. The initialization patch execution environment provided by the embodiment of the invention specifically comprises the following steps: based on the JS construction function, the JS script execution function is pre-embedded, the patch execution environment is initialized, the execution efficiency can be improved, the stability of codes can be ensured, and the codes can be directly used for execution, so that the execution time is reduced; the code can be limited and controlled in running, malicious code or unsafe code is prevented from being executed, the safety is higher, and the success rate of repairing the patch is guaranteed.
4. The method for detecting whether the initial patch information cache file corresponding to the patch file exists based on the patch execution environment provided by the embodiment of the invention specifically comprises the following steps: checking version number information of the initial patch information cache file, and if the version number information is consistent with the verification, storing the initial patch information cache file corresponding to the patch file; the initial patch information cache file is used for verification, so that the number of network requests can be reduced, time is saved, the response speed of application software is improved, the repairing time rate is improved, the user experience can be improved, the application can be started and the update can be acquired more quickly, and the user satisfaction is improved.
5. The specific steps for executing the patch file based on the initial patch information cache file to repair the application software provided by the embodiment of the invention are as follows: reading a first field of an initial patch information cache file, searching whether the first file based on the first field exists or not, checking, and executing the initial patch information cache file if the first file based on the first field exists and the first field is consistent; if the first field verification is successful, the second patch file is executed and the first file is updated; the setting can ensure the success rate of restoration, and the time for acquiring and verifying the second patch file can be reduced by acquiring and verifying the first file in advance, so that the response speed of the application software can be improved; the reliability of the application software can be improved by acquiring the first file based on the first field and checking, a malicious attacker is prevented from attacking the application software by tampering patch information, and the safety of user information is ensured; and maintainability of application software can be improved, and long-term stability of the application software can be ensured.
6. The execution patch file provided in the embodiment of the invention specifically comprises the following steps: based on AOP, the patch script cuts into the target code and runs, the readability and maintainability of the target code can be guaranteed, the reusability of the target code is improved, and the running of the target code can be simpler and more definite.
7. The method for obtaining the request information initiated by the repaired application software provided by the embodiment of the invention obtains and provides the latest patch information based on the request information, and replaces the initial patch information cache file with the latest patch information cache file corresponding to the latest patch information specifically comprises the following steps: the repaired application software initiates request information, acquires and provides latest patch information based on the request information, and replaces an initial patch information cache file with the latest patch information cache file corresponding to the latest patch information if the acquisition is successful; if the acquisition fails and the application software is not repaired, the repair is carried out again based on the foreground and background switching of the operable network and the application software through notification monitoring; the problems of the application software can be repaired in time by notifying monitoring and switching between a foreground and a background based on the operable network and the application software, the repairing efficiency and accuracy are improved, and the influence on a user caused by the repairing problem is reduced; the initial patch information cache file is replaced based on the latest patch information cache file corresponding to the latest patch information, so that the loopholes and problems of the application software can be repaired in time, and the stability and reliability of the application software are improved; the user experience is better.
8. The embodiment of the invention provides the method for executing the latest patch information and caching the latest patch information cache file corresponding to the latest patch information, which comprises the following steps: executing the latest patch information, judging whether the patch file is repaired based on the latest patch information, and if not, caching the latest patch information cache file corresponding to the latest patch information; if yes, replacing and caching the latest patch information cache file corresponding to the latest patch information; the setting can improve the stability of the application software, and the latest patch information cache file corresponding to the latest patch information is cached, namely, the local patch file can still be updated by using the locally cached patch information cache file under the condition that the network is unstable or a server cannot be accessed due to the existence of the local patch file, so that the normal operation of the application software is ensured.
9. The embodiment of the invention also provides a computer storage medium, which has the same beneficial effects as the patch execution method of the application software, and is not described herein.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a patch execution method of application software according to a first embodiment of the present invention.
Fig. 2 is a flowchart illustrating a method for executing a patch of an application software according to a first embodiment of the present invention.
Fig. 3 is an exemplary diagram of a patch execution method of application software according to a first embodiment of the present invention.
Fig. 4 is a second exemplary diagram of a patch execution method of application software according to the first embodiment of the present invention.
Fig. 5 is a third exemplary diagram of a patch execution method of application software according to the first embodiment of the present invention.
Fig. 6 is a diagram illustrating an exemplary method for executing a patch of application software according to the first embodiment of the present invention.
[ detailed description ] of the invention
For the purpose of making the technical solution and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings and examples of implementation. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1 and 3, a first embodiment of the present invention provides a patch execution method of application software, which is used for an electronic device installed with the application software, and a thermal repair component is set in a start-up program of the application software, and includes the following steps:
S1: acquiring an application software starting signal, and initializing a thermal repair component to acquire a patch file of the application software;
s2: initializing a patch execution environment, and detecting whether an initial patch information cache file corresponding to a patch file exists or not based on the patch execution environment;
s3: if the patch information exists, executing the patch file based on the initial patch information cache file to repair the application software, acquiring request information initiated by the repaired application software, acquiring and providing latest patch information based on the request information, and replacing the initial patch information cache file with the latest patch information cache file corresponding to the latest patch information;
s4: if the latest patch information does not exist, acquiring request information initiated by the application software, acquiring and providing the latest patch information based on the request information, executing the latest patch information, and caching a latest patch information cache file corresponding to the latest patch information.
It can be stated that the method is applicable to mobile devices employing IOS system (Internetworking Operating System, mobile operating system developed by apple company) and android system; preferably, in this embodiment, the present invention is described based on the IOS system as an example, and repair based on the IOS system follows a certain specification and flow, so that stability is higher, security is good, and good compatibility is provided between software and hardware, and update speed is fast and efficiency is higher.
For better illustration, application software refers to software developed to meet certain needs of users, and includes multiple types, such as office and entertainment, and usually runs on top of an operating system to provide various functions and services for users, so as to improve convenience;
the hot repair component is a common technology in application software development, and can quickly repair bug or add new functions in application without reissuing application software, wherein bug refers to error of hardware, system software or application software of a computer system; the method has the advantages that bug in application can be quickly repaired or new functions can be added, and time and cost for reissuing application software are avoided;
the patch refers to a repairing program released for solving the known problems in the application software or adding new functions after the application software is released, and is generally provided by a software developer, and a user can download and install the patch to update the version of the application software and repair the problems; in actual life, the patch release is a common maintenance mode of application software, so that the known problems can be repaired in time, and the stability and user experience of the application software are improved; for a user, the patch can be timely installed to ensure the safety and stability of the application software, and meanwhile, new functions and optimization can be obtained.
As an alternative embodiment, the request information of the application software includes, but is not limited to, initiation by a server, initiation by the application software itself, etc., depending on the implementation of the thermal remediation component and the programming of the application software; in practical application, the thermal repair component provides a set of APIs (Application Programming Interface, i.e., an application software programming interface) for supplying software to call for downloading patch files and initiating request information, where the request information can be initiated by calling the APIs provided by the thermal repair component; in addition, the partial thermal repair component supports the application software to initiate request information, but the complexity of the implementation mode is higher, the workload is increased, and the repair timeliness rate is not improved; preferably, the request information of the application software is initiated by the server.
It may be noted that a server is a computer device, which is generally used to provide various network services, such as storing and transmitting data, processing requests, hosting websites, applications, databases, etc., and generally has the characteristics of high performance, high reliability, expandability, etc., and can meet the requirements of a large number of users and requests.
Specifically, an Application software start signal is obtained, that is, a start event of the Application software is monitored to obtain the start signal, where APP (Application software) is a software program that is developed by a pointer for a specific function or field, and generally runs on a mobile device; initializing a thermal repair component to acquire a patch file of the application software, and ensuring that the thermal repair component can work normally after the application software is started, so that the thermal repair component can acquire the patch file of the application software;
Initializing a patch execution environment, confirming a directory or a path where a patch file is located, checking authority, environment and the like of the execution patch, and facilitating subsequent execution of the patch file; based on the patch execution environment, detecting whether an initial patch information cache file corresponding to the patch file exists or not, and carrying out subsequent corresponding operation according to the information, wherein the setting can improve the starting speed of application software, avoid unnecessary downloading and network transmission, and improve the repair time rate;
then if the initial patch information cache file exists, executing the patch file based on the initial patch information cache file to repair the application software, and executing the patch file based on the patch information cache file to repair, namely, modifying, replacing, deleting and the like the affected file aiming at the patch file to realize repair, wherein the setting can ensure the correctness and reliability of the patch file and the repair effect of the application software; acquiring request information initiated by the repaired application software, namely initiating the request information in the running process of the application software, such as accessing network resources, reading and writing local files, calling external libraries and the like; it can be stated that, the repair realized by the thermal repair component is mainly realized by dynamically replacing codes in the application program, and the initial patch information cache file exists, so that the application software needs to initiate request information to obtain the latest patch information; the application software initiates the request, wherein the conditions of the application software initiate the request comprise the time of starting the application software, the time of checking the application software at regular time or the time of manually triggering the application software by a user to initiate the request, and the like; based on the request information, obtaining and providing the latest patch information, and analyzing the request information initiated by the application software to know the running state of the application software and the problem that the application software needs to be repaired so as to obtain the latest patch information; the latest patch information buffer file corresponding to the latest patch information is replaced with the initial patch information buffer file, so that the latest patch information buffer file can be directly read when the next patch repair is executed through the replacement operation, the speed of patch repair is increased, and the repair time rate is improved;
Finally, if the initial patch information cache file does not exist, the latest patch information is acquired based on the request information, and the latest patch information is executed, namely, the latest patch information is updated, so that the application software can acquire the latest function and repair the latest bug; the latest patch information cache file corresponding to the latest patch information is cached, so that subsequent operations can be compared quickly, the latest patch information cache file can be directly read when the patch repair is executed next time, the patch repair speed is accelerated, the safety and stability of the application software are ensured, the repair success rate is improved, and the code coverage range of the patch file is enhanced.
As can be appreciated, by performing the patch during the patch caching and the application software starting, the repair of the application software is ensured to be timely, so that the stability of the application software is improved, namely the repair time rate is higher, and the execution based on the latest patch information can reduce the repair time and cost, avoid errors and risks in the repair process, and improve the repair success rate; corresponding operations are carried out on patched cache or non-patched cache Ding Huancun, so that the repair range can be enlarged, and the practicability is improved.
Referring to fig. 1 and fig. 4, further, step S1 specifically includes: the background of the application software is provided with a thermal repair interface, a thermal repair assembly is initialized and integrated with the thermal repair interface, patch information corresponding to the application software is searched based on the thermal repair interface, and a data field acquired through the thermal repair interface is returned to obtain a patch file.
For better illustration, a thermal repair interface refers to a set of interfaces provided for a user to use to implement thermal repair functions, and the user can select an appropriate thermal repair library or framework as desired.
Specifically, a thermal repair component is initialized, a thermal repair interface is obtained based on the thermal repair component, a method in the thermal repair interface is called to find patch information, namely a patch version number is obtained, then a method in the thermal repair interface is called to obtain a data field, and the data field is processed to obtain a patch file.
It may be noted that, in the present invention, an embodiment is provided, a thermal repair interface is provided in the background of the application software, where the interface is named as sys/patch, the interface searches corresponding patch information by using the current version number information of the application software carried in the request header, and two data fields are url (uniform resource locator, i.e. uniform resource locator) and md5 (message-digest algorism 5, i.e. 5 th edition of the message digest algorithm) respectively, where url is a resource address of the patch file, and md5 is an md5 check code of the patch file.
Where sys/patch generally refers to a patch or update of an operating system or application software, an interface for repairing vulnerabilities and errors in the system or application software to improve its performance and functionality; sys (system) generally refers to a system module or component of an operating system that is responsible for controlling and managing the various resources and functions of the system; patch refers to a program that patches an application or system for repairing a known vulnerability or improving the functionality of the software.
url is a character string on the internet for describing information resources, and refers to the address of a browser to access a page, and consists of three parts: protocol, host address and path; and md5 is a common hash algorithm, which takes a message with any length as input and outputs a hash value with a fixed length, and is an irreversible encryption algorithm which has uniqueness and can verify the integrity of data to be used as a check code of a patch file.
As can be appreciated, providing a thermal repair interface can reduce the complexity of integration to ensure repair timeliness; corresponding patch information matching can be realized for application software of different versions, and the correctness and the effectiveness of the patch are ensured.
Further, in step S2, the initializing patch execution environment specifically includes: and embedding a JS script execution function based on the JS construction function, and initializing an execution patch environment.
It can be stated that JS (JavaScript, i.e. an transliteration script language) is a dynamic type, weak type, prototype-based language, and a built-in support type is used for managing the execution environment of JavaScript codes; wherein the constructor is used for creating an object; the embedded JS script execution function refers to defining a function in application software and transmitting the function as a parameter to a constructor so as to execute the function in advance when an object is created, and initializing an execution patch environment.
Understandably, the execution efficiency can be improved and the stability of the code can be ensured by embedding the JS script execution function, so that the execution time can be reduced; the code can be limited and controlled in running, malicious code or unsafe code is prevented from being executed, the safety is higher, and the success rate of repairing the patch is guaranteed.
Further, the initial patch information cache file comprises information returned by the patch file based on the thermal repair interface and version number information of the application software.
It may be noted that the initial patch information cache file records url, md5 of the patch file, and version number information of the current application software.
Further, in step S2, the detecting whether the initial patch information cache file corresponding to the patch file exists based on the patch execution environment specifically includes: and checking the version number information of the initial patch information cache file, and if the version number information is consistent with the verification, storing the initial patch information cache file corresponding to the patch file.
Specifically, an initial patch information cache file corresponding to the patch file exists, namely, information returned by the patch file based on a thermal repair interface and version number information of the application software exist; checking version number information of the initial patch information cache file, namely reading the existing version number information and comparing the version number information with the latest version number on the server, and prompting a user to have the initial patch information cache file corresponding to the patch file if the version number information between the version number information and the latest version number information is consistent, namely caching the existing local patch file, so that a local update package can be directly used; if the version number information of the two is inconsistent, the initial patch information cache file does not exist, and the subsequent operation is directly carried out to update the version number information in the initial patch information cache file; the setting can avoid users from repeatedly downloading the update package corresponding to the patch file, so that the time and flow consumption of the users are saved, and the repair time rate and success rate are ensured; and the latest update package can be ensured to be used by checking the version number information, so that the stability and the safety of the application software are ensured.
It can be understood that the verification is performed based on the initial patch information cache file, so that the number of network requests can be reduced, time is saved, the response speed of application software is improved, the repairing timeliness is improved, the user experience is improved, the application can be started and the update can be acquired more quickly, and the user satisfaction is improved.
Referring to fig. 1-2 and fig. 5, further, in step S3, the specific steps of executing the patch file based on the initial patch information cache file to repair the application software are as follows:
s31: reading a first field of an initial patch information cache file, searching whether the first file based on the first field exists or not, checking, and executing the initial patch information cache file if the first file based on the first field exists and the first field is consistent;
s32: and if the first field verification is successful, executing the second patch file and updating the first file.
Specifically, first, a first field of an initial patch information cache file is read, whether a first file matched with the first field exists or not is searched, and verification is carried out to verify consistency and integrity of the first file; if the verification is successful, corresponding operation in the initial patch information cache file is executed, and the setting can ensure the reliability and the safety of the initial patch information cache file and avoid the problem of application software caused by lack of verification; if the first file does not exist or the verification between the first file and the first field is inconsistent, reading a second field of the initial patch information cache file, acquiring a second patch file according to the second field, and if the acquisition is successful and the verification of the first file based on the first field is passed, executing the second patch file and updating the first file, preventing the second patch file from being used for repairing according to the operation failure of the first file, updating the first file, avoiding the situation that the matching failure occurs again in the next execution, and ensuring the repairing success rate; after the patch is executed, the following steps are carried out.
As can be appreciated, the setting can ensure the success rate of repair, and by acquiring and verifying the first file in advance, the time for acquiring and verifying the second patch file can be reduced, and the response speed of the application software can be improved; the reliability of the application software can be improved by acquiring the first file based on the first field and checking, a malicious attacker is prevented from attacking the application software by tampering patch information, and the safety of user information is ensured; and maintainability of application software can be improved, and long-term stability of the application software can be ensured.
For a better illustration, the present invention provides an embodiment, assuming that the initial patch information cache file is ttfix_info, the file refers to a module and class named fix_info, for recording and storing related data of repair information; reading a first field, namely an md5 field, in the file, and adopting the md5 field for verification can ensure the integrity and consistency of the first file, avoid being tampered or damaged and improve the safety; then searching whether a first file exists or not based on the md5 field, namely, a ttfix (md 5) file, and executing ttfix. Fix_info if the first file exists and the md5 verification is consistent; if the second field of ttfix. Fix_info is not present or the md5 verification is inconsistent, reading the second field, namely url field, wherein the field records the download link of the corresponding patch file, thereby facilitating the downloading of the patch file by a user, improving the availability and accessibility of the patch, facilitating the realization of automatic update and improving the repair time rate; and acquiring a second patch file based on the url field, and if the acquisition is successful and the md5 verification passes, executing the second patch file and updating a ttfix (md 5) file.
In order to facilitate understanding, the invention explains the difference between the patch information cache file and the patch file cache, wherein the patch information cache file and the patch file cache are used for optimizing the performance and the stability of the application software, but the content and the application of the application software are different, and the patch information cache file is used for judging whether the patch file is repaired or not; the patch file cache is used for storing the latest patch file, so that the subsequent use is convenient.
Referring to fig. 4, the patch information cache file refers to that patch information obtained by application software is stored in a local cache so as to facilitate subsequent judgment and use, and generally includes information such as version, repair content, update time and the like of the patch file; specifically, the invention provides an example, a TTFixInfo class is created in a system of application software, and it can be stated that the TTFixInfo is an open-source FIX protocol implementation library, which contains multiple protocols and is provided with flexible configuration options and APIs, and the reliability and efficiency are higher; the method comprises three attributes of url, md5 and version number information of current application software, wherein a TTFixInfo object is created based on the data when the data is requested to return on the basis of the Internet, then a file with a local name of ttfix_info of the object is cached, and the file can be covered and updated after each time of hot repair interface request success, so that the timeliness rate of subsequent corresponding operation is ensured.
The patch file cache refers to a localized file of a patch character string, namely, the patch file generated after the patch file is executed according to patch information is stored in the local cache and generally comprises information such as the name, the size and the like of the patch file; specifically, the invention provides an example, when the hot repair interface data is returned, the patch data is taken through the url resource address, and then the data is locally cached into a corresponding file, namely, the file with the data localization name ttfix (md 5) is cached.
With continued reference to fig. 1, further, in step S3, the patch file is executed specifically as follows: based on AOP, the patch script cuts into the target code and runs, the readability and maintainability of the target code can be guaranteed, the reusability of the target code is improved, and the running of the target code can be simpler and more definite.
It may be noted that AOP (Aspect-Oriented Programming, i.e. Aspect-oriented programming) is a technology that implements unified maintenance of program functions by means of precompilation and dynamic agents during running, and by defining cross-cut points of interest in the program, separating these points of interest from service codes to form independent aspects, and then weaving the aspects into the service codes during running, enhancement and control of the service codes are implemented, so that cross-cut points of interest in the program can be better managed, and maintainability and reusability of the codes are improved, so as to improve the coverage of the codes.
Specifically, firstly, a tangent plane of a patch script is defined based on an AOP, reading and executing logic of the patch script is realized in the tangent plane, then, a connection point of the patch script to be cut into is defined in an object code, a tangent plane and a notification of the connection point are defined in an AOP framework, the tangent plane of the patch script is bound on the connection point, then, the patch script is operated, namely, the AOP framework automatically generates a proxy object for the object code, and the patch script tangent plane is woven into the proxy object, when the object code is executed to the connection point, the patch script tangent plane is triggered, and the patch script is read and executed, so that automatic management and updating of the patch can be realized, and the restoration efficiency is improved.
Referring to fig. 1-2 and fig. 5-6, further, in step S3, request information initiated by the repaired application software is obtained, and based on the request information, latest patch information is obtained and provided, and the latest patch information cache file corresponding to the latest patch information is replaced with the initial patch information cache file specifically as follows:
the repaired application software initiates request information, acquires and provides latest patch information based on the request information, and replaces an initial patch information cache file with the latest patch information cache file corresponding to the latest patch information if the acquisition is successful; if the acquisition fails and the application software is not repaired, the repair is performed again based on the foreground and background switching of the operable network and the application software through notification monitoring.
It may be stated that interception is a concept in computer programming, referring to one or more programs or code blocks for monitoring the occurrence of certain events and performing predefined actions when an event occurs, whereas in application software interception of repair procedures is achieved by means of registered interception.
The foreground and the background of the application software refer to two different environments of the application software in running, which are respectively used for processing different tasks and user requirements; the foreground refers to a user interface of software, namely a part directly facing a user, and is used for receiving user input, displaying information, processing user requests and other operations; the background refers to an operating environment of application software, and is used for processing various background tasks, data processing, business logic and the like.
Specifically, the application software initiates request information, acquires and provides latest patch information, and if the request is successful, the application software replaces an initial patch information cache file with the latest patch information cache file corresponding to the latest patch information so as to realize updating; if the request fails and the application software is not repaired, the application software carries out repair again based on the foreground and background switching of the operable network and the application software by notifying the monitoring triggering operation; the whole process can be circularly operated until the request information is successfully acquired, and the setting ensures that the application software can timely acquire and update the latest patch information, thereby improving the repair time rate and ensuring the repair success rate and the stability of the application software.
As can be appreciated, the notification monitoring and the foreground and background switching based on the operable network and the application software can repair the problems of the application software in time, improve the repair efficiency and accuracy, and reduce the influence on users caused by repair problems; the initial patch information cache file is replaced based on the latest patch information cache file corresponding to the latest patch information, so that the loopholes and problems of the application software can be repaired in time, and the stability and reliability of the application software are improved; the user experience is better.
Further, in step S4, the latest patch information is executed, and the latest patch information cache file corresponding to the latest patch information is cached specifically as follows:
executing the latest patch information, judging whether the patch file is repaired based on the latest patch information, and if not, caching the latest patch information cache file corresponding to the latest patch information; if yes, replacing and caching the latest patch information cache file corresponding to the latest patch information.
Specifically, after the latest patch information is obtained based on the request information, the application software needs to judge whether the patch file is repaired or not through the patch information, and if the patch file is not repaired, the latest patch information is executed and the latest patch information cache file corresponding to the latest patch information is cached; if the patch file is repaired, replacing and caching the latest patch information cache file corresponding to the latest patch information, and after the latest patch file is executed, re-reading the replaced latest patch information cache file by the application software to ensure that the patch file is updated successfully, thereby ensuring the stability and safety of the application software.
It can be understood that the stability of the application software can be improved by the setting, the latest patch information cache file corresponding to the latest patch information is cached, that is, the local patch file can still be updated by using the locally cached patch information cache file under the condition that the network is unstable or the server cannot be accessed, so that the normal operation of the application software is ensured.
For better explanation, please refer to fig. 1, fig. 4 and fig. 5, an example is given in the present invention, assuming that the initial patch information cache file is ttfix_info, the application software initiates request information, acquires and provides the latest patch information, if the patch information request is successful, the ttfix_info is covered and updated, whether the patch file is repaired or not is judged, if not, the patch file is executed based on the latest patch information, namely, the patch file is repaired based on the latest patch information; caching the repaired patch file as a local patch file; specifically, the patch file after repair based on the latest patch information is locally cached as ttfix (md 5); if the patch file repair is already performed, the latest patch information is not executed, the latest patch information is directly cached to replace the original patch information, and the latest patch information is cached to be a local patch file ttfix (md 5) based on the latest patch information, so that the situation that the application software is abnormal due to multiple patch execution is prevented, and the repair success rate is ensured.
A second embodiment of the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a patch execution method of application software provided by the first embodiment of the present invention.
In the embodiments provided herein, it should be understood that "B corresponding to a" means that B is associated with a, from which B can be determined. It should also be understood that determining B from a does not mean determining B from a alone, but may also determine B from a and/or other information.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art will also appreciate that the embodiments described in the specification are alternative embodiments and that the acts and modules referred to are not necessarily required for the present invention.
In various embodiments of the present application, it should be understood that the sequence numbers of the foregoing processes do not imply that the execution sequences of the processes should be determined by the functions and internal logic of the processes, and should not be construed as limiting the implementation of the embodiments of the present application.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, with the determination being made based upon the functionality involved. It will be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Compared with the prior art, the patch execution method and the storage medium for the application software have the following beneficial effects:
1. the patch execution method of the application software is used for the electronic equipment provided with the application software, and a thermal repair component is arranged in a starting program of the application software, and comprises the following steps: firstly, acquiring an application software starting signal, and initializing a thermal repair component to acquire a patch file of the application software; then initializing a patch execution environment, and detecting whether an initial patch information cache file corresponding to the patch file exists or not based on the patch execution environment; if the patch information exists, executing the patch file based on the initial patch information cache file to repair the application software, acquiring request information initiated by the repaired application software, acquiring and providing latest patch information based on the request information, and replacing the initial patch information cache file with the latest patch information cache file corresponding to the latest patch information; if the latest patch information does not exist, acquiring request information initiated by the application software, acquiring and providing the latest patch information based on the request information, executing the latest patch information, and caching a latest patch information cache file corresponding to the latest patch information; the patch is executed through patch caching and application software starting, so that the repair of the application software is ensured to be timely, the stability of the application software is improved, namely, the repair time rate is higher, and the execution based on the latest patch information can reduce the repair time and cost, avoid errors and risks in the repair process, and improve the repair success rate; corresponding operations are carried out on patched cache or non-patched cache Ding Huancun, so that the repair range can be enlarged, and the practicability is improved.
2. The method for acquiring the application software starting signal and initializing the thermal repair component to acquire the patch file of the application software provided by the embodiment of the invention comprises the following specific steps: the background of the application software is provided with a thermal repair interface, a thermal repair assembly is initialized and integrated with the thermal repair interface, patch information corresponding to the application software is searched based on the thermal repair interface, and a data field acquired through the thermal repair interface is returned to obtain a patch file; namely, the thermal repair interface is provided, so that the complexity of integration can be reduced, and the repair time rate can be ensured; corresponding patch information matching can be realized for application software of different versions, and the correctness and the effectiveness of the patch are ensured.
3. The initialization patch execution environment provided by the embodiment of the invention specifically comprises the following steps: based on the JS construction function, the JS script execution function is pre-embedded, the patch execution environment is initialized, the execution efficiency can be improved, the stability of codes can be ensured, and the codes can be directly used for execution, so that the execution time is reduced; the code can be limited and controlled in running, malicious code or unsafe code is prevented from being executed, the safety is higher, and the success rate of repairing the patch is guaranteed.
4. The method for detecting whether the initial patch information cache file corresponding to the patch file exists based on the patch execution environment provided by the embodiment of the invention specifically comprises the following steps: checking version number information of the initial patch information cache file, and if the version number information is consistent with the verification, storing the initial patch information cache file corresponding to the patch file; the initial patch information cache file is used for verification, so that the number of network requests can be reduced, time is saved, the response speed of application software is improved, the repairing time rate is improved, the user experience can be improved, the application can be started and the update can be acquired more quickly, and the user satisfaction is improved.
5. The specific steps for executing the patch file based on the initial patch information cache file to repair the application software provided by the embodiment of the invention are as follows: reading a first field of an initial patch information cache file, searching whether the first file based on the first field exists or not, checking, and executing the initial patch information cache file if the first file based on the first field exists and the first field is consistent; if the first field verification is successful, the second patch file is executed and the first file is updated; the setting can ensure the success rate of restoration, and the time for acquiring and verifying the second patch file can be reduced by acquiring and verifying the first file in advance, so that the response speed of the application software can be improved; the reliability of the application software can be improved by acquiring the first file based on the first field and checking, a malicious attacker is prevented from attacking the application software by tampering patch information, and the safety of user information is ensured; and maintainability of application software can be improved, and long-term stability of the application software can be ensured.
6. The execution patch file provided in the embodiment of the invention specifically comprises the following steps: based on AOP, the patch script cuts into the target code and runs, the readability and maintainability of the target code can be guaranteed, the reusability of the target code is improved, and the running of the target code can be simpler and more definite.
7. The method for obtaining the request information initiated by the repaired application software provided by the embodiment of the invention obtains and provides the latest patch information based on the request information, and replaces the initial patch information cache file with the latest patch information cache file corresponding to the latest patch information specifically comprises the following steps: the repaired application software initiates request information, acquires and provides latest patch information based on the request information, and replaces an initial patch information cache file with the latest patch information cache file corresponding to the latest patch information if the acquisition is successful; if the acquisition fails and the application software is not repaired, the repair is carried out again based on the foreground and background switching of the operable network and the application software through notification monitoring; the problems of the application software can be repaired in time by notifying monitoring and switching between a foreground and a background based on the operable network and the application software, the repairing efficiency and accuracy are improved, and the influence on a user caused by the repairing problem is reduced; the initial patch information cache file is replaced based on the latest patch information cache file corresponding to the latest patch information, so that the loopholes and problems of the application software can be repaired in time, and the stability and reliability of the application software are improved; the user experience is better.
8. The embodiment of the invention provides the method for executing the latest patch information and caching the latest patch information cache file corresponding to the latest patch information, which comprises the following steps: executing the latest patch information, judging whether the patch file is repaired based on the latest patch information, and if not, caching the latest patch information cache file corresponding to the latest patch information; if yes, replacing and caching the latest patch information cache file corresponding to the latest patch information; the setting can improve the stability of the application software, and the latest patch information cache file corresponding to the latest patch information is cached, namely, the local patch file can still be updated by using the locally cached patch information cache file under the condition that the network is unstable or a server cannot be accessed due to the existence of the local patch file, so that the normal operation of the application software is ensured.
9. The embodiment of the invention also provides a computer storage medium, which has the same beneficial effects as the patch execution method of the application software, and is not described herein.
The patch execution method and the storage medium of the application software disclosed in the embodiments of the present invention are described in detail, and specific examples are applied to illustrate the principles and the implementation of the present invention, and the description of the above embodiments is only used to help understand the method and the core idea of the present invention; meanwhile, as for those skilled in the art, according to the idea of the present invention, there are changes in the specific embodiments and the application scope, and in summary, the present disclosure should not be construed as limiting the present invention, and any modifications, equivalent substitutions and improvements made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. The utility model provides a patch execution method of application software, is used for installing the electronic equipment of application software, be provided with hot repair subassembly in the start-up procedure of application software, its characterized in that: the method comprises the following steps:
acquiring an application software starting signal, and initializing a thermal repair component to acquire a patch file of the application software;
initializing a patch execution environment, and detecting whether an initial patch information cache file corresponding to a patch file exists or not based on the patch execution environment, wherein the initial patch information cache file stores patch information acquired by application software in a local cache;
if the patch information exists, executing the patch file based on the initial patch information cache file to repair the application software, acquiring request information initiated by the repaired application software, acquiring and providing latest patch information based on the request information, and replacing the initial patch information cache file with the latest patch information cache file corresponding to the latest patch information;
the specific steps of executing the patch file based on the initial patch information cache file to repair the application software are as follows:
reading a first field of an initial patch information cache file, searching whether the first file based on the first field exists or not, checking, and executing the initial patch information cache file if the first file based on the first field exists and the first field is consistent;
If the first field verification is successful, the second patch file is executed and the first file is updated;
if the latest patch information does not exist, acquiring request information initiated by the application software, acquiring and providing the latest patch information based on the request information, executing the latest patch information, and caching a latest patch information cache file corresponding to the latest patch information;
the method comprises the steps of executing the latest patch information, and caching the latest patch information cache file corresponding to the latest patch information specifically as follows: executing the latest patch information, judging whether the patch file is repaired based on the latest patch information, and if not, caching the latest patch information cache file corresponding to the latest patch information; if yes, replacing and caching the latest patch information cache file corresponding to the latest patch information.
2. A patch execution method for application software as claimed in claim 1, wherein: the method for acquiring the application software starting signal and initializing the thermal repair component to acquire the patch file of the application software specifically comprises the following steps: the background of the application software is provided with a thermal repair interface, a thermal repair assembly is initialized and integrated with the thermal repair interface, patch information corresponding to the application software is searched based on the thermal repair interface, and a data field acquired through the thermal repair interface is returned to obtain a patch file.
3. A patch execution method for application software as claimed in claim 1, wherein: the initialization patch execution environment specifically comprises: and embedding a JS script execution function based on the JS construction function, and initializing an execution patch environment.
4. A patch execution method for application software as claimed in claim 2, wherein: the initial patch information cache file comprises information returned by the patch file based on the thermal restoration interface and version number information of the application software.
5. A patch execution method for application software as recited in claim 4, wherein: whether an initial patch information cache file corresponding to a patch file exists or not is detected based on a patch execution environment specifically as follows: and checking the version number information of the initial patch information cache file, and if the version number information is consistent with the verification, storing the initial patch information cache file corresponding to the patch file.
6. A patch execution method for application software as claimed in claim 1, wherein: the execution patch file specifically comprises: the patch script is cut into the object code and run based on the AOP.
7. A patch execution method for application software as claimed in claim 1, wherein: acquiring the request information initiated by the repaired application software, acquiring and providing the latest patch information based on the request information, and replacing the initial patch information cache file with the latest patch information cache file corresponding to the latest patch information specifically comprises the following steps: the repaired application software initiates request information, acquires and provides latest patch information based on the request information, and replaces an initial patch information cache file with the latest patch information cache file corresponding to the latest patch information if the acquisition is successful; if the acquisition fails and the application software is not repaired, the repair is performed again based on the foreground and background switching of the operable network and the application software through notification monitoring.
8. A computer storage medium having a computer program stored thereon, characterized by: the computer program when executed implementing the steps of a patch execution method of application software according to any of claims 1-7.
CN202310544061.3A 2023-05-15 2023-05-15 Patch execution method of application software and storage medium Active CN116257278B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310544061.3A CN116257278B (en) 2023-05-15 2023-05-15 Patch execution method of application software and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310544061.3A CN116257278B (en) 2023-05-15 2023-05-15 Patch execution method of application software and storage medium

Publications (2)

Publication Number Publication Date
CN116257278A CN116257278A (en) 2023-06-13
CN116257278B true CN116257278B (en) 2023-10-31

Family

ID=86682888

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310544061.3A Active CN116257278B (en) 2023-05-15 2023-05-15 Patch execution method of application software and storage medium

Country Status (1)

Country Link
CN (1) CN116257278B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942073A (en) * 2014-04-08 2014-07-23 北京奇虎科技有限公司 Method and device for realizing system hot patching
CN107391107A (en) * 2017-06-12 2017-11-24 北京明朝万达科技股份有限公司 The restorative procedure and device of a kind of application program
CN111083214A (en) * 2013-08-21 2020-04-28 腾讯科技(深圳)有限公司 Method, device, client, server and system for updating application software
CN112612502A (en) * 2020-12-23 2021-04-06 苏州三六零智能安全科技有限公司 Patch generation method, device, equipment and storage medium
CN113448611A (en) * 2021-08-31 2021-09-28 中邮消费金融有限公司 Method and system for quickly and thermally updating application program
CN114706706A (en) * 2022-04-11 2022-07-05 网易(杭州)网络有限公司 Application software repairing method and device and electronic equipment
CN115296999A (en) * 2022-09-28 2022-11-04 深圳依时货拉拉科技有限公司 Mobile terminal hot repair method, device, hot repair system and readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7703090B2 (en) * 2004-08-31 2010-04-20 Microsoft Corporation Patch un-installation

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111083214A (en) * 2013-08-21 2020-04-28 腾讯科技(深圳)有限公司 Method, device, client, server and system for updating application software
CN103942073A (en) * 2014-04-08 2014-07-23 北京奇虎科技有限公司 Method and device for realizing system hot patching
CN107391107A (en) * 2017-06-12 2017-11-24 北京明朝万达科技股份有限公司 The restorative procedure and device of a kind of application program
CN112612502A (en) * 2020-12-23 2021-04-06 苏州三六零智能安全科技有限公司 Patch generation method, device, equipment and storage medium
CN113448611A (en) * 2021-08-31 2021-09-28 中邮消费金融有限公司 Method and system for quickly and thermally updating application program
CN114706706A (en) * 2022-04-11 2022-07-05 网易(杭州)网络有限公司 Application software repairing method and device and electronic equipment
CN115296999A (en) * 2022-09-28 2022-11-04 深圳依时货拉拉科技有限公司 Mobile terminal hot repair method, device, hot repair system and readable storage medium

Also Published As

Publication number Publication date
CN116257278A (en) 2023-06-13

Similar Documents

Publication Publication Date Title
Xu et al. Early detection of configuration errors to reduce failure damage
US9996374B2 (en) Deployment and installation of updates in a virtual environment
US20150332043A1 (en) Application analysis system for electronic devices
CN105786538B (en) software upgrading method and device based on android system
CN105955782B (en) Application program operation control method and device
US7962788B2 (en) Automated treatment of system and application validation failures
KR101691245B1 (en) System and method for web service monitoring
WO2019019668A1 (en) Application startup method and device, computer apparatus, and storage medium
US20040010786A1 (en) System and method for automatically upgrading a software application
US20140137184A1 (en) Security system and method for operating systems
EP2840492A1 (en) Method and apparatus for modifying a computer program in a trusted manner
CN111090452B (en) Service environment switching method and computer readable storage medium
WO2021098354A1 (en) Method and apparatus for android penetration achieving silent installation on basis of accessibility service
CN110795128B (en) Program bug repairing method and device, storage medium and server
CN107665302B (en) Android application multi-open implementation method, mobile terminal and storage medium
CN103390130A (en) Rogue program searching and killing method and device based on cloud security as well as server
US11436131B2 (en) Systems and methods for software testing using a disposable code
US10983877B1 (en) Backup monitoring with automatic verification
US20230036357A1 (en) Method and apparatus for authority control, computer device and storage medium
US11645086B2 (en) System and method for implementing a filesystem agent management solution
CN112698846B (en) Method and system for automatically installing patches in Linux system
CN113569285A (en) Identity authentication and authorization method, device, system, equipment and storage medium
CN113760339A (en) Vulnerability repair method and device
CN108121650B (en) Method and device for testing page user interface
US20190121985A1 (en) Detecting vulnerabilities in applications during execution

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant